3.0 Deprecation Warning: Deprecate fallback spaCy model
See original GitHub issueBackground This warning was found in:
- rasa.nlu.utils.spacy_utils.py:L140
"f""SpaCy model is not properly configured! ""
f""Please add a `model` property to `SpacyNLP`. ""
f""Will use '{spacy_model_name}' as a fallback spaCy model. ""
f""This fallback will be deprecated in Rasa 3.0"""
Definition of Done
- resolve warning in 3.0 version
- Removed all uses of _check_model_fallback in favour of using directly model from config. Here I assume we don’t have to do any checking on model – if a Spacy model with that name doesn’t exist, then Spacy will raise an error? 🤔 Currently, we do checking but it requires hard-coding all possible Spacy model names, which then leads to issues like Support spaCy 3.1 #9068 which are just about updating that hard-coded list afaics.
- Remove tests for _check_model_fallback
- Removed the references in the docs
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
What's New in v3.0 · spaCy Usage Documentation
Pipeline package symlinks, the link command and shortcut names are now deprecated. There can be many different trained pipelines and not just one...
Read more >Spacy linking deprecation error - Rasa Community Forum
This is caused by model: external_data/spacy.word2vec.model in your pipeline. Same error, but not same cause. Do you need that model?
Read more >Deprecations Added in Ember 3.x
This affects all classes that extend from EmberObject as well, including user defined classes and Ember classes such as: Component; Controller; Service; Route ......
Read more >migration_guide - OpenSSL
These functions are being deprecated in OpenSSL 3.0, and users of these APIs should know that their use can likely bypass provider selection...
Read more >What's New In Python 3.9 — Python 3.11.1 documentation
PEP 616, string methods to remove prefixes and suffixes. ... Mapping emits a DeprecationWarning since Python 3.3, released in 2012.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
The PR is ready and no longer a work in progress. The upgrade to spaCy 3.1 will be a separate PR.
@koaning Thanks for picking this up. This will be blocking the architecture revamp. Once 2.8 is released early next week, if you have not completed this issue (probably have two weeks), Enable might reach out about taking it over