You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Add nx upgrade to move a project to a newer Nexy release #730
Generated projects declare nexy>=X.Y.Z in pyproject.toml
(nexy/modules/cli/templates/_shared/web/pyproject.toml.jinja2:6 and the api variant). There is no
CLI command to move a project to a newer Nexy release: nx info reports the installed version, but
the developer has to edit the dependency and run the package manager by hand.
Change to make
Add nx upgrade for the framework. It reads the installed version, queries PyPI for the newest
stable release, prints the current and target versions, updates the nexy>= floor in pyproject.toml, then installs through the project's detected package manager. Add --check to
only report what would change and --dry-run to print without writing. Pre-release versions are
ignored unless asked for explicitly, and the command never downgrades.
Out of scope
Module updates (nx update), the LTS channel (nx lts upgrade) and Python version constraints.
Checks
Tests use a stubbed PyPI response and a temporary project, and cover the upgrade, an already current
project, a pre-release, a downgrade attempt and both flags. The command appears in the CLI overview
and help. docs/reference/cli.md describes it, with translations regenerated.
Activity