Notes for Maintainers¶
This section clarifies how to maintain the project.
Update Dependencies¶
-
Enter your virtual environment. E.g.
source .tox/py311/bin/activate
-
Install all dependencies:
pip install --upgrade -r requirements.in -r test-requirements.in -r docs-requirements.in pip-tools
-
Fix the dependencies:
rm *requirements.txt pip-compile --output-file=requirements.txt requirements.in pip-compile --output-file=test-requirements.txt test-requirements.in pip-compile --output-file=docs-requirements.txt docs-requirements.in
-
Create a branch, commit:
git branch -d update git checkout -b update git add *requirements.txt git commit -m"Update dependencies" git push -u origin update
-
Create a Pull Request and see if the tests run.
Release a new Version¶
To release a new version:
-
Edit the
docs/changelog.md
file in the Changelog Section and add the changes.git add docs/changelog.md git commit -m"log changes" git push
-
Create a tag for the version.
git tag v1.30 git push origin v1.30
-
Notify issues and pull requests about the release.