question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

3.0 Deprecation Warning: Deprecate fallback spaCy model

See original GitHub issue

Background 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:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
koaningcommented, Jul 12, 2021

The PR is ready and no longer a work in progress. The upgrade to spaCy 3.1 will be a separate PR.

1reaction
TyDunncommented, Jul 9, 2021

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found