News for hackers. Stuff that matters.
Re:GIL Become Optional in Python 3.13 by dijit on Monday August 12, 2024 @03:01AM (#41221851)
Usually us plebs use the system python.

With no python version manager (I don’t even know any off the top of my head).

Also virtualenvs only get you so far, I’ve come back to many projects on my machine with broken virtualenvs, I guess due to some dynamically linked dependency of python that my system no longer has.

:(

Re:GIL Become Optional in Python 3.13 by ok_dad on Monday August 12, 2024 @03:28AM (#41221996)
> With no python version manager (I don’t even know any off the top of my head)

Try a tool called `pyenv`. It's pretty great. I pair it with the package manager called `poetry`.

Re:GIL Become Optional in Python 3.13 by Joeboy on Monday August 12, 2024 @08:51AM (#41223839)
Or https://github.com/astral-sh/uv can replace both. Various features are tagged as "experimental", and I guess the api might change, but it seems to work already. I have high hopes for it eventually making python's fragmented package management issues go away.

Edit: Somebody's going to respond with the XKCD aren't they? I know about the XKCD and I nevertheless have high hopes for `uv`.

Re:GIL Become Optional in Python 3.13 by Izkata on Monday August 12, 2024 @12:04PM (#41226013)
Looks like pyenv does the same thing as asdf, except only for python.

https://github.com/asdf-vm/asdf

And here's a list of everything it supports: https://github.com/asdf-vm/asdf-plugins/tree/master/plugins

Re:GIL Become Optional in Python 3.13 by jashmatthews on Monday August 12, 2024 @04:22AM (#41222310)
It's the sledgehammer approach but... Docker?
Re:GIL Become Optional in Python 3.13 by mort96 on Monday August 12, 2024 @07:37AM (#41223333)
Using Docker in order to avoid ever updating Python sounds like a great way to end up in severe tech debt tbh
Re:GIL Become Optional in Python 3.13 by p_l on Monday August 12, 2024 @01:30PM (#41227082)
Arguably it was also non-trivial part of why some places started using Docker...