#pythonuv — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #pythonuv, aggregated by home.social.
-
Today I read (about uv):
"Eggs were the pre-wheel binary format. pip still handles them; uv doesn’t even try. The format has been obsolete for over a decade."
Over the years I have tried to keep a “working” installer for the GoPiGo3 API .eggs as the PiOS and Ubuntu OS released annual versions.
Recently started to get message “setup.py deprecated”, and now I hear "obsolete for a decade"
50 years ago I installed with paper tape. I'm so old I'm going to "Rust" (with uv)?
-
Python UV empowers developers to rapidly build multi-version Python environments for efficient Odoo setups. Learn step-by-step configuration, execute commands seamlessly, and adopt best practices in our detailed tutorial. #PythonUV #Odoo #Development
-
-
I'm really impressed with "uv", a Python package and project manager (written in Rust): https://docs.astral.sh/uv/
I've been using pyenv (https://github.com/pyenv/pyenv) for years, but uv just ticks all the right boxes: fast, simple to use and lots of capabilities to make managing Python versions, virtual environments and accompanying dependencies a breeze.
So, if you are a Python developer, and if you haven't already, then I highly recommend that you check it out. You will like it.
-
#trusted_publishing with #pythonUv and #github_actions
1. set up trusted publishing in pypi
2. add `permissions: {id-token: write}` and `uv publish` step to the workflow,
3. profit -
Setting up trusted publishing with uv in GHA:
1. set up trusted publishing in pypi
2. add `permissions: {id-token: write}` and `uv publish` step to the workflow,
3. profit -
Pierwsze koty za płoty - mój pierwszy projekt zarządzany i opublikowany z UV
-
excited for uv to replace setuptools following https://github.com/astral-sh/uv/pull/7901 and https://github.com/astral-sh/uv/pull/7976
ty @charliermarsh and crew. Does Astral have a mastodon handle?
-
pipx run uv install uv😄uvis a tool written in Rust that replaces as a 95% drop-in replacement pip, pipx, pip-tools and a few other things.So far it's looking pretty cool. It's faster, I guess, and the output is a bit neater and more "interactive" or "live".
One great thing is that you can have a globally installed
uvand it will operate correctly in whatever your current Python environment, whereas with pip-tools you always need to take care to run the one installed in the environment you're compiling the pinned dependencies for, or it will calculate python version wrong for the dependencies that are conditional on that.