-
Notifications
You must be signed in to change notification settings - Fork 5
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
Filename or extension too long (OSError) on Windows #119
Comments
Okay, for example on Windows 10 with Python 3.9.12
or with a different Python instead of the one from Anaconda
The second one is Python 3.10.4. |
The large number of nest directories |
It does seem to be specific to Maybe related to pypa/setuptools#4076? |
setuptools already has a built in system for finding packages. By explicitly finding packages without excludes we are discovery the build directory and producing infinitely nested directories when repeatedly installing from the root directory. Fixes carpentriesoffline#119
Thanks @hturner! That's super helpful. Based on that I'm guessing that this was an issue with repeated local builds as part of the testing effort. If that's right the #126 should fix the issue. Can you checkout that PR and see if that fixes things for you. Since I just had to look this up again yesterday for the 42nd time here's how to checkout the PR: git fetch upstream pull/126/head:test-branch
git switch test-branch |
@ethanwhite if you have |
Ooh that is nice! |
Reopening since we still need someone to confirm that the fixed worked. The fix has now been merged into main so reinstalling from main is all we need for a test. |
Reinstalling from main with |
Awesome! Thanks @hturner! As soon as we get a couple of other things merged I'll role a new release. |
From @jsteyn - creating a venv and installing inside it fixes the issue
The text was updated successfully, but these errors were encountered: