Bug 2361631 - python-pytest-testinfra FTBFS in rawhide [NEEDINFO]
Summary: python-pytest-testinfra FTBFS in rawhide
Keywords:
Status: MODIFIED
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pytest-testinfra
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Martin Hoyer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.14 F43FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2025-04-22 11:12 UTC by Lumír Balhar
Modified: 2025-05-08 16:33 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
mhroncok: needinfo? (chedi.toueiti)


Attachments (Terms of Use)

Description Lumír Balhar 2025-04-22 11:12:55 UTC
The sources defined in the specfile cannot be downloaded:

$ spectool -g *.spec
error: %changelog not in descending chronological order
Downloading: https://files.pythonhosted.org/packages/source/p/pytest_testinfra/pytest_testinfra-10.1.1.tar.gz
Download failed:
404 Client Error: Not Found for url: https://files.pythonhosted.org/packages/source/p/pytest_testinfra/pytest_testinfra-10.1.1.tar.gz

and the name of the tarball is different than what is in the sources:

SHA512 (pytest-testinfra-10.1.1.tar.gz) = 6173937b03eaefb84a95b6fca616092ea0649f880fd1bccef6364f338b859bda8d09d706b517625b81cff4f663ababa766dac82d4d094c38683d9b170909f6c9

Reproducible: Always

Comment 1 Miro Hrončok 2025-05-06 21:45:35 UTC
Any chance you could fix that?

Comment 2 Miro Hrončok 2025-05-06 21:46:24 UTC
Sorry, I clicked the wrong item in the list, the needinfo was supposed to be on the assignee.

Comment 3 Fedora Admin user for bugzilla script actions 2025-05-07 03:17:30 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 4 Martin Hoyer 2025-05-07 09:25:25 UTC
Probably my fault. Will try to fix it asap.

Comment 5 Martin Hoyer 2025-05-07 09:53:33 UTC
I remember now, it's already in rawhide. The pypi package name is `pytest-testinfra` while source tar is with underscore. 
One could presume that the pypi_source macro is taking the name of package as argument to be fair.

-Source:         %{pypi_source pytest-testinfra}
+Source:         %{pypi_source pytest_testinfra}

Will backport to the branches.

Comment 6 Fedora Admin user for bugzilla script actions 2025-05-07 16:38:09 UTC
This package has changed maintainer in Fedora. Reassigning to the new maintainer of this component.

Comment 7 Miro Hrončok 2025-05-07 17:06:43 UTC
That change in rawhide broke this.

The correct form is %{pypi_source pytest-testinfra} at least for the packaged version.

For newer versions, %{pypi_source pytest_testinfra} will be needed, but not for 10.1.1


Note You need to log in before you can comment on or make changes to this bug.