Skip to content

pyvelm v0.2.2

Release date: 2026-05-22
Base module: 0.18.0 (unchanged)

Patch release: pyvelm init Docker projects now pick up new modules from pyvelm new without rebuilding the image.


Highlights

Docker: modules visible after pyvelm new

The generated docker-compose.yml now:

  • Bind-mounts ./app/modules into both app and cron
  • Sets PYVELM_MODULE_ROOTS on the web service (not only cron)

Workflow:

pyvelm new my_module
docker compose restart app
# → /web/apps → Install

Modules must live under app/modules/<name>/, each with a __pyvelm__.py manifest.

serve.py scaffold

_collect_module_roots() honours PYVELM_MODULE_ROOTS in addition to the default app/modules/ directory.


Install

pip install pyvelm==0.2.2

Upgrade from v0.2.1

  1. pip install -U pyvelm==0.2.2
  2. If you use an older pyvelm init project, merge the volume mount from the updated scaffold (see deployment):
# under services.app (and cron):
environment:
  PYVELM_MODULE_ROOTS: "/app/app/modules"
volumes:
  - ./app/modules:/app/app/modules:ro

No database migrations required.


Full diff: v0.2.1…v0.2.2