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

Fix PurePosixPath bug #4

Merged
merged 1 commit into from
Jul 25, 2024
Merged

Fix PurePosixPath bug #4

merged 1 commit into from
Jul 25, 2024

Conversation

ciaransweet
Copy link

What this PR is

This PR fixes an issue where the docs_store.py implementation was using PurePosixPath to create directory paths, which is great till you pass it a fsspec style url path like s3://my-bucket/to/something as it strips out the :// in favour of :/ which breaks!

Shifting to just using os.path.join shouldn't cause any issues and seems to work still with S3..

@ciaransweet ciaransweet merged commit 2d0a9e8 into main Jul 25, 2024
0 of 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.

1 participant