Any workaround around old libraries ? "command: use_2to3 is invalid" #2159
-
As part of the migration to PDM, we are handling some legacy projects and libraries
I tried all the different build backends listed in this page I guess it's a matter of using old setuptools any workaround of making it work ? (other than the obvious thing we should do and upgrade this library to something newer :)) Thanks ! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
It is because the You can workaround this with following:
I can confirm it works with Python 3.11 |
Beta Was this translation helpful? Give feedback.
It is because the
use_2to3
functionality is no longer supported sincesetuptools==58
.You can workaround this with following:
--no-isolation
will reuse the libraries already installed in the project environment(in this casesetuptools
), instead of creating an isolated environment and install build requirements from empty.I can confirm it works with Python 3.11