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

pin setuptools to fix use_2to3 #178

Merged
merged 1 commit into from
Oct 27, 2021
Merged

pin setuptools to fix use_2to3 #178

merged 1 commit into from
Oct 27, 2021

Conversation

snacktavish
Copy link
Member

https://stackoverflow.com/questions/69100275/error-while-downloading-the-requirements-using-pip-install-setup-command-use-2

Peyotl install was failing - pinning setup tools to an older version fixes it, but doesn't seem like a long term solution...

@snacktavish snacktavish requested a review from jimallman October 13, 2021 20:36
@jimallman
Copy link
Member

I think this is a reasonable fix for now. My quick research on this suggests that the "real" fixes all depend on the upstream projects (i.e. our dependencies) moving past Python 2, or using lib2to3 or similar to handle both python versions. Some other solutions are discussed here, and in PEP 518 (using build-requires to specify the earlier setuptools for a package).

@jimallman jimallman merged commit bbbe0e8 into master Oct 27, 2021
@jimallman jimallman deleted the fix_anyjson branch January 24, 2022 19:22
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

Successfully merging this pull request may close these issues.

2 participants