public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-pkginfo] epel10: Update to 1.13 (close RHBZ#2525950)
@ 2026-09-15 9:38 Benjamin A. Beasley
0 siblings, 0 replies; only message in thread
From: Benjamin A. Beasley @ 2026-09-15 9:38 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-pkginfo
Branch : epel10
Commit : 9207151a923b8acef6334f6a8695356c3db006d3
Author : Benjamin A. Beasley <code@musicinmybrain.net>
Date : 2026-09-15T10:35:08+01:00
Stats : +14/-5 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-pkginfo/c/9207151a923b8acef6334f6a8695356c3db006d3?branch=epel10
Log:
Update to 1.13 (close RHBZ#2525950)
---
diff --git a/.gitignore b/.gitignore
index 4bb6376..61b338c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -16,3 +16,4 @@
/pkginfo-1.11.2.tar.gz
/pkginfo-1.12.0.tar.gz
/pkginfo-1.12.1.2.tar.gz
+/pkginfo-1.13.tar.gz
diff --git a/python-pkginfo.spec b/python-pkginfo.spec
index 843d267..2649cc6 100644
--- a/python-pkginfo.spec
+++ b/python-pkginfo.spec
@@ -9,7 +9,7 @@ checkout" (e.g, created by running setup.py develop).}
Name: python-%{pypi_name}
Summary: Query metadata from sdists / bdists / installed packages
-Version: 1.12.1.2
+Version: 1.13
Release: %autorelease
License: MIT
@@ -44,8 +44,6 @@ This package contains the documentation.
# don't ship internal test subpackage
sed -i "s/, 'pkginfo.tests'//g" setup.py
-# work around the wheel metadata version (Fedora already produces 2.4 while upstream it's still 2.3)
-sed -i "s/assert(installed.metadata_version == '2.3')/assert(installed.metadata_version == '2.4')/" pkginfo/tests/test_installed.py
%generate_buildrequires
@@ -70,7 +68,17 @@ rm -rf html/.{doctrees,buildinfo}
%check
%pyproject_check_import
-%pytest
+# These all appear to be due to metadata version discrepancies from PyPI, the
+# same root cause as “test_installed_ctor_w_dist_info fails against wheel built
+# with flit > 3.10.0,” https://bugs.launchpad.net/pkginfo/+bug/2090840, and
+# “Different core metadata version in recent setuptools,”
+# https://bugs.launchpad.net/pkginfo/+bug/2103804.
+k="${k-}${k+ and }not test_installed_ctor_w_package"
+k="${k-}${k+ and }not test_installed_ctor_w_name"
+k="${k-}${k+ and }not test_get_metadata_w_module"
+k="${k-}${k+ and }not test_get_metadata_w_package_name"
+
+%pytest -k "${k-}"
%files -n python3-%{pypi_name} -f %{pyproject_files}
diff --git a/sources b/sources
index 7b432b8..33688eb 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (pkginfo-1.12.1.2.tar.gz) = 16eed4c19b92384aa422d7a4e352746270bab8dc80b503c73aae0554eca012f38e2099867febf1a205d6fa572f4738f503a80e51ea247af4404581eea4a2d1d4
+SHA512 (pkginfo-1.13.tar.gz) = f8c1451f5cb1b7ce1ea95b3eec2d7b24103e96d472b9c76e93fc8993d0272611424cf01bd002f4714984be2bb8b7d0ff907f0c536baf825cb107a2b6f806e5f8
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-09-15 9:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-15 9:38 [rpms/python-pkginfo] epel10: Update to 1.13 (close RHBZ#2525950) Benjamin A. Beasley
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox