sqlalchemy-migrate fails to install with latest setuptools because Tempita requires 2to3
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sqlalchemy-migrate |
New
|
Undecided
|
Unassigned |
Bug Description
While running our tool to test the buildbot configuration, I got an error when pip tried to install Tempita:
Using cached Tempita-
ERROR: Command errored out with exit status 1:
command: /home/vstinner/
cwd: /tmp/pip-
Complete output (1 lines):
error in Tempita setup command: use_2to3 is invalid.
---
buildbot-www depends on sqlalchemy-migrate which depends on Tempita: requirements.txt contains "Tempita>=0.4".
https:/
setuptools 58.0 contains a breaking change:
"#2086: Removed support for 2to3 during builds. Projects should port to a unified codebase or pin to an older version of Setuptools using PEP 518 build-requires."
https:/
Tempita latest release was 8 years ago. Could sqlalchemy-migrate not depend on it? Or can someone try to update Tempita to avoid 2to3?
Workaround: block setuptools 58 and newer.
Example: https:/ /github. com/python/ buildmaster- config/ commit/ 73a70b5e0a94d4c 94e518c5d1f9b02 f691b23e3d