Skip to content

Conversation

pdet
Copy link
Contributor

@pdet pdet commented Mar 28, 2024

Fix for #10698


def test_fsspec_priority(self, require):
pytest.importorskip("fsspec")
pytest.importorskip("gscfs")
Copy link
Contributor

Choose a reason for hiding this comment

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

I think this will not be tested because the python extension CI job will not have gscfs installed, do we want to add this to make sure it gets tested on CI?

Copy link
Contributor

Choose a reason for hiding this comment

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

Instead we could create a dummy filesystem that corresponds to the "gcs" protocol, just to test that it gets picked over the system one

Copy link
Contributor

Choose a reason for hiding this comment

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

tools/pythonpkg/tests/fast/test_filesystem.py does this I believe, in test_multiple_protocol_filesystems

@github-actions github-actions bot marked this pull request as draft March 28, 2024 11:35
@Mytherin Mytherin marked this pull request as ready for review March 28, 2024 15:52
@Mytherin Mytherin merged commit af1ba84 into duckdb:main Mar 29, 2024
@Mytherin
Copy link
Collaborator

Thanks!

github-actions bot pushed a commit to duckdb/duckdb-r that referenced this pull request Mar 30, 2024
Merge pull request duckdb/duckdb#11400 from pdet/preference_fsspec
@pdet pdet deleted the preference_fsspec branch June 25, 2024 09:33
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.

3 participants