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

ArtifactoryPath: fix iterdir with Python 3.11 #433

Merged
merged 1 commit into from
Nov 2, 2023

Conversation

ktdreyer
Copy link
Contributor

On Python 3.11, pathlib's iterdir() calls directly to os.listdir(), so it does not go through ArtifactoryAccessor.

Similar to commit 5278d06, override iterdir() so that we call our own ArtifactoryPath implementation.

On Python 3.11, pathlib's iterdir() calls directly to os.listdir(), so
it does not go through ArtifactoryAccessor.

Similar to commit 5278d06, override
iterdir() so that we call our own ArtifactoryPath implementation.
@ktdreyer ktdreyer mentioned this pull request Oct 31, 2023
@allburov allburov merged commit 7160ef7 into devopshq:master Nov 2, 2023
5 checks passed
@allburov
Copy link
Member

allburov commented Nov 2, 2023

@ktdreyer thank you!

@ktdreyer ktdreyer deleted the py311-iterdir branch November 2, 2023 19:04
@ktdreyer
Copy link
Contributor Author

ktdreyer commented Nov 2, 2023

Thank you for shipping this to PyPI as 0.9.2!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants