Profile avatar
gjbernat.bsky.social
Senior Software engineer @Bloomberg (from πŸ‡­πŸ‡ΊπŸ‡·πŸ‡΄πŸ‡¬πŸ‡§), living in Los Angeles πŸ‡ΊπŸ‡Έ @ThePsf fellow. Maintainer of many - http://bernat.tech/about (tox, virtualenv,...) Python packages. Opinions my own.
29 posts 1,287 followers 759 following
Regular Contributor
Active Commenter

Seems neither my tutorial or two talk proposals made the cut for this years PyCon US conference :)

🎈🐍🎈 Exciting news! I've joined the @sovtechfund's Sovereign Tech Fellowship to maintain critical digital infrastructure in the #Python world! https://hugovk.dev/blog/2025/im-excited-to-join-the-sovereign-tech-fellowship/ And meet my fellow Fellows […]

Because prettier is a bit heavy weight for formatting XML/XSDs and there's no better alternative for a pre-commit hook that handles XML created xml-fmt pypi.org/project/xml-... (uses under the hood CPython stdlib XML formatter docs.python.org/3/library/xm...) - 3.9+.

Surprised me a bit that pre-commit-uv got 3 million downloads per month after just one of being released. 😱 Way more popular than expected πŸ€” cc @crmarsh.com

The latest virtualenv github.com/pypa/virtual... adds support for freethreaded Pythons, thanks Robsdedude for the contribution!

Textual 1.0 has been released. πŸ₯³ Three years in the making. A TUI framework that is bigger than the terminal. To celebrate, I want to give away some trade secrets. Because I am appalling at keeping secrets. Tell me what you think of the diagrams... textual.textualize.io/blog/2024/12...

We're excited to announce the #PyTexas 2025 tutorials! Join us April 11, 2025 as @alsweigart.bsky.social and @gjbernat.bsky.social lead us in two AMAZING tutorials! Get your tickets today: Schedule: https://www.pytexas.org/2025/schedule/tutorials/ Get Tickets 🎫 :

Today is my first day at Astral! Very excited to work with @crmarsh.com and the gang on Python tooling. It'll be fun (and strange) to focus on only one language for a bit!

Wonderful article on python packaging and project management. It focuses on uv. https://reinforcedknowledge.com/a-comprehensive-guide-to-python-project-management-and-packaging-concepts-illustrated-with-uv-part-i/ #python #uv

This cute armadillo wants you to submit to the #PyTexas CFP. He told me so. https://pretalx.com/pytexas-2025/ Deadline to submit: 12/1 @ 11:59pm CST

Proposals for @pytexas.org and @pycon.us 2025 done πŸ˜€ Make sure to submit yours before the deadline ends πŸ˜‡

I wrote a blog post explaining what the #PSF Conduct WG does since I have heard some people get it wrong. snarky.ca/what-the-psf...

@crmarsh.com seen UV@Jane street, you said with rust you have a high confidence that you will be able to run it. I don't share that opinion as I run into in the past cases where some dependency crate failed to compile, especially if you're using more novel platforms like ARM on Windows and MacOS πŸ˜…

Cut two releases to virtualenv today github.com/pypa/virtual... πŸ‘

Everyone who just joined and is looking for Python people to connect with, I made a "starter pack" with many of the fun accounts. Add them to your followers list, #python: go.bsky.app/3Uzma1g

I conducted an analysis of return-in-finally in real world Python code. Just don't do it. TL;DR: - it is not used often - when it is used, it's usually used incorrectly - code authors find it easy to fix Draft PEP: peps.python.org/pep-0765/ Full report: github.com/iritkatriel/...

Exploring VS Code compatibility with different @pytest.org plugins this week- got a plugin which is failing? Add a comment πŸ‘‡ github.com/microsoft/vs... also thanks @brianokken.bsky.social for this top plugin list I'm using as a jumping point pythontest.com/top-pytest-p...

Should we have a short form for variable type casting? How do people handle this Python typing use case? discuss.python.org/t/add-a-shor...

I just released Ruff 0.8! Lots of exciting features in this release, but there are also a few breaking changes, so I'd encourage users to check out the blog post. The biggest change is that the target-version setting now defaults to Python 3.9 (but this is configurable!) astral.sh/blog/ruff-v0...

🐍 The nominations are in for the 2025 #Python #SteeringCouncil! πŸ—³οΈ @pumpichank.bsky.social πŸ—³οΈ @corona10.bsky.social πŸ—³οΈ @emilyemorehouse.bsky.social πŸ—³οΈ Ethan Furman πŸ—³οΈ @gpshead.bsky.social πŸ—³οΈ @mariatta.ca πŸ—³οΈ @pablogsal.com πŸ—³οΈ @yhg1s.bsky.social Read their statements at peps.python.org/pep-8106/

If you are a Julia user you should be aware of this: yuri.is/not-julia/

It's me!! I had a chance to catch up with my pals @pablogsal.com and @lukasz.langa.pl on their awesome podcast last week, coincidentally right after my core dev promotion went through. If you like Python, open source, and balloons (!!!), this is the episode for you.

Also, 🚨 new argparse feature alert 🚨 Starting in 3.14, you can optionally enable suggestions for argument choices and subparser names if the user mistypes them via `suggest_on_error`!

Meet our newest member of the core developer team, @savannah.dev! Currently at Snowflake, she worked with dev tools at Docker and Microsoft, but also flew drones over forests. In terms of CPython, Savannah works on argparse and the JIT, but that's not her last word. open.spotify.com/show/1PGRfdr...

tox+uv is turning out to be a great pair of tools for quickly addressing maintenance debt. It's trivial to build a test environment that actually tests against your claimed minimum versions, and it builds fast. uv_resolution = min: lowest-direct github.com/tox-dev/tox-uv #python