Earlier quoted context omitted.
I think pip made some poor design choices very early, but pip stuck around for a long time and people kept using it. Of course things got out of control, then people kept inventing new package management until uv comes along. I don't know enough about Python to understand how people could live with that for so long.
Every big Python repo has a Dockerfile, which is much less common in JS.
PYX: The next step in Python packaging
311–320 of 479 posts
Re: PYX: The next step in Python packaging
#312Earlier quoted context omitted.
You can turn that off and allow global packages again if you want. Or install it with the os package manager or something simmilar
You assume the OS package manager I happen to be using even has packages for some of the libraries I want to use.
Re: PYX: The next step in Python packaging
#313Earlier quoted context omitted.
from what I hear uv is the "solved" and venv by hand is the old way
These tools together solve a fraction of the problen. The other parts of the problem are interfacing with classic c, c++ libraries and handling different hardware and different OSes. It is not even funny how tricky it is to use the same GPU/CUDA versions but with different CPU architectures and hopefully most people dont need to be exposed to it. Sometimes parts of the stack depends on a different version of a c++ li…
Re: PYX: The next step in Python packaging
#314Earlier quoted context omitted.
I started with "sudo apt install python" a long time ago and this installed python2. This was during the decades-long transition from python2 to python3, so half the programs didn't work so I installed python3 via "sudo apt install python3". Of course now I had to switch between python2 and python3 depending on the program I wanted to run, that's why Debian/Ubuntu had "sudo update-alternatives --config python" for ma…
Your comment shows the sad state of software quality those days. Rust is the same, move fast and break things. And lately also Mesa started to suffer from the same disease. You basically need, those days, the same build env like the one on the developer's machine or the build will fail.
Re: PYX: The next step in Python packaging
#315Re: PYX: The next step in Python packaging
#316Re: PYX: The next step in Python packaging
#317Earlier quoted context omitted.
This was basically the reason to use anaconda back in the day.
Anaconda was a good idea until it would break apt on Ubuntu and make my job that much harder. That became the reason _not_ to use Anaconda in my book. venv made these problems start to disappear, and now uv and Nix have closed the loop for me.
Re: PYX: The next step in Python packaging
#318Re: PYX: The next step in Python packaging
#319Earlier quoted context omitted.
I started with "sudo apt install python" a long time ago and this installed python2. This was during the decades-long transition from python2 to python3, so half the programs didn't work so I installed python3 via "sudo apt install python3". Of course now I had to switch between python2 and python3 depending on the program I wanted to run, that's why Debian/Ubuntu had "sudo update-alternatives --config python" for ma…
I understand this is meant as caricature, but for doing local development tools like mise or asdf are really something I've never looked back from. For containers it's either versioned Docker image or compile yourself.
Also I mean I understand mise but I personally just prefer using uv for python and bun for typescript both of which can run any version of python/ (node compliant?)
I still like the project though, but I tried to install elixir using it and it was a mess man.
Re: PYX: The next step in Python packaging
#320All python packaging challenges are solved. Lesson learned is that there is not a single solution for all problems. getting more strings attached with VC funded companies and leaning on their infrastructure is a high risk for any FOSS community.
And also if you mean that pyx might be hosted on uv, well I think the discussion can go towards that pyx should be made open source but honestly, I am pretty sure that someone might look at pyx and create a pyx api compliant hosted server or I am still curious as to how pyx works and what it actually truly does.