Skip to content

Any workaround around old libraries ? "command: use_2to3 is invalid" #2159

Answered by frostming
liran-cohen-hs asked this question in Q&A
Discussion options

You must be logged in to vote

It is because the use_2to3 functionality is no longer supported since setuptools==58.

You can workaround this with following:

pdm add "setuptools<58"
pdm add --no-isolation suds-jurko

--no-isolation will reuse the libraries already installed in the project environment(in this case setuptools), instead of creating an isolated environment and install build requirements from empty.

I can confirm it works with Python 3.11

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@liran-cohen-hs
Comment options

Answer selected by frostming
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants