Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error in fudge setup command: use_2to3 is invalid #13

Open
ClaudiuCreanga opened this issue Oct 4, 2021 · 4 comments
Open

error in fudge setup command: use_2to3 is invalid #13

ClaudiuCreanga opened this issue Oct 4, 2021 · 4 comments

Comments

@ClaudiuCreanga
Copy link

Can't use fudge with the latest setuptools >= 58 because use_2to3 is invalid.

@quantoid
Copy link

quantoid commented Feb 7, 2022

@kumar303 any chance of a fix for this?

Can't install fudge on python 3.9.10 which is a shame because it's my favourite mocking package and changing to another would be a lot of work.

@quantoid
Copy link

quantoid commented Feb 7, 2022

Note that pinning python to 3.9.6 or 3.8 fixes the problem for now.

@ford--prefect
Copy link

ford--prefect commented Feb 20, 2022

The use_2to3 statement is deprecated and not supported in setuptools>57.5. Either downgrade setuptools or find a way in the setup.py to get rid of the statement.
EDIT: just removing the statement from the setup.py works for me. Also note, that PEP517/518 deprecate setuptools and introduce a new way of building python projects.

@zeinramadan
Copy link

Either downgrade setuptools or find a way in the setup.py to get rid of the statement

Used this command to downgrade setuptools version 57.4.0 and it finally worked. Thanks.
pip install 'setuptools<57.5'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants