Python helper for Semantic Versioning

Edit Package python-semver
https://github.com/python-semver/python-semver

A Python module for semantic versioning. Simplifies comparing versions.
See also http://semver.org/

Refresh
Refresh
Source Files
Filename Size Changed
python-semver.changes 0000013245 12.9 KB
python-semver.spec 0000002313 2.26 KB
semver-3.0.0~dev.2+41+g4d2df08.tar.gz 0000056475 55.2 KB
Revision 31 (latest revision is 41)
Sebastian Wagner's avatar Sebastian Wagner (sebix) committed (revision 31)
- 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
Comments 0
openSUSE Build Service is sponsored by