https://bugzilla.redhat.com/show_bug.cgi?id=1807534
Bug ID: 1807534 Summary: pyzy requires Python 2 to build Product: Fedora Version: rawhide Status: NEW Component: pyzy Assignee: pwu@redhat.com Reporter: pviktori@redhat.com QA Contact: extras-qa@fedoraproject.org CC: i18n-bugs@lists.fedoraproject.org, petersen@redhat.com, pwu@redhat.com Blocks: 1803205 (BRPY27) Target Milestone: --- Classification: Fedora
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 pyzy, had a general exception to keep using it in Fedora 31. Now, the dependency should be removed. Let us know if you need any help investigating or removing the dependency. (There are dozens of packages like this, so we didn't investigate this one thoroughly. We assume you know the package best.)
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: https://pagure.io/fesco/issue/2243 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.
Referenced Bugs:
https://bugzilla.redhat.com/show_bug.cgi?id=1803205 [Bug 1803205] Tracking: Packages BuildRequiring python27
https://bugzilla.redhat.com/show_bug.cgi?id=1807534
Petr Viktorin pviktori@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(pwu@redhat.com)
--- Comment #2 from Petr Viktorin pviktori@redhat.com --- Do you have any update?
https://bugzilla.redhat.com/show_bug.cgi?id=1807534
Peng Wu pwu@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Flags|needinfo?(pwu@redhat.com) |
--- Comment #3 from Peng Wu pwu@redhat.com --- - What is the reason for the Python 2 build dependency?
The pyzy project use Python 2 to convert the data format.
- What are the upstream/community plans/timelines regarding Python 2?
The upstream is not active since Dec 2012.
URL: https://github.com/pyzy/pyzy
https://bugzilla.redhat.com/show_bug.cgi?id=1807534
--- Comment #4 from Petr Viktorin pviktori@redhat.com --- I see there is a pull request for Python 3 compatibility: https://github.com/pyzy/pyzy/pull/4 Can that be used?
https://bugzilla.redhat.com/show_bug.cgi?id=1807534
--- Comment #5 from Peng Wu pwu@redhat.com --- Thanks, built for Fedora rawhide.
URL: https://koji.fedoraproject.org/koji/taskinfo?taskID=59750254
https://bugzilla.redhat.com/show_bug.cgi?id=1807534
Peng Wu pwu@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |RAWHIDE Last Closed| |2021-01-18 09:30:05
i18n-bugs@lists.fedoraproject.org