Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 547 Bytes

File metadata and controls

26 lines (17 loc) · 547 Bytes

upgrade-python-package

Small script for updating a python package (and its dependencies) and running post-install commands.

Development

Install in editable mode with test dependencies:

uv pip install -e ".[test]"

Run tests:

pytest upgrade/tests

Run lint (optional):

flake8

(Flake8 configuration lives in pyproject.toml and is loaded via flake8-pyproject.)

Note: the upgrade scripts prefer uv pip for install/uninstall operations when uv is available, and fall back to python -m pip otherwise.