This is incredibly depressing news. Scam Altman is now in control of the supply chain of a significant portion of the Python community.
Fuck this shit.
This is incredibly depressing news. Scam Altman is now in control of the supply chain of a significant portion of the Python community.
Fuck this shit.
@veronica It seems people are now recommending PDM.
This is how you would install PDM:
python3 -m pip install --user pipx && pipx install pdm
@draeath @veronica If a project uses PDM, then any new contributor needs only to clone the git repository and execute 'pdm install' to get going. That command will automatically create the virtual environment.
For that to work, PDM obviously needs to be installed outside of your not-yet-existing project's virtual environment to be available. That typically leaves you with two options to install PDM:
pip install --user pdm
pipx install pdm
If you install more than one package into your user directory, then 'pip install --user' can lead to a dependency conflict.
'pipx install' avoids dependency conflicts because it isolates packages from one another. Thus pipx is the preferable command of those two.
In the case of PDM, you could also just rely on the official shell script for installation, which just downloads a "zip file" and extracts its contents to ~/.local/bin/pdm, but not every tool provides such a shell script. And if you've familiarized yourself with pipx already, it's convenient and a consistent experience to use it for everything.
@davidculley @veronica it seems like creating a venv isn't that difficult, especially so when one already is comfortable with python. I do it all the time.
The only pain point is when one needs a particular interpreter version (doubly so if the OS package manager doesn't offer it). I'll acknowledge one needs a solution for that.
@draeath @davidculley My main open source project is anyway distributed as an OS package or exe installer. The docs still recommend pipx for install from PyPi on platforms that I don't provide other packages for, so this isn't really a big deal for me. I'm comfortable using just plain pip myself, and the lock file isn't really necessary for this project (since it is designed to work with a wide range of Python and package versions).
My main issue, really, is replacing ruff.