-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
Python 3.12: ModuleNotFoundError: No module named 'setuptools' #620
Comments
I am unable to reproduce this at the tip of the master branch (currently b66411e). Does this happen at the tip of master, or with any recent releases? This part of your output suggests you may be testing a very old version:
dill 0.3.2 was released in June 2020, with 0.3.3 in November 2020. So I don't think
And for my next line, instead of:
I have:
This is what I expect, because With that said, even if I am understanding correctly and the problem you've reported here was effectively fixed in #469, it seems to me that there is at least one thing that should be updated, relating to Python 3.12 not having Lines 10 to 11 in b66411e
However, that cannot be the cause of test failures, because it appears in a docstring (that is not a doctest). |
@EliahKagan: Thanks for your posting. I was wondering the same thing. Good catch on the outdated docs. |
No problem--and thanks for the fix for that (#621)! I've noticed that the new instructions give an installation command that assumes the current directory is the location of that file (they refer to the repository root as Although I find this odd, I'm reluctant to propose that it be changed, in case it is intentional. |
Ah sorry, I failed to update my branch properly from upstream and it was very out of date. All is good when updating it. At least it helped update the docs :) Sorry again for the noise, and thank you for testing 3.12 pre-releases! |
Yeah, it's intentional. I thought it a bit odd too, but I think it more correct. Maybe it'd be better to say one should "cd to the package root" then |
The second and final Python 3.12 release candidate is out! 🚀
However, testing on Python 3.12.0rc2:
This will be due to the
setuptools
changes in Python 3.12:https://docs.python.org/dev/whatsnew/3.12.html#ensurepip
See also gitpython-developers/GitPython#1640 (comment) for more advice.
The text was updated successfully, but these errors were encountered: