public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/pyproject-rpm-macros] f43: Add missing METADATA to test data for Python 3.15 compatibility
@ 2026-06-24 20:17
0 siblings, 0 replies; only message in thread
From: @ 2026-06-24 20:17 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/pyproject-rpm-macros
Branch : f43
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=f43
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:
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-24 20:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-06-24 20:17 [rpms/pyproject-rpm-macros] f43: Add missing METADATA to test data for Python 3.15 compatibility
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox