Hmm… why is this not compatible? [SOLVED] ```You h...
# general
c
Hmm… why is this not compatible? [SOLVED]
Copy code
You have set interpreter constraints (`CPython<4 OR CPython>=3.6.*`) that are not compatible with those used to generate the lockfile (`CPython<4,>=3.6`). `flake8` determines its interpreter constraints
Dang, ok I see the
OR
now…
For symmetry, it would make sense if the
C1, C2
where presented as
C1 AND C2
to match the
OR
case… that would be clearer 🙂
h
The tricky thing is we probably want to preserve how you wrote them in your pants.toml, e.g. so you can grep it
Copy code
[python]
interpreter_constraints = [">=3.6,<4", "==2.7.*"]
We use
' OR '.join()
c
I think grep-ability is less important than conceptual clarity in the error message, imo.