public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pyproject-api] rawhide: Update to 1.12.6 (rhbz#2575664)
@ 2026-12-01 17:21 Lumir Balhar
  0 siblings, 0 replies; only message in thread
From: Lumir Balhar @ 2026-12-01 17:21 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-pyproject-api
            Branch : rawhide
            Commit : 0e7e2a025c18784871f6d473f3db56de61c57607
            Author : Lumir Balhar <lbalhar@redhat.com>
            Date   : 2026-11-26T13:47:32+01:00
            Stats  : +14/-3 in 3 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-pyproject-api/c/0e7e2a025c18784871f6d473f3db56de61c57607?branch=rawhide

            Log:
            Update to 1.12.6 (rhbz#2575664)

Assisted-By: Claude

---
diff --git a/.gitignore b/.gitignore
index 64abb54..de5e88e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,4 @@
 /pyproject_api-1.11.2.tar.gz
 /pyproject_api-1.12.0.tar.gz
 /pyproject_api-1.12.5.tar.gz
+/pyproject_api-1.12.6.tar.gz

diff --git a/python-pyproject-api.spec b/python-pyproject-api.spec
index 09a2837..f558edd 100644
--- a/python-pyproject-api.spec
+++ b/python-pyproject-api.spec
@@ -1,5 +1,5 @@
 Name:           python-pyproject-api
-Version:        1.12.5
+Version:        1.12.6
 Release:        %autorelease
 Summary:        API to interact with the python pyproject.toml based projects
 
@@ -29,6 +29,10 @@ sed -i "/covdefaults/d;/pytest-cov/d" pyproject.toml
 sed -i 's/"setuptools>=.*"/"setuptools"/' pyproject.toml
 sed -i 's/"pytest>=.*"/"pytest"/' pyproject.toml
 sed -i 's/"pytest-mock>=.*"/"pytest-mock"/' pyproject.toml
+# Drop the python-sbom build dependency and its hatch build hook,
+# python-sbom is not packaged in Fedora and only generates an SBOM
+sed -i '/python-sbom\[hatch\]/d' pyproject.toml
+sed -i '/^build\.hooks\.python-sbom/d' pyproject.toml
 
 %generate_buildrequires
 %pyproject_buildrequires -g test
@@ -43,7 +47,13 @@ sed -i 's/"pytest-mock>=.*"/"pytest-mock"/' pyproject.toml
 %check
 # Skip test_setuptools_prepare_metadata_for_build_wheel
 # see https://github.com/tox-dev/pyproject-api/issues/153
-%pytest -k "not test_setuptools_prepare_metadata_for_build_wheel"
+k="not test_setuptools_prepare_metadata_for_build_wheel"
+# test_reused_process_non_serializable_exit depends on exact CPython exception
+# handling for non-serializable SystemExit codes (a Path/bytes exit code). On
+# Python 3.15.2 the reused backend stops writing the response file for such a
+# request, which upstream pyproject-api has not yet adapted to.
+k="$k and not test_reused_process_non_serializable_exit"
+%pytest -k "$k"
 
 %files -n python3-pyproject-api -f %{pyproject_files}
 %doc README.md

diff --git a/sources b/sources
index 3ab6098..4f51679 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pyproject_api-1.12.5.tar.gz) = 6d06fce8b0d3c0a819f5f6476eab2d78e4244e6cd3b24af0f72f1a4cc8318e8d1ca44b76dc14eab36752c702010317e91037005358a5db97e888cae423cde2a3
+SHA512 (pyproject_api-1.12.6.tar.gz) = 2bf71f8f11959acc5e133a9ace648f0424a0637c4bb6041b7b4d1398254177075aec906e516c10cd284a793fee7989ba748454d80822664ae9e9b815eef07555

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-12-01 17:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-12-01 17:21 [rpms/python-pyproject-api] rawhide: Update to 1.12.6 (rhbz#2575664) Lumir Balhar

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox