Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-hatch-requirements-txt for
openSUSE:Factory checked in at 2026-02-02 14:55:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-hatch-requirements-txt (Old)
and /work/SRC/openSUSE:Factory/.python-hatch-requirements-txt.new.1995
(New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-hatch-requirements-txt"
Mon Feb 2 14:55:13 2026 rev:4 rq:1330313 version:0.4.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-hatch-requirements-txt/python-hatch-requirements-txt.changes
2025-03-20 19:24:40.992871845 +0100
+++
/work/SRC/openSUSE:Factory/.python-hatch-requirements-txt.new.1995/python-hatch-requirements-txt.changes
2026-02-02 14:55:44.847921056 +0100
@@ -1,0 +2,6 @@
+Mon Feb 2 04:05:13 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-packaging-26.patch:
+ * Support changes required by packaging 26.0.
+
+-------------------------------------------------------------------
New:
----
support-packaging-26.patch
----------(New B)----------
New:
- Add patch support-packaging-26.patch:
* Support changes required by packaging 26.0.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-hatch-requirements-txt.spec ++++++
--- /var/tmp/diff_new_pack.kncgzS/_old 2026-02-02 14:55:46.095973809 +0100
+++ /var/tmp/diff_new_pack.kncgzS/_new 2026-02-02 14:55:46.099973978 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-hatch-requirements-txt
#
-# Copyright (c) 2025 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -37,6 +37,8 @@
License: MIT
URL: https://github.com/repo-helper/hatch-requirements-txt
Source:
https://github.com/repo-helper/hatch-requirements-txt/archive/refs/tags/v%{version}.tar.gz#/hatch_requirements_txt-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM
gh#repo-helper/hatch-requirements-txt#caf885b14f7b6515c5a421a6b070e4aea0fd4d0b
+Patch0: support-packaging-26.patch
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
BuildRequires: python-rpm-macros
++++++ support-packaging-26.patch ++++++
>From caf885b14f7b6515c5a421a6b070e4aea0fd4d0b Mon Sep 17 00:00:00 2001
From: Dominic Davis-Foster <[email protected]>
Date: Tue, 27 Jan 2026 12:06:48 +0000
Subject: [PATCH] Fix tests with new packaging version.
Now a space before @ sign.
---
tests/test_metadata.py | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
Index: hatch-requirements-txt-0.4.1/tests/test_metadata.py
===================================================================
--- hatch-requirements-txt-0.4.1.orig/tests/test_metadata.py
+++ hatch-requirements-txt-0.4.1/tests/test_metadata.py
@@ -99,12 +99,15 @@ allow-direct-references = true
])
info = get_pkginfo(tmp_pathplus, build_func, pyproject_toml)
- assert info.requires_dist == [
+ assert info.requires_dist[:-1] == [
"bar",
"baz>1",
"foo",
- "pip@
https://github.com/pypa/pip/archive/1.3.1.zip#sha1=da9234ee9982d4bbb3c72346a6de940a148ea686"
]
+ assert info.requires_dist[-1] in {
+ "pip@
https://github.com/pypa/pip/archive/1.3.1.zip#sha1=da9234ee9982d4bbb3c72346a6de940a148ea686",
+ "pip @
https://github.com/pypa/pip/archive/1.3.1.zip#sha1=da9234ee9982d4bbb3c72346a6de940a148ea686",
+ }
@pytest.mark.parametrize("build_func", [build_wheel, build_sdist])