dependencies module#

Upgrade declared dependencies to the highest allowed (based on pyproject.toml specifiers) without uninstalling anything.

Usage:

python -m jitx dependencies # check for updates (no changes) python -m jitx dependencies –upgrade # upgrade to latest allowed python -m jitx dependencies –no-dependency-check # do neither

For use in other code:

from jitx.run.dependencies import sync_venv sync_venv() # will default to check mode with no prereleases

sync_venv(*, mode='check', allow_prereleases=False, include_optional_groups=None, editable_install=False)[source]#
Return type:

None

Parameters:
  • check -> dry-run and list dependencies that would update (respects cooldown).

  • update -> apply the updates.