4 ms·
For using packages, venv + requirements.txt works, but is a bit clunky and confusing. Virtual environments are very easy to break by moving them or by updating
by Kwpolska 2y ago
For using packages, venv + requirements.txt works, but is a bit clunky and confusing. Virtual environments are very easy to break by moving them or by updating your OS (and getting a new Python with it). Poetry is one alternative, but there are far too many options and choices to make. For building packages, there are similarly many competing options with different qualities and issues.
- rbanffy 2y ago> Virtual environments are very easy to break by moving them Virtual environments are cattle. Don’t treat them as pets. Just use pip freeze and recreate them elsewhere.