Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-parver for openSUSE:Factory checked in at 2023-12-21 23:38:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-parver (Old) and /work/SRC/openSUSE:Factory/.python-parver.new.1840 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-parver" Thu Dec 21 23:38:25 2023 rev:6 rq:1134331 version:0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/python-parver/python-parver.changes 2023-03-21 17:42:57.926242758 +0100 +++ /work/SRC/openSUSE:Factory/.python-parver.new.1840/python-parver.changes 2023-12-21 23:38:38.950615911 +0100 @@ -1,0 +2,7 @@ +Wed Dec 20 21:41:40 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 0.5: + * Added support for Python 3.12 + * Removed support for Python 3.7 + +------------------------------------------------------------------- Old: ---- parver-0.4.tar.gz New: ---- parver-0.5.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-parver.spec ++++++ --- /var/tmp/diff_new_pack.tMJwkn/_old 2023-12-21 23:38:39.706643482 +0100 +++ /var/tmp/diff_new_pack.tMJwkn/_new 2023-12-21 23:38:39.710643627 +0100 @@ -17,13 +17,14 @@ Name: python-parver -Version: 0.4 +Version: 0.5 Release: 0 Summary: Module to parse and manipulate version numbers License: MIT Group: Development/Languages/Python URL: https://github.com/RazerM/parver Source: https://files.pythonhosted.org/packages/source/p/parver/parver-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} ++++++ parver-0.4.tar.gz -> parver-0.5.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parver-0.4/CHANGELOG.rst new/parver-0.5/CHANGELOG.rst --- old/parver-0.4/CHANGELOG.rst 1970-01-01 01:00:00.000000000 +0100 +++ new/parver-0.5/CHANGELOG.rst 2023-10-03 23:06:22.000000000 +0200 @@ -0,0 +1,159 @@ +Changelog +========= + +0.5 (2023-10-03) +---------------- + +Added +~~~~~ + +- Support for Python 3.12 + +Removed +~~~~~~~ + +- Support for Python 3.7 + + +0.4 (2022-11-11) +---------------- + +Added +~~~~~ + +- Type hints. + +Removed +~~~~~~~ + +- Support for Python 2.7, 3.5, and 3.6. +- ``__version__``, ``__author__``, and ``__email__`` attributes from `parver` module. Use :mod:`importlib.metadata` instead. + + +0.3.1 (2020-09-28) +------------------ + +Added +~~~~~ + +- Grammar is parsed when first used to improve import time. + +Fixed +~~~~~ + +- attrs deprecation warning. The minimum attrs version is now 19.2 +- Errors raised for keyword-only argument errors on Python 3 did not + have the right error message. + + +0.3 (2020-02-20) +---------------- + +Added +~~~~~ + +- ``Version.truncate`` method to remove trailing zeros from the release + segment. +- ``Version`` now validates each item in the release sequence. +- ``Version.bump_epoch`` method. +- Add ``by`` keyword argument to ``bump_pre``, ``bump_post``, and + ``bump_dev`` methods, which e.g. ``.bump_dev(by=-1)``. + +Changed +~~~~~~~ + +- **BREAKING CHANGE**. The ``Version`` constructor now uses an empty + string to represent an implicit zero instead of ``None``. + + .. code:: python + + >>> Version(release=1, post='') + <Version '1.post'> + +Removed +~~~~~~~ + +- **BREAKING CHANGE**. ``Version.clear`` is no longer necessary. Use + ``Version.replace(pre=None, post=None, dev=None)`` instead. + + +Fixed +~~~~~ + +- ``Version`` incorrectly allowed an empty release sequence. +- ``Version`` rejects ``bool`` for numeric components. +- ``Version`` rejects negative integers for numeric components. +- The strict parser no longer accepts local versions with ``-`` or + ``_`` separators, or uppercase letters. +- The strict parser no longer accepts numbers with leading zeros. +- The local version was only being converted to lowercase when parsing + with ``strict=False``. It is now always converted. +- The local version separators were not being normalized to use ``.``. + + +0.2.1 (2018-12-31) +------------------ + +Fixed +~~~~~ + +- On Python 2, ``Version`` was incorrectly rejecting ``long`` integer + values. + + +0.2 (2018-11-21) +---------------- + +Added +~~~~~ + +- ``Version.bump_release_to`` method for control over the value to bump + to, e.g. for `CalVer`_. +- ``Version.set_release`` method for finer control over release values + without resetting subsequent indices to zero. + +.. _CalVer: https://calver.org + + +Changed +~~~~~~~ + +- **BREAKING CHANGE**. The argument to ``Version.bump_release`` is now + a keyword only argument, e.g. ``Version.bump_release(index=0)``. +- The ``release`` parameter to ``Version`` now accepts any iterable. + + +Fixed +~~~~~ + +- Deprecation warnings about invalid escape sequences in ``_parse.py``. + + +0.1.1 (2018-06-19) +------------------ + +Fixed +~~~~~ + +- ``Version`` accepted ``pre=None`` and ``post_tag=None``, which + produces an ambiguous version number. This is because an implicit + pre-release number combined with an implicit post-release looks like + a pre-release with a custom separator: + + .. code:: python + + >>> Version(release=1, pre_tag='a', pre=None, post_tag=None, post=2) + <Version '1a-2'> + >>> Version(release=1, pre_tag='a', pre_sep2='-', pre=2) + <Version '1a-2'> + + The first form now raises a ``ValueError``. + +- Donât allow ``post=None`` when ``post_tag=None``. Implicit post + releases cannot have implicit post release numbers. + + +0.1 (2018-05-20) +---------------- + +First release. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parver-0.4/MANIFEST.in new/parver-0.5/MANIFEST.in --- old/parver-0.4/MANIFEST.in 2022-11-11 22:29:27.000000000 +0100 +++ new/parver-0.5/MANIFEST.in 2023-10-03 23:06:22.000000000 +0200 @@ -1,5 +1,4 @@ -include .coveragerc -include CHANGELOG.md +include CHANGELOG.rst include LICENSE include tox.ini recursive-include tests *.py diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parver-0.4/PKG-INFO new/parver-0.5/PKG-INFO --- old/parver-0.4/PKG-INFO 2022-11-11 22:29:44.245704700 +0100 +++ new/parver-0.5/PKG-INFO 2023-10-03 23:06:42.071129000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: parver -Version: 0.4 +Version: 0.5 Summary: Parse and manipulate version numbers. Author-email: Frazer McLean <fra...@frazermclean.co.uk> License: MIT @@ -11,20 +11,31 @@ Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python :: 3 :: Only -Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy -Requires-Python: >=3.7 +Requires-Python: >=3.8 Description-Content-Type: text/x-rst +License-File: LICENSE +Requires-Dist: arpeggio>=1.7 +Requires-Dist: attrs>=19.2 +Requires-Dist: typing-extensions; python_version < "3.10" Provides-Extra: test +Requires-Dist: pytest; extra == "test" +Requires-Dist: hypothesis; extra == "test" +Requires-Dist: pretend; extra == "test" Provides-Extra: docs +Requires-Dist: sphinx; extra == "docs" +Requires-Dist: furo; extra == "docs" Provides-Extra: docstest +Requires-Dist: doc8; extra == "docstest" Provides-Extra: pep8test -License-File: LICENSE +Requires-Dist: flake8; extra == "pep8test" +Requires-Dist: pep8-naming; extra == "pep8test" .. image:: https://img.shields.io/pypi/v/parver.svg :target: https://pypi.org/project/parver/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parver-0.4/docs/conf.py new/parver-0.5/docs/conf.py --- old/parver-0.4/docs/conf.py 2022-11-11 22:29:27.000000000 +0100 +++ new/parver-0.5/docs/conf.py 2023-10-03 23:06:22.000000000 +0200 @@ -9,7 +9,7 @@ # https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information project = "parver" -copyrightx = "2018, Frazer McLean" +copyright = "2018, Frazer McLean" author = "Frazer McLean" release = distribution("parver").version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parver-0.4/pyproject.toml new/parver-0.5/pyproject.toml --- old/parver-0.4/pyproject.toml 2022-11-11 22:29:27.000000000 +0100 +++ new/parver-0.5/pyproject.toml 2023-10-03 23:06:22.000000000 +0200 @@ -1,13 +1,13 @@ [build-system] -requires = ["setuptools>=64", "wheel"] +requires = ["setuptools>=64"] build-backend = "setuptools.build_meta" [project] name = "parver" -version = "0.4" +version = "0.5" description = "Parse and manipulate version numbers." readme = "README.rst" -requires-python = ">=3.7" +requires-python = ">=3.8" license = { text = "MIT" } authors = [ { name = "Frazer McLean", email = "fra...@frazermclean.co.uk" }, @@ -18,11 +18,11 @@ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3 :: Only", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", ] @@ -42,6 +42,12 @@ Documentation = "https://parver.readthedocs.io" "Source Code" = "https://github.com/RazerM/parver" +[tool.setuptools] +package-dir = { "" = "src" } + +[tool.setuptools.packages.find] +where = ["src"] + [tool.coverage.run] branch = true source = ["parver", "tests/"] @@ -66,7 +72,6 @@ disallow_incomplete_defs = true check_untyped_defs = true disallow_untyped_decorators = true -no_implicit_optional = true warn_unused_ignores = true warn_return_any = true no_implicit_reexport = true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parver-0.4/setup.cfg new/parver-0.5/setup.cfg --- old/parver-0.4/setup.cfg 2022-11-11 22:29:44.245704700 +0100 +++ new/parver-0.5/setup.cfg 2023-10-03 23:06:42.071129000 +0200 @@ -1,15 +1,3 @@ -[options] -packages = find: -package_dir = - =src - -[options.packages.find] -where = src - -[flake8] -extend-ignore = E203 -max-line-length = 90 - [egg_info] tag_build = tag_date = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parver-0.4/src/parver/_typing.py new/parver-0.5/src/parver/_typing.py --- old/parver-0.4/src/parver/_typing.py 2022-11-11 22:29:27.000000000 +0100 +++ new/parver-0.5/src/parver/_typing.py 2023-10-03 23:06:22.000000000 +0200 @@ -1,13 +1,8 @@ import sys -from typing import Union +from typing import Literal, Union from arpeggio import NonTerminal, Terminal -if sys.version_info >= (3, 8): - from typing import Literal -else: - from typing_extensions import Literal - if sys.version_info >= (3, 10): from typing import TypeAlias else: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parver-0.4/src/parver/_version.py new/parver-0.5/src/parver/_version.py --- old/parver-0.4/src/parver/_version.py 2022-11-11 22:29:27.000000000 +0100 +++ new/parver-0.5/src/parver/_version.py 2023-10-03 23:06:22.000000000 +0200 @@ -52,7 +52,7 @@ if value == IMPLICIT_ZERO: return - validator(inst, attr, value) # type: ignore[operator] + validator(inst, attr, value) return validate diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parver-0.4/src/parver.egg-info/PKG-INFO new/parver-0.5/src/parver.egg-info/PKG-INFO --- old/parver-0.4/src/parver.egg-info/PKG-INFO 2022-11-11 22:29:44.000000000 +0100 +++ new/parver-0.5/src/parver.egg-info/PKG-INFO 2023-10-03 23:06:42.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: parver -Version: 0.4 +Version: 0.5 Summary: Parse and manipulate version numbers. Author-email: Frazer McLean <fra...@frazermclean.co.uk> License: MIT @@ -11,20 +11,31 @@ Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: MIT License Classifier: Programming Language :: Python :: 3 :: Only -Classifier: Programming Language :: Python :: 3.7 Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy -Requires-Python: >=3.7 +Requires-Python: >=3.8 Description-Content-Type: text/x-rst +License-File: LICENSE +Requires-Dist: arpeggio>=1.7 +Requires-Dist: attrs>=19.2 +Requires-Dist: typing-extensions; python_version < "3.10" Provides-Extra: test +Requires-Dist: pytest; extra == "test" +Requires-Dist: hypothesis; extra == "test" +Requires-Dist: pretend; extra == "test" Provides-Extra: docs +Requires-Dist: sphinx; extra == "docs" +Requires-Dist: furo; extra == "docs" Provides-Extra: docstest +Requires-Dist: doc8; extra == "docstest" Provides-Extra: pep8test -License-File: LICENSE +Requires-Dist: flake8; extra == "pep8test" +Requires-Dist: pep8-naming; extra == "pep8test" .. image:: https://img.shields.io/pypi/v/parver.svg :target: https://pypi.org/project/parver/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parver-0.4/src/parver.egg-info/SOURCES.txt new/parver-0.5/src/parver.egg-info/SOURCES.txt --- old/parver-0.4/src/parver.egg-info/SOURCES.txt 2022-11-11 22:29:44.000000000 +0100 +++ new/parver-0.5/src/parver.egg-info/SOURCES.txt 2023-10-03 23:06:42.000000000 +0200 @@ -1,8 +1,8 @@ +CHANGELOG.rst LICENSE MANIFEST.in README.rst pyproject.toml -setup.cfg tox.ini docs/api.rst docs/changelog.rst diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parver-0.4/tests/strategies.py new/parver-0.5/tests/strategies.py --- old/parver-0.4/tests/strategies.py 2022-11-11 22:29:27.000000000 +0100 +++ new/parver-0.5/tests/strategies.py 2023-10-03 23:06:22.000000000 +0200 @@ -25,7 +25,7 @@ def release(draw): return draw( num_str.map(lambda s: [s] + draw(lists(num_str.map(lambda s: "." + s)))).map( - lambda l: "".join(l) + lambda parts: "".join(parts) ) ) @@ -131,7 +131,7 @@ part = local_segment() sep_part = sep.map(lambda s: s + draw(local_segment())) - sep_parts = lists(sep_part).map(lambda l: "".join(l)) + sep_parts = lists(sep_part).map(lambda parts: "".join(parts)) return draw(one_of(just(""), part.map(lambda s: "+" + s + draw(sep_parts)))) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/parver-0.4/tox.ini new/parver-0.5/tox.ini --- old/parver-0.4/tox.ini 2022-11-11 22:29:27.000000000 +0100 +++ new/parver-0.5/tox.ini 2023-10-03 23:06:22.000000000 +0200 @@ -1,6 +1,6 @@ [tox] minversion = 3.3 -envlist = py37,py38,py39,py310,py311,pep8,py3pep8,docs,typing +envlist = py37,py38,py39,py310,py311,py312,pep8,docs,typing isolated_build = True [testenv] @@ -15,20 +15,14 @@ coverage report -m [testenv:pep8] -extras = - pep8test -commands = - flake8 . - -[testenv:py3pep8] -basepython = python3.11 +basepython = python3.12 extras = pep8test commands = flake8 . [testenv:docs] -basepython = python3.11 +basepython = python3.12 extras = docs docstest @@ -38,7 +32,7 @@ doc8 docs/ [testenv:typing] -basepython = python3.11 +basepython = python3.12 deps = mypy>=0.931 commands = mypy src/parver @@ -55,4 +49,5 @@ 3.8: py38 3.9: py39 3.10: py310 - 3.11: py311, py3pep8, docs, typing + 3.11: py311 + 3.12: py312, pep8, docs, typing