-
Notifications
You must be signed in to change notification settings - Fork 29
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
Use fsspec for fetching external testing files #178
Conversation
This enables external files stored on all of the systems supported by fsspec. Also includes: - Two `extra_requires` options. `stactools[s3]` installs `s3fs`, which is required to use fsspec on s3 hrefs. `stactools[all]` includes `s3` and any future extra_requires. - CI tests for `stactools[all]`, to make sure we are testing both with and without `extra_requires`. - Version bump for `fssepc`. - Unit tests for `stactools.testing`, which leads to saying "test" a lot :-). - README instructions for install w/ optional dependencies
Converting to draft because I'm going to add some kwargs to the external data structure, as I need to use an endpoint url as documented here: https://s3fs.readthedocs.io/en/latest/#self-hosted-s3. |
f49d32e
to
da35a91
Compare
There's a package named `s3` so I couldn't use a dependency chain :-(.
The GOES data needed anon=True, and there's no way to default to that w/o an s3 config object, which we're already testing, so get it out of here.
Nice! This will be really useful. |
@gadomski Sorry for messing with your branch, but I updated the Dockerfile so that I could test this. I also got the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Related Issue(s): n/a
Description: This enables external files stored on all of the systems supported by fsspec.
Also includes:
extra_requires
options.stactools[s3]
installss3fs
, which is required to use fsspec on s3 hrefs.stactools[all]
includess3
and any future extra_requires.stactools[all]
, to make sure we are testing both with and withoutextra_requires
.fssepc
.stactools.testing
, which leads to saying "test" a lot :-).PR checklist:
scripts/format
).scripts/lint
).scripts/test
).