Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-semver for openSUSE:Factory checked in at 2023-03-11 18:24:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-semver (Old) and /work/SRC/openSUSE:Factory/.python-semver.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-semver" Sat Mar 11 18:24:13 2023 rev:18 rq:1070842 version:3.0.0~dev.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-semver/python-semver.changes 2022-10-17 14:58:30.994186862 +0200 +++ /work/SRC/openSUSE:Factory/.python-semver.new.31432/python-semver.changes 2023-03-11 18:24:50.135129378 +0100 @@ -1,0 +2,49 @@ +Sat Mar 11 09:57:18 UTC 2023 - Sebastian Wagner <se...@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 + +------------------------------------------------------------------- Old: ---- python-semver-3.0.0-dev.3-gh.tar.gz New: ---- python-semver-3.0.0-dev.4-gh.tar.gz setup-remove-asterisk.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-semver.spec ++++++ --- /var/tmp/diff_new_pack.F5MAeT/_old 2023-03-11 18:24:50.635131983 +0100 +++ /var/tmp/diff_new_pack.F5MAeT/_new 2023-03-11 18:24:50.639132004 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-semver # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,18 +16,21 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} %bcond_without test Name: python-semver -Version: 3.0.0~dev.3 +Version: 3.0.0~dev.4 Release: 0 Summary: Python helper for Semantic Versioning License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/python-semver/python-semver -Source: https://github.com/python-semver/python-semver/archive/refs/tags/3.0.0-dev.3.tar.gz#/%{name}-3.0.0-dev.3-gh.tar.gz +Source: https://github.com/python-semver/python-semver/archive/refs/tags/3.0.0-dev.4.tar.gz#/%{name}-3.0.0-dev.4-gh.tar.gz +# PATCH-FIX-UPSTREAM - setup-remove-asterisk.patch +Patch0: https://github.com/python-semver/python-semver/pull/398.patch#/setup-remove-asterisk.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires(post): update-alternatives @@ -42,14 +45,15 @@ See also http://semver.org/ %prep -%setup -q -n python-semver-3.0.0-dev.3 +%setup -q -n python-semver-3.0.0-dev.4 +%patch0 -p1 sed -i '/-cov/d' setup.cfg %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_clone -a %{buildroot}%{_bindir}/pysemver %python_expand %fdupes %{buildroot}%{$python_sitelib} @@ -66,7 +70,6 @@ %files %{python_files} %doc README.rst %{python_sitelib}/semver* -#%%pycache_only %%{python_sitelib}/__pycache__/semver* %python_alternative %{_bindir}/pysemver %changelog ++++++ python-semver-3.0.0-dev.3-gh.tar.gz -> python-semver-3.0.0-dev.4-gh.tar.gz ++++++ ++++ 3417 lines of diff (skipped) ++++++ setup-remove-asterisk.patch ++++++ >From 67464a70d0abb5c4a67c28369e49d112e364862b Mon Sep 17 00:00:00 2001 From: Tom Schraitle <toms...@users.noreply.github.com> Date: Mon, 6 Mar 2023 11:42:34 +0100 Subject: [PATCH] Fix #397: Remove asterisk in python_requires The asterisk in "python_requires = >= 3.7.*" make the pyproject-build command fail with this exception: setuptools.extern.packaging.specifiers.InvalidSpecifier: Invalid specifier: '>=3.7.*' This fix removes the asterisk which leads to a successful build. --- setup.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index 2673b0f..0ee8564 100644 --- a/setup.cfg +++ b/setup.cfg @@ -39,7 +39,7 @@ license = BSD package_dir = =src packages = find: -python_requires = >=3.7.* +python_requires = >=3.7 include_package_data = True [options.entry_points]