Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 1807546 - slv2 requires Python 2 to build [NEEDINFO]
Summary: slv2 requires Python 2 to build
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: slv2
Version: 33
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Brendan Jones
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: BRPY27
TreeView+ depends on / blocked
Reported: 2020-02-26 15:27 UTC by Petr Viktorin
Modified: 2021-07-13 13:29 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Type: Bug
pviktori: needinfo? (

Attachments (Terms of Use)

Description Petr Viktorin 2020-02-26 15:27:08 UTC
Python 2 reached upstream end-of-life in January 2020. In Fedora Rawhide, it's now provided from the compat package `python27`.
Packages that only use Python 2 at build time, like slv2, had a general exception to keep using it in Fedora 31. Now, the dependency should be removed. It looks like need for python2 comes from an old bundled version of "waf"; can that be unbundled/updated?
Let us know if you need any help investigating or removing the dependency.

If it's possible that the dependency won't be removed in Fedora 33. Please request a FESCo exception. You can refer to the exception for mercurial as an example:
It's good to mention:

- What is the reason for the Python 2 build dependency?

- What are the upstream/community plans/timelines regarding Python 2?

- What is the guidance for porting the build to Python 3? (Assuming that there is someone who generally knows how to port to Python 3, but doesn't know anything about the particular package, what are the next steps to take?)

If you need anything from us, or something is unclear, please mention it here.

Comment 1 Guido Aulisi 2020-03-19 08:48:45 UTC
IMHO this package should be retired, it has been replaced by lilv and nothing is using it in rawhide.

Comment 2 Ben Cotton 2020-08-11 13:10:30 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.

Comment 3 Petr Viktorin 2021-01-13 20:36:54 UTC
Brendan, do you have any thoughts on this?

Comment 4 Guido Aulisi 2021-01-13 21:05:15 UTC
Slv2 has been deprecated and replaced by lilv, it should be retired.

Comment 5 Brendan Jones 2021-02-08 07:53:00 UTC
I'm happy for this to be retired if nothing is using it.

Comment 6 Miro Hrončok 2021-02-19 23:43:04 UTC
Nothing in Fedora seem to use it:

$ repoquery --repo=rawhide{,-source} --whatrequires slv2 --whatrequires slv2-devel

Comment 7 Petr Viktorin 2021-07-13 13:29:34 UTC
Brendan, could you retire it?

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