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

Workaround for isabs() on Windows + Python 3.13 (#652) #652

Merged
merged 3 commits into from
Oct 22, 2024
Merged

Conversation

giampaolo
Copy link
Owner

Fixes #650.

Starting from Python 3.13, os.path.isabs("/foo") on Windows return False. This causes many file operations on Windows to fail with "Permission denied". This PR makes os.path.isabs() on Windows behave like in Python <= 3.12.

@giampaolo giampaolo merged commit 0914b22 into master Oct 22, 2024
8 of 9 checks passed
@giampaolo giampaolo deleted the py313-win branch October 22, 2024 10:47
@giampaolo giampaolo changed the title Py313 win Workaround for isabs() on Windows + Python 3.13 (#652) Oct 22, 2024
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.

File operations on Windows with Python 3.13 give Permission denied
1 participant