spaCy/spacy/cli/project
Adriane Boyd 1ebe7db07c
Support local filesystem remotes for projects (#11762)
* Support local filesystem remotes for projects

* Fix support for local filesystem remotes for projects
  * Use `FluidPath` instead of `Pathy` to support both filesystem and
    remote paths
  * Create missing parent directories if required for local filesystem
  * Add a more general `_file_exists` method to support both `Pathy`,
    `Path`, and `smart_open`-compatible URLs
* Add explicit `smart_open` dependency starting with support for
  `compression` flag
* Update `pathy` dependency to exclude older versions that aren't
  compatible with required `smart_open` version
* Update docs to refer to `Pathy` instead of `smart_open` for project
  remotes (technically you can still push to any `smart_open`-compatible
  path but you can't pull from them)
* Add tests for local filesystem remotes

* Update pathy for general BlobStat sorting

* Add import

* Remove _file_exists since only Pathy remotes are supported

* Format CLI docs

* Clean up merge
2022-11-29 11:40:58 +01:00
..
__init__.py Refactor project CLI (#5732) 2020-07-09 01:42:51 +02:00
assets.py prevent rewriting an already raw URL (#11810) 2022-11-15 14:15:00 +01:00
clone.py Try cloning repo from main & master (#10843) 2022-06-28 09:11:15 -04:00
document.py Remove nightly reference from auto docs [ci skip] 2021-01-30 20:12:08 +11:00
dvc.py Fix issues with DVC commands (#11592) 2022-10-18 15:11:39 +09:00
pull.py Auto-format code with black (#8895) 2021-08-06 13:38:06 +02:00
push.py Auto-format code with black (#8895) 2021-08-06 13:38:06 +02:00
remote_storage.py Support local filesystem remotes for projects (#11762) 2022-11-29 11:40:58 +01:00
run.py Auto-format code with black (#11792) 2022-11-11 09:58:31 +01:00