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.

Spacy Cli info method causing backward compatibility issues

See original GitHub issue

https://github.com/explosion/spaCy/blob/v3.0.0rc3/spacy/cli/info.py#L37 we should set default values for exclude here ^ ,in the method args.

This will cause backward comptatibility issues.

Example: File "/usr/local/lib/python3.7/site-packages/presidio_analyzer/nlp_engine/spacy_nlp_engine.py", line 31, in __init__ "\n\n {}\n\n".format(spacy.info(model_name))) TypeError: info() missing 1 required keyword-only argument: 'exclude'

Your Environment

  • Operating System: ubuntu
  • Python Version Used: 3.7.0
  • spaCy Version Used: v3.0.0rc3

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
KeshavG-lbcommented, Jan 22, 2021

yes, i can take this up, should be small fix.

0reactions
github-actions[bot]commented, Oct 27, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command Line Interface · spaCy API Documentation
spaCy's CLI provides a range of helpful commands for downloading and training pipelines, converting data and debugging your config, data and installation.
Read more >
Training a new model using cli throws error KeyError #3523
I am trying to train a new spacy model based on the Tweebank annotated data. For that I first tried using the training...
Read more >
explosion/spaCy - Gitter
So is that really backwards-compatible from the perspective of a user? ... there an easy way to implement stratified cross validation using the...
Read more >
Introducing spaCy v2.2 - Explosion AI
Version 2.2 of the spaCy Natural Language Processing library is leaner, ... To avoid breaking backwards compatibility, we're trying to only ...
Read more >
Python Cannot install module spaCy - Stack Overflow
The main issue appeared to be with pip. First of all, I deleted my pip cache as it appeared to be causing troubles...
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