Paul O'Leary McCann

Results 233 comments of Paul O'Leary McCann

Thanks for the code sample. It works with Python 3.9 but I was able to reproduce the error with Python 3.6.9, so I guess it's Python version related. We'll take...

So what's happening is that when gunicorn loads `ContextVar`, the type annotation is failing for some reason. I am not sure why this happens. First, Python 3.6 is a bit...

I spent some time on this but was unable to figure out what was going wrong. While we'd be glad to accept a PR for this, since it only comes...

Thanks for the extra report. It's worth noting that Python 3.6 has reached end of life at this point. Where you using 3.6 or an older version? Is upgrading your...

As noted upthread, this issue only happens in 3.6 (or, presumably, lower versions) because of the use of a backported library. The relevant code is part of the standard Python...

This also came up in the [coref PR](https://github.com/explosion/spacy-experimental/pull/17#issuecomment-1202329725) in `spacy-experimental`. It was pretty confusing but upgrading the Torch version did fix it.

My initial reaction to this was to suspect that it was a bug in Thinc, but I also think this is not a version combination that normally happens in the...

This is basically because `grad_factor` isn't designed to take a sequence of values, like an iterator, as you note. That's not just an oversight, the transformers model isn't designed to...

You can call code with `python -W ignore script.py` to turn off all warnings ([docs](https://docs.python.org/3/using/cmdline.html#cmdoption-w)). This is not special or unique to spaCy.

I repackged the levensthein library to use wheels so you don't have to compile it. I haven't tested it much but you can install it with the command below, maybe...