14
0
forked from pool/python-semver

- 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`.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-semver?expand=0&rev=36
This commit is contained in:
Sebastian Wagner
2023-05-06 17:18:09 +00:00
committed by Git OBS Bridge
parent 362f2ba7d4
commit 8e06e2145b
2 changed files with 53 additions and 1 deletions

View File

@@ -18,7 +18,7 @@
%bcond_without test
Name: python-semver
Version: 3.0.0~dev.4
Version: 3.0.0
Release: 0
Summary: Python helper for Semantic Versioning
License: BSD-3-Clause