spaCy/.github
Paul O'Leary McCann db56600536
Fix default parameters for load functions (fix #11706) (#11713)
* Fix default parameters for load functions

Some load functions used SimpleFrozenList() directly instead of the
_DEFAULT_EMPTY_PIPES parameter. That mostly worked as intended, but
the changes in #11459 check for equality using identity, not value, so a
warning is incorrectly raised sometimes, as in #11706.

This change just has all the load functions use the singleton value
instead.

* Add test that there are no warnings on module-based load

This will succeed due to changes in this branch, but local tests with
the latest release failed as intended.

* Try reverting commit and see if CI changes

There is an error in CI that is probably unrelated.

Revert "Fix default parameters for load functions"

This reverts commit dc46b35687.

* Revert "Try reverting commit and see if CI changes"

This reverts commit 2514ed07ef.

Co-authored-by: Adriane Boyd <adrianeboyd@gmail.com>
2022-11-03 10:52:59 +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 More version updates for github action deprecation warnings (#11705) 2022-11-02 15:36:30 +01:00
azure-steps.yml Fix default parameters for load functions (fix #11706) (#11713) 2022-11-03 10:52:59 +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