Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-dunamai for openSUSE:Factory checked in at 2025-05-12 16:47:34 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dunamai (Old) and /work/SRC/openSUSE:Factory/.python-dunamai.new.30101 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dunamai" Mon May 12 16:47:34 2025 rev:11 rq:1276338 version:1.24.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dunamai/python-dunamai.changes 2025-05-08 20:40:01.456588736 +0200 +++ /work/SRC/openSUSE:Factory/.python-dunamai.new.30101/python-dunamai.changes 2025-05-12 16:50:58.745959094 +0200 @@ -1,0 +2,6 @@ +Fri May 9 18:22:40 UTC 2025 - Richard Rahl <rra...@opensuse.org> + +- update to 1.24.1: + * Fixed: Deprecation warning from re.sub() using Python 3.13+ + +------------------------------------------------------------------- Old: ---- python-dunamai-1.24.0.tar.gz New: ---- python-dunamai-1.24.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dunamai.spec ++++++ --- /var/tmp/diff_new_pack.up6KMT/_old 2025-05-12 16:50:59.373985545 +0200 +++ /var/tmp/diff_new_pack.up6KMT/_new 2025-05-12 16:50:59.377985714 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-dunamai -Version: 1.24.0 +Version: 1.24.1 Release: 0 Summary: Dynamic version generation License: MIT ++++++ python-dunamai-1.24.0.tar.gz -> python-dunamai-1.24.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dunamai-1.24.0/CHANGELOG.md new/dunamai-1.24.1/CHANGELOG.md --- old/dunamai-1.24.0/CHANGELOG.md 2025-05-08 02:34:31.727484500 +0200 +++ new/dunamai-1.24.1/CHANGELOG.md 2025-05-09 15:47:58.948284600 +0200 @@ -1,3 +1,8 @@ +## v1.24.1 (2025-05-09) + +* Fixed: Deprecation warning from `re.sub()` using Python 3.13+. + ([Contributed by emmanuel-ferdman](https://github.com/mtkennerly/dunamai/pull/103)) + ## v1.24.0 (2025-05-07) * Changed: Previously, for Git 2.7+, diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dunamai-1.24.0/PKG-INFO new/dunamai-1.24.1/PKG-INFO --- old/dunamai-1.24.0/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 +++ new/dunamai-1.24.1/PKG-INFO 1970-01-01 01:00:00.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: dunamai -Version: 1.24.0 +Version: 1.24.1 Summary: Dynamic version generation Home-page: https://github.com/mtkennerly/dunamai License: MIT diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dunamai-1.24.0/dunamai/__init__.py new/dunamai-1.24.1/dunamai/__init__.py --- old/dunamai-1.24.0/dunamai/__init__.py 2025-05-07 04:04:55.949132700 +0200 +++ new/dunamai-1.24.1/dunamai/__init__.py 2025-05-09 15:08:05.892657500 +0200 @@ -878,7 +878,7 @@ failed = True if failed or matched_pattern is None: - replaced = re.sub(r"(\.post(\d+)\.dev\d+)", r".dev\2", version, 1) + replaced = re.sub(r"(\.post(\d+)\.dev\d+)", r".dev\2", version, count=1) if replaced != version: alt = Version.parse(replaced, pattern) if alt.base != replaced: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dunamai-1.24.0/pyproject.toml new/dunamai-1.24.1/pyproject.toml --- old/dunamai-1.24.0/pyproject.toml 2025-05-08 02:34:31.717034000 +0200 +++ new/dunamai-1.24.1/pyproject.toml 2025-05-09 15:47:58.948284600 +0200 @@ -1,6 +1,6 @@ [tool.poetry] name = "dunamai" -version = "1.24.0" +version = "1.24.1" description = "Dynamic version generation" license = "MIT" authors = ["Matthew T. Kennerly <mtkenne...@gmail.com>"]