-
Notifications
You must be signed in to change notification settings - Fork 37
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
Crash: error: [Errno 17] File exists
with setuptools >= 71.0.2
#531
Comments
Another workaround might be to add |
I too had the same issue using SetupTools 72.2.0. I reverted back to 70.3.0 and this issue went away. I was building using Python 3.12.5. |
I was having the same issue and reverted to 70.3.0, like @jwojcik999, and met with immediate success. |
same for me on macOS Sonoma with Python 3.12.5, reverted to 70.3.0 and problem solved |
This commit was sponsored by Devin Prater, and my other patrons. If you want to join them, you can support my work at https://glyph.im/patrons/.
Me too. I had to convince pip-compile to pin setuptools which was annoying, but it did indeed fix the issue. |
The app bundling process (
python ... py2app
) crashes with the messageerror: [Errno 17] File exists: [file path]
whensetuptools>=71.0.2
is installed.So far, I have seen the error occurring on
/build/bdist.macosx-10.9-universal2/python3.10-standalone/app/collect/typing_extensions-4.12.2.dist-info
/build/bdist.macosx-10.9-universal2/python3.10-standalone/app/collect/tomli-2.0.1.dist-info
/build/bdist.macosx-10.9-universal2/python3.10-standalone/app/collect/packaging-24.1.dist-info
but I guess this heavily depends on my app.
Reverting
setuptools
to version 71.0.0 or lower allows to build the app again.Failed Actions run: https://github.com/Syncplay/syncplay/actions/runs/10330005141/job/28600913447
Successful Actions run (70.3.0): https://github.com/Syncplay/syncplay/actions/runs/10332215649/job/28603217869
The text was updated successfully, but these errors were encountered: