home.social

#pythonuv — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pythonuv, aggregated by home.social.

  1. 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)?

  2. @resingm
    Can't wait until they start paying back their vc investors. I wonder if they'll introduce some extra paid services barely associated with existing tools, like #pydantic has, or will they pull the plug somewhere

    #python #astral #pythonUv

  3. Just figured out how to set up #pythonUv to use #kwallet

    need env variables with user name and keyring provider (subprocess), keyring python package installed (pipx) and password set with command:
    keyring set ${API endpoint} ${remote user name}
    provide token when prompted. That's it!

  4. pipx run uv install uv 😄

    uv is 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 uv and 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.

    #uv #python
    #PythonUv #AstralUv #UvTool