Bug 1738161
Summary: | texlive-base depends on Python 2 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lumír Balhar <lbalhar> |
Component: | texlive-base | Assignee: | Tom "spot" Callaway <spotrh> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 32 | CC: | anton.kochkov, mhroncok, pviktori |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2020-12-30 20:07:48 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1698500 |
Description
Lumír Balhar
2019-08-06 13:18:54 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to '31'. This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle. Changing version to 31. Please answer the above questions. If you don't, the package can be orphaned: https://fedoraproject.org/wiki/Changes/F31_Mass_Python_2_Package_Removal#Information_on_Remaining_Packages If you need any information or help, or if you need some more time, please let us know. (In reply to Lumír Balhar from comment #0) > - What is the reason for the Python2 dependency? (Is it software written in > Python, or does it just provide Python bindings, or use Python in the build > system or test runner?) texlive-base is about 100 components in one package. Some of them are software written in Python, some use Python in their build system. > - What are the upstream/community plans/timelines regarding Python 3? None that I am aware of, but several of the Python components in the mix have support for Python 3. > - What is the guidance for porting 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 do the work, I'll carry the patch. As far as I can see, most of the components have Python 3. The rest (texlive-dviasm, texlive-pygmentex, texlive-pythontex) only need the interpreter. It would be great to have answers to the questions above for these specific packages. dviasm: https://www.ctan.org/tex-archive/dviware/dviasm & https://github.com/khaledhosny/dviasm/issues/7 pygmentex: https://www.ctan.org/tex-archive/macros/latex/contrib/pygmentex pythontex (py3 compatible, needs dropping py2): https://www.ctan.org/pkg/pythontex FWIW, since these don't block anything else, I'd support an FESCo exception for them. See https://pagure.io/fesco/issue/2215 pygmentex needs pygments. This bug appears to have been reported against 'rawhide' during the Fedora 32 development cycle. Changing version to 32. See how NixOS solved this: - https://github.com/NixOS/nixpkgs/pull/75730 - https://github.com/NixOS/nixpkgs/pull/107119 See also https://bugzilla.redhat.com/show_bug.cgi?id=1846639 The mainstream updated pygmentex to support Python 3: - https://bitbucket.org/romildo/pygmentex/src/master/ - https://ctan.org/ctan-ann/id/mailman.2272.1608659978.2532.ctan-ann@ctan.org texlive-base-20200327-23.fc34 has the newer dviasm and pygmentex that support Python3, drops the python2 variant files from pythontex, and as a result no longer has any runtime dependencies on python2. |