-
Notifications
You must be signed in to change notification settings - Fork 248
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug: hardcoded dev dependency versions breaks mypy usage #679
Comments
I don't understand why this would be an issue. Are you installing the dev dependencies? |
As far as I understand it poetry also tracks the dev dependencies from used libraries and groups them in the |
Huh. That sounds like an unhelpful behavior for Poetry. Unless you're doing development on Bleach, the tools for your application shouldn't be tracking Bleach dev dependencies. I'll look at redoing how Bleach tracks dev dependencies. |
I think it was an issue on my side. Sorry for the noise. |
Glad you figured something out! I will change how we manage dev dependencies in the next update soon. |
Describe the bug
I'm having an indirect bleach dependency in my code. Due to the usage of poetry my mypy version is restricted to
"mypy (==0.961)"
by bleach. This mypy version is not compatible with positional-only parameters (see python/mypy#13627).Thus I cannot use mypy anymore.
It would be nice if you could update your dev dependencies:
bleach/setup.py
Line 42 in 6cd4d52
python and bleach versions (please complete the following information):
To Reproduce
Steps to reproduce the behavior:
Numpy uses these kind of parameters so it is sufficient to run mypy on a script that imports numpy:
test.py
mypy test.py
Expected behavior
mypy does what it should do
The text was updated successfully, but these errors were encountered: