From fb02b3b23e9be75e21662fef3a8b0ef97ece4160 Mon Sep 17 00:00:00 2001 From: Tom Schraitle Date: Mon, 9 Oct 2023 12:50:07 +0200 Subject: [PATCH] Build 3.0.2 release of semver --- CHANGELOG.rst | 52 +++++++++++++++++++++++++++++++++++ changelog.d/432.doc.rst | 2 -- changelog.d/pr417.feature.rst | 1 - changelog.d/pr418.bugfix.rst | 5 ---- changelog.d/pr420.trivial.rst | 2 -- changelog.d/pr421.trivial.rst | 2 -- changelog.d/pr426.bugfix.rst | 2 -- changelog.d/pr431.doc.rst | 2 -- docs/usage/semver-version.rst | 2 +- src/semver/__about__.py | 2 +- 10 files changed, 54 insertions(+), 18 deletions(-) delete mode 100644 changelog.d/432.doc.rst delete mode 100644 changelog.d/pr417.feature.rst delete mode 100644 changelog.d/pr418.bugfix.rst delete mode 100644 changelog.d/pr420.trivial.rst delete mode 100644 changelog.d/pr421.trivial.rst delete mode 100644 changelog.d/pr426.bugfix.rst delete mode 100644 changelog.d/pr431.doc.rst diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a773e1f3..2281f167 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -18,6 +18,58 @@ This section covers the changes between major version 2 and version 3. .. towncrier release notes start +Version 3.0.2 +============= + +:Released: 2023-10-09 +:Maintainer: + + +Bug Fixes +--------- + +* :pr:`418`: Replace :class:`~collection.OrderedDict` with :class:`dict`. + + The dict datatype is ordered since Python 3.7. As we do not support + Python 3.6 anymore, it can be considered safe to avoid :class:`~collection.OrderedDict`. + Related to :gh:`419`. + +* :pr:`426`: Fix :meth:`~semver.version.Version.replace` method to use the derived class + of an instance instead of :class:`~semver.version.Version` class. + + + +Improved Documentation +---------------------- + +* :pr:`431`: Clarify version policy for the different semver versions (v2, v3, >v3) + and the supported Python versions. + +* :gh:`432`: Improve external doc links to Python and Pydantic. + + + +Features +-------- + +* :pr:`417`: Amend GitHub Actions to check against MacOS. + + + +Trivial/Internal Changes +------------------------ + +* :pr:`420`: Introduce :py:class:`~typing.ClassVar` for some :class:`~semver.version.Version` + class variables, mainly :data:`~semver.version.Version.NAMES` and some private. + +* :pr:`421`: Insert mypy configuration into :file:`pyproject.toml` and remove + config options from :file:`tox.ini`. + + + +---- + + Version 3.0.1 ============= diff --git a/changelog.d/432.doc.rst b/changelog.d/432.doc.rst deleted file mode 100644 index ab09b96c..00000000 --- a/changelog.d/432.doc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Improve external doc links to Python and Pydantic. - diff --git a/changelog.d/pr417.feature.rst b/changelog.d/pr417.feature.rst deleted file mode 100644 index c33a3704..00000000 --- a/changelog.d/pr417.feature.rst +++ /dev/null @@ -1 +0,0 @@ -Amend GitHub Actions to check against MacOS. diff --git a/changelog.d/pr418.bugfix.rst b/changelog.d/pr418.bugfix.rst deleted file mode 100644 index 6f037102..00000000 --- a/changelog.d/pr418.bugfix.rst +++ /dev/null @@ -1,5 +0,0 @@ -Replace :class:`~collection.OrderedDict` with :class:`dict`. - -The dict datatype is ordered since Python 3.7. As we do not support -Python 3.6 anymore, it can be considered safe to avoid :class:`~collection.OrderedDict`. -Related to :gh:`419`. diff --git a/changelog.d/pr420.trivial.rst b/changelog.d/pr420.trivial.rst deleted file mode 100644 index 234ecdbe..00000000 --- a/changelog.d/pr420.trivial.rst +++ /dev/null @@ -1,2 +0,0 @@ -Introduce :py:class:`~typing.ClassVar` for some :class:`~semver.version.Version` -class variables, mainly :data:`~semver.version.Version.NAMES` and some private. diff --git a/changelog.d/pr421.trivial.rst b/changelog.d/pr421.trivial.rst deleted file mode 100644 index b00b9e55..00000000 --- a/changelog.d/pr421.trivial.rst +++ /dev/null @@ -1,2 +0,0 @@ -Insert mypy configuration into :file:`pyproject.toml` and remove -config options from :file:`tox.ini`. diff --git a/changelog.d/pr426.bugfix.rst b/changelog.d/pr426.bugfix.rst deleted file mode 100644 index 2c2d0eac..00000000 --- a/changelog.d/pr426.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fix :meth:`~semver.version.Version.replace` method to use the derived class -of an instance instead of :class:`~semver.version.Version` class. diff --git a/changelog.d/pr431.doc.rst b/changelog.d/pr431.doc.rst deleted file mode 100644 index ad54c962..00000000 --- a/changelog.d/pr431.doc.rst +++ /dev/null @@ -1,2 +0,0 @@ -Clarify version policy for the different semver versions (v2, v3, >v3) -and the supported Python versions. diff --git a/docs/usage/semver-version.rst b/docs/usage/semver-version.rst index 0f2e2411..ac580f98 100644 --- a/docs/usage/semver-version.rst +++ b/docs/usage/semver-version.rst @@ -4,4 +4,4 @@ Getting the Version of semver To know the version of semver itself, use the following construct:: >>> semver.__version__ - '3.0.1' + '3.0.2' diff --git a/src/semver/__about__.py b/src/semver/__about__.py index 2eff8c86..a0d9cf90 100644 --- a/src/semver/__about__.py +++ b/src/semver/__about__.py @@ -16,7 +16,7 @@ """ #: Semver version -__version__ = "3.0.1" +__version__ = "3.0.2" #: Original semver author __author__ = "Kostiantyn Rybnikov" pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy