45
you are viewing a single comment's thread
view the rest of the comments
[-] logging_strict@programming.dev 2 points 2 months ago* (last edited 2 months ago)

What do you do when there is/are unavoidable package dependency conflict(s)? <-- biggest question in Python

Often times, split out into mutliple venvs.

For example, Sphinx requires py310+. My default is py39. myst-parser restricts dependencies rather than allow the latest and greatest. So there is an unavoidable need for two venv.

After setting up pyenv, how much setup is required, in pyproject.toml, to setup these two venv?

Looking at poetry, it's focused on one venv. And it's annoying it considers pyproject.toml to be a r/w file. I want to configure for an unlimited number of venv.

this post was submitted on 15 Feb 2025
45 points (97.9% liked)

Python

7010 readers
2 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

📅 Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

🐍 Python project:
💓 Python Community:
✨ Python Ecosystem:
🌌 Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS