bitter-ability-32190
02/17/2022, 7:57 PMmypy
when adding a py3.7+ dep? The current project's Python requirement (>=3.6)
I thought Pants was 3.7+?bitter-ability-32190
02/17/2022, 7:59 PMvalid_for_interpreter_constraints..."CPython<4,>=3.6"
I would've expected the same value as `pants.toml`'s interpreter_constraints
bitter-ability-32190
02/17/2022, 7:59 PMbitter-ability-32190
02/17/2022, 8:58 PMmypy
doesn't inherit python
's interpreter_constraints
.
@hundreds-father-404 should it?hundreds-father-404
02/18/2022, 10:42 PM[python].interpreter_constraints
option + field.
But for what to run the tool, we use [mypy].interpreter_constarints
. If you have the default, we also check if your code is exclusively Py38+ and update the default constraints to match that if so, because MyPy run with <38 cannot target code >=38