Bug 2142048 - python-git-changelog fails to build with pytest 7.2 - missing dependency on python3-setuptools
Summary: python-git-changelog fails to build with pytest 7.2 - missing dependency on p...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-git-changelog
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vanessa Christopher
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: F38FTBFS 2137514
TreeView+ depends on / blocked
 
Reported: 2022-11-11 13:03 UTC by Lumír Balhar
Modified: 2022-12-04 16:18 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-12-04 16:18:56 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Lumír Balhar 2022-11-11 13:03:57 UTC
I'm testing an update to pytest 7.2.0 and I've discovered a problem with this package.

This package needs python3-setuptools to build but this dependency is not specified as a BuildRequires in its specfile.

This fact didn't cause any trouble before because python3-pytest <7.2 depends on python3-setuptools so setuptools have been installed as a transitive dependency. pytest uses a different build backend now which means that when we update it to the latest version, this package will fail to build.

The plan is to update pytest in ~2 weeks.

If you want to, you can find the failed build in https://copr.fedorainfracloud.org/coprs/lbalhar/pytest/

Comment 1 Ankur Sinha (FranciscoD) 2022-11-11 13:42:49 UTC
Vanessa, it just requires the addition of BuildRequires: python3-setuptools to the spec and rebuilding. Would you have time to do that in the next week or so?

Comment 2 Vanessa Christopher 2022-11-13 12:15:15 UTC
(In reply to Ankur Sinha (FranciscoD) from comment #1)
> Vanessa, it just requires the addition of BuildRequires: python3-setuptools
> to the spec and rebuilding. Would you have time to do that in the next week
> or so?

Yes sure :)

Comment 3 Ankur Sinha (FranciscoD) 2022-11-14 15:49:40 UTC
Great, please let us know if there's anything we can do to help :)

Comment 4 Lumír Balhar 2022-11-23 12:20:40 UTC
Our plan is to ship the updated pytest during the next week. If you need any assistance from us, feel free to say so.

Comment 5 Ben Beasley 2022-12-04 16:18:56 UTC
It looks like Vanessa did fix this in Rawhide.


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