FTBFS in jammy: setuptools deprecated use_2to3

Bug #1966323 reported by Andreas Hasenack
10
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://setuptools.pypa.io/en/latest/history.html#v58-0-0

And from python 3.10 in the standard library: https://github.com/pypa/setuptools/issues/2086

Related branches

tags: added: ftbfs
Changed in python-tempita (Debian):
status: Unknown → New
Changed in python-tempita (Ubuntu):
status: Triaged → In Progress
tags: added: server-todo
Revision history for this message
Launchpad Janitor (janitor) wrote :

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
    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-doc-tests.patch: fix exception name raised in doctests
    - d/rules: run doc tests

 -- Andreas Hasenack <email address hidden> Fri, 25 Mar 2022 22:12:13 -0300

Changed in python-tempita (Ubuntu):
status: In Progress → Fix Released
Changed in python-tempita (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.