home.social

#pep723 — Public Fediverse posts

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

fetched live
  1. ✨🔍 Oh, rejoice! Another #Python savior has arrived to rescue us from the depths of #dependency #hell with some arcane UV and PEP 723 magic, only for us to be greeted by the ever-illuminating wisdom of a 406 #error page from #ModSecurity. 🚫🐍 Because who needs actual content when you can have a good old "not acceptable" server scolding? 🙄
    thisdavej.com/share-python-scr #PEP723 #Development #HackerNews #ngated

  2. @ofek Hello and welcome to Mastodon!

    #Python people: give @ofek a follow, he's the author of the #Hatch project manager and the #Hatchling build backend, plus cool tools like github.com/ofek/pypinfo, and wrote #PEP723 "Inline script metadata"!

  3. If I remember correctly, I couldn't get a file dependency working like `pipx run` for local development purposes, but the newest version of `uv` seems to work as I would expect.

    #Python #PEP723 #uv #pip #pipx

  4. I need to check how astral.sh/blog/uv-unified-pyth works with pypi.org/project/django-unicor now. When I tried it a month or so ago I ran into some snags, but maybe the issues have been smoothed over at this point.

    #Python #PEP723 #uv

  5. El PEP-723 ha sido aceptado. Con este PEP se permite añadir a los scripts de python información sobre el entorno de ejecución que, hasta ahora, había que especificar externamente con un fichero pyproject.toml o similar.

    realpython.com/python-news-oct

    Este modo de integrar dependencias en un único fichero de script sigue la tendencia de algunos otros lenguajes. La más notable serían las "directivas" de scala, con las que se puede controlar no sólo las dependencias, sino también las versiones de la máquina virtual jvm, las implementaciones del lenguaje, el testing y el building final.

    #scripting #python #pep723