Skip to content

Commit

Permalink
Improved version number updates.
Browse files Browse the repository at this point in the history
  • Loading branch information
lextm committed Sep 17, 2024
1 parent 9d0c1ae commit a9c4968
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@
# |version| and |release|, also used in various other places throughout the
# built documents.
#
# The short X.Y version.
version = "7.1"
# The full version, including alpha/beta/rc tags.
release = "7.1.3"
# The short X.Y version.
version = ".".join(release.split(".")[:2])

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion docs/source/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ multilingual capabilities, remote configuration and other features.
PySNMP implementation closely follows intricate system details and features
bringing most possible power and flexibility to its users.

Current PySNMP stable version is 7.1. It runs with Python 3.8+
Current PySNMP stable version is |version|. It runs with Python 3.8+
and is recommended for new applications as well as for migration from
older, now obsolete, PySNMP releases. All site documentation and
examples are written for the 6.0 and later versions in mind.
Expand Down
4 changes: 4 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ sphinx-polyversion = "^1.0.0"
search = "release = \"{current_version}\""
replace = "release = \"{new_version}\""

[tool.poetry_bumpversion.file."SECURITY.md"]
search = "| {current_version}"
replace = "| {new_version}"

[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
Expand Down

0 comments on commit a9c4968

Please sign in to comment.