| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: python311-semver | Distribution: openSUSE Tumbleweed |
| Version: 3.0.4 | Vendor: openSUSE |
| Release: 2.1 | Build date: Mon Aug 25 13:39:05 2025 |
| Group: Development/Languages/Python | Build host: reproducible |
| Size: 118055 | Source RPM: python-semver-3.0.4-2.1.src.rpm |
| Packager: http://bugs.opensuse.org | |
| Url: https://github.com/python-semver/python-semver | |
| Summary: Python helper for Semantic Versioning | |
A Python module for semantic versioning. Simplifies comparing versions. See also http://semver.org/
BSD-3-Clause
* Mon Aug 25 2025 Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems
* Sat Jan 25 2025 Sebastian Wagner <sebix@sebix.at>
- update to version 3.0.4:
- Bug Fixes:
- Fix 3.0.3:
* Re-enable Trove license identifier
* Fix source dist file
* Sat Jan 18 2025 Sebastian Wagner <sebix@sebix.at>
- update to version 3.0.3:
- Bug Fixes:
- :pr:`453`: The check in ``_comparator`` does not match the check in :meth:`Version.compare`.
This breaks comparision with subclasses.
- Improved Documentation:
- :pr:`435`: Several small improvements for documentation:
* Add meta description to improve SEO
* Use canonicals on ReadTheDocs (commit 87f639f)
* Pin versions for reproducable doc builds (commit 03fb990)
* Add missing :file:`.readthedocs.yaml` file (commit ec9348a)
* Correct some smaller issues when building (commit f65feab)
- :pr:`436`: Move search box more at the top. This makes it easier for
users as if the TOC is long, the search box isn't visible
anymore.
- Features:
- :pr:`439`: Improve type hints to fix TODOs
- Internal Changes:
- :pr:`447`: Modernize project configs with :file:`pyproject.toml` and
use Astral's uv command.
* In :file:`pyproject.toml`:
* Move all project related data from :file:`setup.cfg` to :file:`pyproject.toml`
* Use new dependency group from :pep:`735`
* Consolidate flake8, isort, pycodestyle with ruff
* Split towncrier config type "trivial" into "trivial" and "internal"
* Create config file for ruff (:file:`.ruff.toml`)
* Create config file for pytest (:file:`.pytest.ini`)
* Document installation with new :command:`uv` command
- Trivial Changes:
- :pr:`445`: Improve private :func:`_nat_cmp` method:
* Remove obsolete else.
* Find a better way to identify digits without the :mod:`re` module.
* Fix docstring in :meth:`Version.compare`
* Fri Dec 08 2023 Dirk Müller <dmueller@suse.com>
- update to 3.0.2:
* :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`.
* :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.
* :pr:`417`: Amend GitHub Actions to check against MacOS.
* Wed Jun 21 2023 Sebastian Wagner <sebix@sebix.at>
- remove obsolete setup-remove-asterisk.patch
- update to version 3.0.1:
- Remove incorrect dependencies from build-system section of pyproject.toml by @mgorny in #405
- correct typo in function description of next_version by @treee111 in #406
- Improve GitHub Action by @tomschr in #408
- Add CITATION.cff for citation by @tomschr in #409
- Add Version class to __all__ export. Fix #410 by @Soneji in #411
- Configure docformatter by @tomschr in #412
- Prepare version 3.0.1 by @tomschr in #413
* Sat May 06 2023 Sebastian Wagner <sebix@sebix.at>
- update to version 3.0.0:
- Bugfixes
- :gh:`291`: Disallow negative numbers in VersionInfo arguments
for ``major``, ``minor``, and ``patch``.
* :gh:`310`: Rework API documentation.
Follow a more "semi-manual" attempt and add auto directives
into :file:`docs/api.rst`.
* :gh:`344`: Allow empty string, a string with a prefix, or ``None``
as token in
:meth:`~semver.version.Version.bump_build` and
:meth:`~semver.version.Version.bump_prerelease`.
* :pr:`384`: General cleanup, reformat files:
* Reformat source code with black again as some config options
did accidentely exclude the semver source code.
Mostly remove some includes/excludes in the black config.
* Integrate concurrency in GH Action
* Ignore Python files on project dirs in .gitignore
* Remove unused patterns in MANIFEST.in
* Use ``extend-exclude`` for flake in :file:`setup.cfg`` and adapt list.
* Use ``skip_install=True`` in :file:`tox.ini` for black
* :pr:`393`: Fix command :command:`python -m semver` to avoid the error "invalid choice"
* :pr:`396`: Calling :meth:`~semver.version.Version.parse` on a derived class will show correct type of derived class.
- Deprecations
* :gh:`169`: Deprecate CLI functions not imported from ``semver.cli``.
* :gh:`234`: In :file:`setup.py` simplified file and remove
``Tox`` and ``Clean`` classes
* :gh:`284`: Deprecate the use of :meth:`~Version.isvalid`.
Rename :meth:`~semver.version.Version.isvalid`
to :meth:`~semver.version.Version.is_valid`
for consistency reasons with :meth:`~semver.version.Version.is_compatible`.
* :pr:`402`: Keep :func:`semver.compare <semver._deprecated.compare>`.
Although it breaks consistency with module level functions, it seems it's
a much needed/used function. It's still unclear if we should deprecate
this function or not (that's why we use :py:exc:`PendingDeprecationWarning`).
As we don't have a uniform initializer yet, this function stays in the
:file:`_deprecated.py` file for the time being until we find a better solution. See :gh:`258` for details.
- Features
* Remove :file:`semver.py`
* Create :file:`src/semver/__init__.py`
* Create :file:`src/semver/cli.py` for all CLI methods
* Create :file:`src/semver/_deprecated.py` for the ``deprecated`` decorator and other deprecated functions
* Create :file:`src/semver/__main__.py` to allow calling the CLI using :command:`python -m semver`
* Create :file:`src/semver/_types.py` to hold type aliases
* Create :file:`src/semver/version.py` to hold the :class:`Version` class (old name :class:`VersionInfo`) and its utility functions
* Create :file:`src/semver/__about__.py` for all the metadata variables
* :gh:`213`: Add typing information
* :gh:`284`: Implement :meth:`~semver.version.Version.is_compatible` to make "is self compatible with X".
* :gh:`305`: Rename :class:`~semver.version.VersionInfo` to :class:`~semver.version.Version` but keep an alias for compatibility
* Sat Mar 11 2023 Sebastian Wagner <sebix@sebix.at>
- add setup-remove-asterisk.patch to fix build error
- update to version 3.0.0-dev.4:
- Bug Fixes:
- :gh:`374`: Correct Towncrier's config entries in the :file:`pyproject.toml` file.
The old entries ``[[tool.towncrier.type]]`` are deprecated and need
to be replaced by ``[tool.towncrier.fragment.<TYPE>]``.
- Deprecations:
- :gh:`372`: Deprecate support for Python 3.6.
Python 3.6 reached its end of life and isn't supported anymore.
At the time of writing (Dec 2022), the lowest version is 3.7.
Although the `poll <https://github.com/python-semver/python-semver/discussions/371>`_
didn't cast many votes, the majority agree to remove support for
Python 3.6.
- Improved Documentation:
- :gh:`335`: Add new section "Converting versions between PyPI and semver" the limitations
and possible use cases to convert from one into the other versioning scheme.
- :gh:`340`: Describe how to get version from a file
- :gh:`343`: Describe combining Pydantic with semver in the "Advanced topic"
section.
- :gh:`350`: Restructure usage section. Create subdirectory "usage/" and splitted
all section into different files.
- :gh:`351`: Introduce new topics for:
* "Migration to semver3"
* "Advanced topics"
- Features:
- :pr:`359`: Add optional parameter ``optional_minor_and_patch`` in :meth:`.Version.parse` to allow optional
minor and patch parts.
- :pr:`362`: Make :meth:`.Version.match` accept a bare version string as match expression, defaulting to
equality testing.
- :gh:`364`: Enhance :file:`pyproject.toml` to make it possible to use the
:command:`pyproject-build` command from the build module.
For more information, see :ref:`build-semver`.
- :gh:`365`: Improve :file:`pyproject.toml`.
* Use setuptools, add metadata. Taken approach from
`A Practical Guide to Setuptools and Pyproject.toml
<https://godatadriven.com/blog/a-practical-guide-to-setuptools-and-pyproject-toml/>`_.
* Doc: Describe building of semver
* Remove :file:`.travis.yml` in :file:`MANIFEST.in`
(not needed anymore)
* Distinguish between Python 3.6 and others in :file:`tox.ini`
* Add skip_missing_interpreters option for :file:`tox.ini`
* GH Action: Upgrade setuptools and setuptools-scm and test
against 3.11.0-rc.2
- Trivial/Internal Changes:
- :gh:`378`: Fix some typos in Towncrier configuration
* Mon Oct 10 2022 Dirk Müller <dmueller@suse.com>
- switch to the tagged version rather than a gh branch tarball
* Mon Jan 10 2022 Sebastian Wagner <sebix+novell.com@sebix.at>
- fix support for Python 3.10 with update to development version:
- update to revision g4d2df08:
- Changes for the upcoming release can be found in:
- the `"changelog.d" directory <https://github.com/python-semver/python-semver/tree/master/changelog.d>`_:
- in our repository.:
- update to version 3.0.0-dev.2:
- Deprecations:
- :gh:`169`: Deprecate CLI functions not imported from ``semver.cli``.
- Features:
- :gh:`169`: Create semver package and split code among different modules in the packages.
* Remove :file:`semver.py`
* Create :file:`src/semver/__init__.py`
* Create :file:`src/semver/cli.py` for all CLI methods
* Create :file:`src/semver/_deprecated.py` for the ``deprecated`` decorator and other deprecated functions
* Create :file:`src/semver/__main__.py` to allow calling the CLI using :command:`python -m semver`
* Create :file:`src/semver/_types.py` to hold type aliases
* Create :file:`src/semver/version.py` to hold the :class:`Version` class (old name :class:`VersionInfo`) and its utility functions
* Create :file:`src/semver/__about__.py` for all the metadata variables
- :gh:`305`: Rename :class:`VersionInfo` to :class:`Version` but keep an alias for compatibility
- Improved Documentation:
- :gh:`304`: Several improvements in documentation:
* Reorganize API documentation.
* Add migration chapter from semver2 to semver3.
* Distinguish between changlog for version 2 and 3
- :gh:`305`: Add note about :class:`Version` rename.
- Trivial/Internal Changes:
- :gh:`169`: Adapted infrastructure code to the new project layout.
* Replace :file:`setup.py` with :file:`setup.cfg` because the :file:`setup.cfg` is easier to use
* Adapt documentation code snippets where needed
* Adapt tests
* Changed the ``deprecated`` to hardcode the ``semver`` package name in the warning.
Increase coverage to 100% for all non-deprecated APIs
- :gh:`304`: Support PEP-561 :file:`py.typed`.
According to the mentioned PEP:
"Package maintainers who wish to support type checking
of their code MUST add a marker file named :file:`py.typed`
to their package supporting typing."
Add package_data to :file:`setup.cfg` to include this marker in dist
and whl file.
- update to version 3.0.0-dev.1:
- Deprecations:
- :pr:`290`: For semver 3.0.0-alpha0:
* Remove anything related to Python2
* In :file:`tox.ini` and :file:`.travis.yml`
Remove targets py27, py34, py35, and pypy.
Add py38, py39, and nightly (allow to fail)
* In :file:`setup.py` simplified file and remove
``Tox`` and ``Clean`` classes
* Remove old Python versions (2.7, 3.4, 3.5, and pypy)
from Travis
- :gh:`234`: In :file:`setup.py` simplified file and remove
``Tox`` and ``Clean`` classes
- Features:
- :pr:`290`: Create semver 3.0.0-alpha0
* Update :file:`README.rst`, mention maintenance
branch ``maint/v2``.
* Remove old code mainly used for Python2 compatibility,
adjusted code to support Python3 features.
* Split test suite into separate files under :file:`tests/`
directory
* Adjust and update :file:`setup.py`. Requires Python >=3.6.*
Extract metadata directly from source (affects all the ``__version__``,
``__author__`` etc. variables)
- :gh:`270`: Configure Towncrier (:pr:`273`:)
* Add :file:`changelog.d/.gitignore` to keep this directory
* Create :file:`changelog.d/README.rst` with some descriptions
* Add :file:`changelog.d/_template.rst` as Towncrier template
* Add ``[tool.towncrier]`` section in :file:`pyproject.toml`
* Add "changelog" target into :file:`tox.ini`. Use it like
:command:`tox -e changelog -- CMD` whereas ``CMD`` is a
Towncrier command. The default :command:`tox -e changelog`
calls Towncrier to create a draft of the changelog file
and output it to stdout.
* Update documentation and add include a new section
"Changelog" included from :file:`changelog.d/README.rst`.
- :gh:`276`: Document how to create a sublass from :class:`VersionInfo` class
- :gh:`213`: Add typing information
- Bug Fixes:
- :gh:`291`: Disallow negative numbers in VersionInfo arguments
for ``major``, ``minor``, and ``patch``.
- Improved Documentation:
- :pr:`290`: Several improvements in the documentation:
* New layout to distinguish from the semver2 development line.
* Create new logo.
* Remove any occurances of Python2.
* Describe changelog process with Towncrier.
* Update the release process.
- Trivial/Internal Changes:
- :pr:`290`: Add supported Python versions to :command:`black`.
* Wed Jan 13 2021 John Vandenberg <jayvdb@gmail.com>
- Remove build dependency on pytest-cov, fixing Leap builds
/usr/bin/pysemver /usr/bin/pysemver-3.11 /usr/lib/python3.11/site-packages/semver /usr/lib/python3.11/site-packages/semver-3.0.4.dist-info /usr/lib/python3.11/site-packages/semver-3.0.4.dist-info/INSTALLER /usr/lib/python3.11/site-packages/semver-3.0.4.dist-info/METADATA /usr/lib/python3.11/site-packages/semver-3.0.4.dist-info/RECORD /usr/lib/python3.11/site-packages/semver-3.0.4.dist-info/REQUESTED /usr/lib/python3.11/site-packages/semver-3.0.4.dist-info/WHEEL /usr/lib/python3.11/site-packages/semver-3.0.4.dist-info/entry_points.txt /usr/lib/python3.11/site-packages/semver-3.0.4.dist-info/licenses /usr/lib/python3.11/site-packages/semver-3.0.4.dist-info/licenses/LICENSE.txt /usr/lib/python3.11/site-packages/semver-3.0.4.dist-info/top_level.txt /usr/lib/python3.11/site-packages/semver/__about__.py /usr/lib/python3.11/site-packages/semver/__init__.py /usr/lib/python3.11/site-packages/semver/__main__.py /usr/lib/python3.11/site-packages/semver/__pycache__ /usr/lib/python3.11/site-packages/semver/__pycache__/__about__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/semver/__pycache__/__about__.cpython-311.pyc /usr/lib/python3.11/site-packages/semver/__pycache__/__init__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/semver/__pycache__/__init__.cpython-311.pyc /usr/lib/python3.11/site-packages/semver/__pycache__/__main__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/semver/__pycache__/__main__.cpython-311.pyc /usr/lib/python3.11/site-packages/semver/__pycache__/_deprecated.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/semver/__pycache__/_deprecated.cpython-311.pyc /usr/lib/python3.11/site-packages/semver/__pycache__/_types.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/semver/__pycache__/_types.cpython-311.pyc /usr/lib/python3.11/site-packages/semver/__pycache__/cli.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/semver/__pycache__/cli.cpython-311.pyc /usr/lib/python3.11/site-packages/semver/__pycache__/version.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/semver/__pycache__/version.cpython-311.pyc /usr/lib/python3.11/site-packages/semver/_deprecated.py /usr/lib/python3.11/site-packages/semver/_types.py /usr/lib/python3.11/site-packages/semver/cli.py /usr/lib/python3.11/site-packages/semver/py.typed /usr/lib/python3.11/site-packages/semver/version.py /usr/share/doc/packages/python311-semver /usr/share/doc/packages/python311-semver/README.rst /usr/share/libalternatives/pysemver /usr/share/libalternatives/pysemver/311.conf
Generated by rpm2html 1.8.1
Fabrice Bellet, Fri Oct 24 22:55:55 2025