public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
To: git-commits@fedoraproject.org
Subject: [rpms/pyproject-rpm-macros] f44: Add missing METADATA to test data for Python 3.15 compatibility
Date: Wed, 24 Jun 2026 20:16:54 GMT [thread overview]
Message-ID: <178233221471.1.5624687775598744197.rpms-pyproject-rpm-macros-bcaf3ea9d635@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/pyproject-rpm-macros
Branch : f44
Commit : bcaf3ea9d635209373ef867ce4058147058b096e
Author : Miro Hrončok <miro@hroncok.cz>
Date : 2026-06-24T14:42:55+02:00
Stats : +40/-0 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/pyproject-rpm-macros/c/bcaf3ea9d635209373ef867ce4058147058b096e?branch=f44
Log:
Add missing METADATA to test data for Python 3.15 compatibility
Python 3.15 changed importlib.metadata.PathDistribution.metadata
to raise MetadataNotFound instead of returning None when no METADATA
file exists (https://github.com/python/cpython/issues/143387).
Add minimal METADATA entries for the 8 test packages that were
missing them, so the test fixtures create METADATA files on disk.
Assisted-By: Claude Opus 4.6
---
diff --git a/pyproject_save_files_test_data.yaml b/pyproject_save_files_test_data.yaml
index 82d47ac..56ebc30 100644
--- a/pyproject_save_files_test_data.yaml
+++ b/pyproject_save_files_test_data.yaml
@@ -15557,6 +15557,46 @@ metadata:
License-File: LICENSE
License-File: LICENSE.python
Whatever: False data
+ kerberos:
+ path: /usr/lib64/python3.7/site-packages/kerberos-1.3.0.dist-info/METADATA
+ content: |
+ Name: kerberos
+ Version: 1.3.0
+ tensorflow:
+ path: /usr/lib64/python3.7/site-packages/tensorflow-2.1.0.dist-info/METADATA
+ content: |
+ Name: tensorflow
+ Version: 2.1.0
+ tldr:
+ path: /usr/lib/python3.7/site-packages/tldr-0.5.dist-info/METADATA
+ content: |
+ Name: tldr
+ Version: 0.5
+ mistune:
+ path: /usr/lib64/python3.7/site-packages/mistune-0.8.3.dist-info/METADATA
+ content: |
+ Name: mistune
+ Version: 0.8.3
+ ipykernel:
+ path: /usr/lib/python3.7/site-packages/ipykernel-5.2.1.dist-info/METADATA
+ content: |
+ Name: ipykernel
+ Version: 5.2.1
+ zope:
+ path: /usr/lib/python3.7/site-packages/zope.event-4.4.dist-info/METADATA
+ content: |
+ Name: zope.event
+ Version: 4.4
+ comic2pdf:
+ path: /usr/lib/python3.7/site-packages/comic2pdf-3.1.0.dist-info/METADATA
+ content: |
+ Name: comic2pdf
+ Version: 3.1.0
+ printrun:
+ path: /usr/lib/python3.7/site-packages/Printrun-2.0.0rc6.dist-info/METADATA
+ content: |
+ Name: Printrun
+ Version: 2.0.0rc6
records:
kerberos:
reply other threads:[~2026-06-24 20:16 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=178233221471.1.5624687775598744197.rpms-pyproject-rpm-macros-bcaf3ea9d635@fedoraproject.org \
--to=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