I configured ```interpreter_constraints = ["CPytho...
# general
h
I configured
Copy code
interpreter_constraints = ["CPython>=3.8,<=3.8.10"]
but
pyenv
tried to install
3.8.16
. Is it possible to get it to fully respect these constraints?
Looks like the source code just uses
interpreter_versions_universe
?
b
Yeah, I think it's a "known" bug: https://github.com/pantsbuild/pants/pull/19462#discussion_r1264007907 Can you file an actual bug? Thanks!
h
Any tips on patching this locally? I know bazel has some mechanisms for patching things locally.
b
Thanks! I don't know the best way. I guess you could copy out the whole pyenv backend to a plugin, fix the problem (enough for you, anyway) and use that new backend instead of the built-in one. 🤷‍♂️ (Somewhat facitiously, another "patch" locally might be lifting your upper bound to support all 3.8 interpreters... but I can imagine that's not feasible 😄 )
h
Yup, it's not. We have tickets for it, but there's lots of asyncio deprecations to account for and a few other things blocking that.
On our roadmap for sure, though, since 3.8 is end of life
b
yeah, I feel you. Good luck!