Bug 1808332 - openni-primesense requires Python 2 to build
Summary: openni-primesense requires Python 2 to build
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openni-primesense
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rich Mattes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: BRPY27
TreeView+ depends on / blocked
 
Reported: 2020-02-28 09:36 UTC by Petr Viktorin (pviktori)
Modified: 2020-04-23 00:44 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-23 00:44:24 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Viktorin (pviktori) 2020-02-28 09:36:20 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 openni-primesense, had a general exception to keep using it in Fedora 31. Now, the dependency should be removed.

Switching to Python 3 seemed easy to me (though I don't necessarily
know much about openni-primesense). So I opened a pull request: https://src.fedoraproject.org/rpms/openni-primesense/pull-request/2

Could you merge it?
If not, if it's possible that the Python 2 build dependency won't get
removed in Fedora 33, please let us know; the package will need
a FESCo exception.

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

Comment 1 Rich Mattes 2020-04-23 00:44:24 UTC
Thanks for the patch/PR.  Despite what the openni-primesense README says, it seems that Python isn't required to build this package at all. I've removed the python2 BuildRequires altogether.
 
https://koji.fedoraproject.org/koji/taskinfo?taskID=43665532


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