Love that you’ve kept the workspace support from Rye. Is there any support for workspace _builds_? That is, resolving the graph of interdependencies between packages to build a wheel/Dockerfile/whatever? Fwiw I’m building a thing [1] that does this. Current docs suggest Rye but will s/rye/uv/ shortly. It’s basically just some CLI commands and a Hatch/PDM plugin that injects needed stuff at build-time. [1] https://una…
Uv 0.3 – Unified Python packaging
41–50 of 60 posts
Re: Uv 0.3 – Unified Python packaging
#42Most people not on the bleeding edge use conda, not poetry? But people who are hip use rye and uv? Up until today and now they only use uv if possible?
I'm actually building a system around user-installed plugins. Where there is a UI to search for and install plugins on the fly.
Also one other thing just to double check, it is now very uncool or considered bad practice to use dynamic or flexible types in Python?
Re: Uv 0.3 – Unified Python packaging
#43Ok so stupid question.. even though the majority of package documentation seems to mention pip, it's very dated, right? And I have only been trying to focus a bit more on python the last couple of years, so actually I just found out about poetry like last month. But poetry is also very uncool now right? Most people not on the bleeding edge use conda, not poetry? But people who are hip use rye and uv? Up until today a…
Re: Uv 0.3 – Unified Python packaging
#44Ok so stupid question.. even though the majority of package documentation seems to mention pip, it's very dated, right? And I have only been trying to focus a bit more on python the last couple of years, so actually I just found out about poetry like last month. But poetry is also very uncool now right? Most people not on the bleeding edge use conda, not poetry? But people who are hip use rye and uv? Up until today a…
Conda is mainly used by ML, AI, and data science people and to a certain extent feels like its own separate ecosystem. In other areas, like web dev, conda use is pretty rare.
Re: Uv 0.3 – Unified Python packaging
#45Ok so stupid question.. even though the majority of package documentation seems to mention pip, it's very dated, right? And I have only been trying to focus a bit more on python the last couple of years, so actually I just found out about poetry like last month. But poetry is also very uncool now right? Most people not on the bleeding edge use conda, not poetry? But people who are hip use rye and uv? Up until today a…
Re: Uv 0.3 – Unified Python packaging
#46Does it support building native extensions and Cython modules or are setuptools still the only reasonable way to do this?
Re: Uv 0.3 – Unified Python packaging
#47Earlier quoted context omitted.
Conda is mainly used by ML, AI, and data science people and to a certain extent feels like its own separate ecosystem. In other areas, like web dev, conda use is pretty rare.
Ok so for web dev, are most projects using poetry, the, or something else?
The exception is if they have specific dependencies outside the CPython ecosystem - in which case they’ll probably be using conda. Examples of such dependencies include nodejs/cuda/cublas/specific versions of gcc. Webdev generally doesn’t have as many of these dependencies compared to the data world, which is why conda is less popular there.
Speaking in sweeping generalities here: you probably don’t need poetry, uv, or kin - at all. But there’s nothing wrong with choosing to use them if you prefer to do so either.
Re: Uv 0.3 – Unified Python packaging
#48Earlier quoted context omitted.
Ok so for web dev, are most projects using poetry, the, or something else?
Most projects do just fine with pip + venv, and that’s what they stick to. The exception is if they have specific dependencies outside the CPython ecosystem - in which case they’ll probably be using conda. Examples of such dependencies include nodejs/cuda/cublas/specific versions of gcc. Webdev generally doesn’t have as many of these dependencies compared to the data world, which is why conda is less popular there. S…
Re: Uv 0.3 – Unified Python packaging
#49Earlier quoted context omitted.
Most projects do just fine with pip + venv, and that’s what they stick to. The exception is if they have specific dependencies outside the CPython ecosystem - in which case they’ll probably be using conda. Examples of such dependencies include nodejs/cuda/cublas/specific versions of gcc. Webdev generally doesn’t have as many of these dependencies compared to the data world, which is why conda is less popular there. S…
ok.. thanks.. but the reaction in this thread seems to slightly contradict that? I didn't see anyone say "we use pip + venv, it works fine".
In the same way, none of the “fancy-pip-replacement” projects will outright obsolete pip or conda. They’re just tools that can work a bit more intuitively for new users and provide a bit of polish/UX value - but their niche fills the exact same role as pip/conda: managing the set of binaries on your PATH.