diff --git a/docs/tutorial/directory-and-assets.md b/docs/tutorial/directory-and-assets.md index 43216a1..57dbd43 100644 --- a/docs/tutorial/directory-and-assets.md +++ b/docs/tutorial/directory-and-assets.md @@ -72,7 +72,7 @@ a **Git repo** instead. ### Downloading from a URL or cloud storage Under the hood, Weasel uses the -[`smart-open`](https://github.com/RaRe-Technologies/smart_open) library so you +[`smart_open`](https://github.com/RaRe-Technologies/smart_open) library so you can use any protocol it supports. Note that you may need to install extra dependencies to use certain protocols. diff --git a/requirements.txt b/requirements.txt index f078186..4003e3e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,7 +4,7 @@ wasabi>=0.9.1,<1.2.0 srsly>=2.4.3,<3.0.0 typer>=0.3.0,<0.10.0 cloudpathlib>=0.7.0,<1.0.0 -smart-open>=5.2.1,<7.0.0 +smart-open>=5.2.1,<8.0.0 # Third party dependencies requests>=2.13.0,<3.0.0 pydantic>=1.7.4,!=1.8,!=1.8.1,<3.0.0 diff --git a/setup.cfg b/setup.cfg index 6157c3c..2543f3b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -37,7 +37,7 @@ install_requires = srsly>=2.4.3,<3.0.0 typer>=0.3.0,<0.10.0 cloudpathlib>=0.7.0,<1.0.0 - smart-open>=5.2.1,<7.0.0 + smart-open>=5.2.1,<8.0.0 requests>=2.13.0,<3.0.0 pydantic>=1.7.4,!=1.8,!=1.8.1,<3.0.0 diff --git a/weasel/cli/pull.py b/weasel/cli/pull.py index adc34da..612bf03 100644 --- a/weasel/cli/pull.py +++ b/weasel/cli/pull.py @@ -17,7 +17,7 @@ def project_pull_cli( ): """Retrieve available precomputed outputs from a remote storage. You can alias remotes in your project.yml by mapping them to storage paths. - A storage can be anything that the smart-open library can upload to, e.g. + A storage can be anything that the smart_open library can upload to, e.g. AWS, Google Cloud Storage, SSH, local directories etc. DOCS: https://github.com/explosion/weasel/tree/main/docs/cli.md#arrow_down-push diff --git a/weasel/cli/push.py b/weasel/cli/push.py index fdcda11..7682925 100644 --- a/weasel/cli/push.py +++ b/weasel/cli/push.py @@ -16,7 +16,7 @@ def project_push_cli( ): """Persist outputs to a remote storage. You can alias remotes in your project.yml by mapping them to storage paths. A storage can be anything that - the smart-open library can upload to, e.g. AWS, Google Cloud Storage, SSH, + the smart_open library can upload to, e.g. AWS, Google Cloud Storage, SSH, local directories etc. DOCS: https://github.com/explosion/weasel/tree/main/docs/cli.md#arrow_up-push @@ -30,7 +30,7 @@ def project_push_cli( def project_push(project_dir: Path, remote: str): """Persist outputs to a remote storage. You can alias remotes in your project.yml - by mapping them to storage paths. A storage can be anything that the smart-open + by mapping them to storage paths. A storage can be anything that the smart_open library can upload to, e.g. gcs, aws, ssh, local directories etc """ config = load_project_config(project_dir) diff --git a/weasel/cli/remote_storage.py b/weasel/cli/remote_storage.py index adcc13a..066b84b 100644 --- a/weasel/cli/remote_storage.py +++ b/weasel/cli/remote_storage.py @@ -20,7 +20,7 @@ class RemoteStorage: """Push and pull outputs to and from a remote file storage. - Remotes can be anything that `smart-open` can support: AWS, GCS, file system, + Remotes can be anything that `smart_open` can support: AWS, GCS, file system, ssh, etc. """