|
|
|
|
|
by Borealid
546 days ago
|
|
That doesn't work well (enough) if you have one project that requires Python <3.10 and another that requires Python >=3.10. To really pin everything you'd need to use something like asdf, on top of poetry or a manual virtualenv. Otherwise you get your colleagues complaining that pip install failed with mysterious errors. |
|
Even in huge monorepos you can just use something like a Makefile to produce a local venv using PHONY and add it to clean too
This is how I actually test old versions of python, with versioned build targets, cython vs ...
You can set up almost any IDE to activate them automatically too.
The way to get you coworkers to quit complaining is to automate the build env setup, not fighting dependency hell, which is a battle you will never win.
It really is one of the most expensive types of coupling.