FTBFS in jammy: setuptools deprecated use_2to3
Bug #1966323 reported by
Andreas Hasenack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-tempita (Debian) |
Fix Released
|
Unknown
|
|||
python-tempita (Ubuntu) |
Fix Released
|
High
|
Andreas Hasenack |
Bug Description
$ python3 ./setup.py build
error in Tempita setup command: use_2to3 is invalid.
It was removed in setuptools 58: https:/
And from python 3.10 in the standard library: https:/
Related branches
~ahasenack/ubuntu/+source/python-tempita:jammy-tempita-2to3-ftbfs
Merged
into
ubuntu/+source/python-tempita:ubuntu/devel
at
revision 52402bfdb4e153575314854771c66c3a3fac548f
- Athos Ribeiro (community): Approve
- Canonical Server Core Reviewers: Pending requested
-
Diff: 365 lines (+319/-1)6 files modifieddebian/changelog (+11/-0)
debian/control (+2/-1)
debian/patches/2to3.patch (+236/-0)
debian/patches/fix-doc-tests.patch (+65/-0)
debian/patches/series (+2/-0)
debian/rules (+3/-0)
tags: | added: ftbfs |
Changed in python-tempita (Debian): | |
status: | Unknown → New |
Changed in python-tempita (Ubuntu): | |
status: | Triaged → In Progress |
tags: | added: server-todo |
Changed in python-tempita (Debian): | |
status: | New → Fix Released |
To post a comment you must log in.
This bug was fixed in the package python-tempita - 0.5.2-6ubuntu1
---------------
python-tempita (0.5.2-6ubuntu1) jammy; urgency=medium
* d/p/2to3.patch: quick python 3 conversion using 2to3, exactly how it doc-tests. patch: fix exception name raised in doctests
was being done automatically during build until python 3.10's
setuptools removed the 2to3 option from setup.py (LP: #1966323)
* Fix and run the existing doc tests (LP: #1966532):
- d/p/fix-
- d/rules: run doc tests
-- Andreas Hasenack <email address hidden> Fri, 25 Mar 2022 22:12:13 -0300