Skip to content

Conversation

@ldoktor
Copy link
Contributor

@ldoktor ldoktor commented Jun 18, 2025

in python <3.13 it raises FileNotFoundError, but python 3.13 seems to raise OSError exception instead when trying to unlock non-existing file.

Fixes: #147 (comment)

in python <3.13 it raises FileNotFoundError, but python 3.13 seems to
raise OSError exception instead when trying to unlock non-existing file.

Signed-off-by: Lukáš Doktor <[email protected]>
@ldoktor
Copy link
Contributor Author

ldoktor commented Jun 18, 2025

@pevogam if I read the traceback correctly it seems python3.13 raises a different exception when the file was already deleted (forceful cleanup or multiple cleanup). Please let me know if there are any other issues as once this is resolved I'd like make a release as there were quite a few important changes already.

@pevogam
Copy link
Contributor

pevogam commented Jun 18, 2025

Awesome and thanks for pushing this! I will try it right away and report back by tomorrow (since our integration tests take a few solid hours).

Copy link
Contributor

@pevogam pevogam left a comment

Choose a reason for hiding this comment

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

Indeed, affected tests pass now and this change is easy enough to review and say yes to.

@ldoktor ldoktor merged commit 5e615fc into avocado-framework:main Jun 19, 2025
3 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.

2 participants