Skip to content

Fix Win rename bug using tenacity#2725

Merged
mhsmith merged 9 commits intobeeware:mainfrom
JohananOppongAmoateng:win-rename-bug
Mar 13, 2026
Merged

Fix Win rename bug using tenacity#2725
mhsmith merged 9 commits intobeeware:mainfrom
JohananOppongAmoateng:win-rename-bug

Conversation

@JohananOppongAmoateng
Copy link
Copy Markdown
Contributor

Fixes #1780
On Windows, renaming a directory that was just created can fail with PermissionError: [WinError 5] Access denied. Based on the work of @spa51273 in #1826

PR Checklist:

  • All new features have been tested
  • All new features have been documented
  • I have read the CONTRIBUTING.md file
  • I will abide by the code of conduct

Comment thread pyproject.toml Outdated
Comment thread changes/1780.bugfix.rst Outdated
Comment thread src/briefcase/integrations/file.py Outdated
@mhsmith mhsmith changed the title Win rename bug Fix Win rename bug using tenacity Mar 9, 2026
Comment thread src/briefcase/integrations/android_sdk.py Outdated
Comment thread src/briefcase/integrations/android_sdk.py Outdated
Comment thread tests/integrations/file/test_Files__rename.py Outdated
Comment thread tests/integrations/file/test_Files__rename.py
Comment thread tests/integrations/file/test_Files__rename.py Outdated
Comment thread tests/integrations/file/test_Files__rename.py Outdated
Copy link
Copy Markdown
Member

@mhsmith mhsmith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks very much!

@mhsmith mhsmith merged commit 450c0a8 into beeware:main Mar 13, 2026
60 checks passed
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.

On Windows, renaming a directory that was just created can fail with PermissionError: [WinError 5] Access denied

3 participants