TODO: Provide a complete README.
Enter the Nix shell:
nix-shellRun the test suite:
python -m noxNote: Since we are under Nix shell,
noxcommand will attempt to use its own Python interpreter pinned duringnoxinstallation. We want our own interpreter to be used duringnoxchecks.
Alternatively:
nix-shell --argstr python python39 --run "python -m nox"
nix-shell --argstr python python310 --run "python -m nox"
nix-shell --argstr python python311 --run "python -m nox"Note: Python 3.9 test are not added to GitHub Actions test workflow. It takes very long to setup the Nix shell as Python 3.9 packages are no longer fetched from the cache.
Building a package and uploading it to PyPI is handled by the GitHub Action upon successful GitHub Release (using Release Please Action).
However, in the event of emergency, you can still manually build a package and upload it to PyPI:
rm -Rf dist/
python -m build
twine check dist/*
twine upload -s dist/*