poetry init
poetry add --group dev pre-commit=2.21.0
poetry run pre-commit install
pyenv local 3.11
poetry env use 3.11
poetry env info --path
poetry env list
-
Bump the version
poetry lock poetry version patch
-
Edit
CHANGES.rst
-
Edit
docs/poly.py
if the new version tag needs to be added to the list. -
Modify nginx rule to route traffic to the latest version.
-
Update Roadmap in
ROADMAP.md
.
Build current version documentation to find and fix issues:
poetry run make html -C docs
Build multiple versions documentation for deployment:
poetry run sphinx-polyversion docs/poly.py
netstat -anp udp | grep 1611
poetry run pytest --cov=pysnmp --cov-report=xml:coverage.xml