-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #162 from thomasmarwitz/fix-hard-dependency
Fix hard dependency in s3fsstore
- Loading branch information
Showing
4 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Run in a temporary pixi env to check whether the installed package can be imported and | ||
# used to create an hfs store that doesn't require any additional dependencies. | ||
|
||
# This check is useful because we don't want to have hard-coded dependencies in the package | ||
# apart from "uritools". Everything else should be optional and only raise an ImportError | ||
# if the user tries to use a specific store backend, e.g. s3://. | ||
|
||
whl_file=$(ls dist/*.whl) | ||
pip install $whl_file | ||
python -c 'from minimalkv import get_store; get_store("hfs", path=".")' | ||
echo "Store creation successful" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters