Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-setuptools-git-versioning for
openSUSE:Factory checked in at 2025-01-28 14:59:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-setuptools-git-versioning (Old)
and /work/SRC/openSUSE:Factory/.python-setuptools-git-versioning.new.2316
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-setuptools-git-versioning"
Tue Jan 28 14:59:36 2025 rev:8 rq:1240725 version:2.1.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-setuptools-git-versioning/python-setuptools-git-versioning.changes
2023-12-28 23:03:06.870063071 +0100
+++
/work/SRC/openSUSE:Factory/.python-setuptools-git-versioning.new.2316/python-setuptools-git-versioning.changes
2025-01-28 15:00:28.873289118 +0100
@@ -1,0 +2,21 @@
+Tue Jan 28 08:08:11 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Update to 2.1.0:
+ * [breaking] Drop get_branch_tags function which was deprecated
+ since 1.8.0.
+ * [breaking] version_file option now have precedence over any tags in
+ the current branch.
+ * [breaking] Drop version_config keyword from setup.py, which was
+ deprecated since 1.8.0.
+ * [breaking] Does not allow passing setuptools_git_versioning=False
+ and setuptools_git_versioning=True to config. Always use
+ setuptools_git_versioning={"enabled": True}.
+ * [feature] Test Python 3.13 compatibility
+ * [feature] Test Python 3.12 compatibility
+ * [feature] Remove useless warning if tag_filter, tag_formatter or
+ branch_formatter is a regexp instead of function reference.
+ * [bugfix] Replace outdated toml package with modern tomli.
+- Rip out _service and all of its gubbins, we can successfully test with
+ the GitHub tarball, so switch to that.
+
+-------------------------------------------------------------------
Old:
----
_service
setuptools-git-versioning-1.13.5.tar.xz
setuptools-git-versioning.obsinfo
New:
----
setuptools-git-versioning-2.1.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-setuptools-git-versioning.spec ++++++
--- /var/tmp/diff_new_pack.zn9Wyo/_old 2025-01-28 15:00:29.281305986 +0100
+++ /var/tmp/diff_new_pack.zn9Wyo/_new 2025-01-28 15:00:29.285306151 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-setuptools-git-versioning
#
-# Copyright (c) 2023 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,14 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-setuptools-git-versioning
-Version: 1.13.5
+Version: 2.1.0
Release: 0
Summary: Use git repo data for building a version number according
PEP-440
License: MIT
URL: https://setuptools-git-versioning.readthedocs.io
# SourceDist: https://github.com/dolfinus/setuptools-git-versioning
-# the sdist on PyPI does not have the tests, we needs full git metadata for
bootstrap, run osc service runall to update
-Source: setuptools-git-versioning-%{version}.tar.xz
+Source:
https://github.com/dolfinus/setuptools-git-versioning/archive/refs/tags/v2.1.0.tar.gz#/setuptools-git-versioning-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -35,12 +34,9 @@
Requires: python-packaging
Requires: python-setuptools
Requires(post): update-alternatives
-Requires(postun):update-alternatives
+Requires(postun): update-alternatives
Provides: python-setuptools_git_versioning = %{version}-%{release}
BuildArch: noarch
-%if 0%{python_version_nodots} < 311
-Requires: python-toml >= 0.10.2
-%endif
# SECTION test
BuildRequires: %{python_module build}
BuildRequires: %{python_module coverage}
@@ -65,10 +61,9 @@
- Templates support a lot of substitutions including git and environment
information
%prep
-%setup -q -n setuptools-git-versioning-%{version}
-# avoid dirty version
-echo '_build*' >> .git/info/exclude
-echo _current_flavor >> .git/info/exclude
+%autosetup -p1 -n setuptools-git-versioning-%{version}
+# Set version
+echo "Version: %{version}" > PKG-INFO
%build
%pyproject_wheel
@@ -94,6 +89,6 @@
%files %{python_files}
%python_alternative %{_bindir}/setuptools-git-versioning
%{python_sitelib}/setuptools_git_versioning.py*
-%{python_sitelib}/setuptools_git_versioning-%{version}*-info
+%{python_sitelib}/setuptools_git_versioning-%{version}.dist-info
%pycache_only %{python_sitelib}/__pycache__/setuptools_git_versioning*.pyc