Skip to content

Latest commit

 

History

History
61 lines (41 loc) · 968 Bytes

Development.md

File metadata and controls

61 lines (41 loc) · 968 Bytes

Commands for Development

Initialize Poetry

poetry init
poetry add --group dev pre-commit=2.21.0
poetry run pre-commit install

Change Poetry Venv Python Version

pyenv local 3.11
poetry env use 3.11
poetry env info --path
poetry env list

Bump Version Number

  1. Bump the version

    poetry lock
    poetry version patch
  2. Edit CHANGES.rst

  3. Edit docs/poly.py if the new version tag needs to be added to the list.

  4. Modify nginx rule to route traffic to the latest version.

  5. Update Roadmap in ROADMAP.md.

Build Documentation

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

Check Port number

netstat -anp udp | grep 1611

Test Coverage

poetry run pytest --cov=pysnmp --cov-report=xml:coverage.xml