running into issues when upgrading flake8 to 6.0.0...
# general
p
running into issues when upgrading flake8 to 6.0.0:
Copy code
ERROR: Could not find a version that satisfies the requirement flake8==6.0.0
ERROR: No matching distribution found for flake8==6.0.0
e
Requires: Python >=3.8.1
So, I bet ...
p
also tried different versions of pants including 2.16
Copy code
[GLOBAL]
backend_packages = [
  "pants.backend.python",
  "pants.backend.python.lint.black",
  "pants.backend.python.lint.flake8",
  "pants.backend.python.lint.isort",
  "pants.backend.build_files.fmt.black",
]
pants_version = "2.15.0rc2"

[python]
enable_resolves = true
interpreter_constraints = ["CPython==3.8.*"]
tailor_pex_binary_targets = false
e
So read your IC closely
p
oh
e
And realize Pex is keeping you very honest.
p
wow
e
3.8.0 is included in *
p
thanks for the tip
how did you know it was >= 3.8.1
e
I guessed, then read: https://pypi.org/project/flake8/
🙌 1
See the sidebar
Sp adjust your IC and should then work.
Presumably you have no devs using exactly 3.8.0