spaCy/.github
Paul O'Leary McCann 1b5aba9e22
Don't re-download installed models (#12188)
* Don't re-download installed models

When downloading a model, this checks if the same version of the same
model is already installed. If it is then the download is skipped.

This is necessary because pip uses the final download URL for its
caching feature, but because of the way models are hosted on Github,
their URLs change every few minutes.

* Use importlib instead of meta.json

* Use get_package_version

* Add untested, disabled test

---------

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2023-01-31 11:31:17 +01:00
..
contributors updated spacy universe for spacyfishing 2022-06-20 14:28:49 +02:00
ISSUE_TEMPLATE Remove mention of 1.7 from issue template (#11570) 2022-10-03 11:53:21 +02:00
workflows update lock-threads to v4 (#11930) 2022-12-05 10:17:10 +01:00
azure-steps.yml Don't re-download installed models (#12188) 2023-01-31 11:31:17 +01:00
CONTRIBUTOR_AGREEMENT.md Update CONTRIBUTOR_AGREEMENT.md 2020-05-19 20:29:53 -07:00
PULL_REQUEST_TEMPLATE.md Update references to contributor agreement [ci skip] 2021-08-31 10:03:38 +10:00
spacy_universe_alert.py Github Action for spaCy universe project alert (#11090) 2022-07-07 17:50:30 +05:30
validate_universe_json.py Moved test for universe into .github folder (#9447) 2021-10-13 14:13:06 +02:00