-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
2to3 support not working with setup tools >= 58 #595
Comments
I don't think it's viable to keep pinning setuptools to 57.5. Prob time to drop python 2 support. |
@robjampar @jasonzutty @jameshughes89 I've created a Python 3.10 port of the DEAP library called DEAP-er. |
@anilbey |
Git history is extremely important and useful. Yet git history acknowledges the original authors of each commit. The authors are no longer recognised when ones copy pastes the code and rewrites the git history. |
In this case the solution is to:
|
This way some other forks of DEAP (there are >900 of them) can also use the changes you introduced in DEAP-er. Or maybe they'll switch to a branch on DEAP-er instead. |
@anilbey |
I am running python3.8 and using pip 21.3
If you install deap as a dependency of your package using a requirements.txt file pointing to the repo as:
deap @ git+https://github.com/deap/deap@master
you will get an error:
error in deap setup command: use_2to3 is invalid.
The install for the main package is run using
pip install .
and the requirements file is split line by line into a list and passed into install_requires in setup tools.setup()
This can be fixed by forcing setuptools==57 prior to running
The text was updated successfully, but these errors were encountered: