this post was submitted on 15 Feb 2025
44 points (97.8% liked)

Python

6688 readers
1 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
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 6 days ago* (last edited 6 days 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.