public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Benjamin A. Beasley <code@musicinmybrain.net>
To: git-commits@fedoraproject.org
Subject: [rpms/python-pkginfo] epel10: Update to 1.13 (close RHBZ#2525950)
Date: Tue, 15 Sep 2026 09:38:42 GMT	[thread overview]
Message-ID: <178946512200.1.340800702933844210.rpms-python-pkginfo-9207151a923b@fedoraproject.org> (raw)

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

                 reply	other threads:[~2026-09-15  9:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178946512200.1.340800702933844210.rpms-python-pkginfo-9207151a923b@fedoraproject.org \
    --to=code@musicinmybrain.net \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox