Release HOWTO

Test

Tests can be run via pytest:

$ uv sync --group test
$ pytest

Optionally, but recommended, is install the dev group and check for problems reported by the linters.

When preparing a release it is important to check that pyisbn works with all supported Python versions, and that the documentation for executing them is correct.

Prepare release

With the tests passing, do the following steps:

  • Update the version data in pyproject.toml

  • Update NEWS.rst with any user visible changes

  • Commit the release notes and version changes

  • Create a signed tag for the release

  • Push the changes — including the new tag — to the GitHub repository

  • Inspect the PyPI release created by pushing a new tag