@AlexWaygood@fosstodon.org
@AlexWaygood@fosstodon.org avatar

AlexWaygood

@AlexWaygood@fosstodon.org

Hacking on Python devtools written in Rust, at Astral 🦀🐍

CPython core dev in my spare time; open-source maintainer. Sometimes do journalism as well. Studied music in a previous life.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

AlexWaygood, to random
@AlexWaygood@fosstodon.org avatar

Very excited to announce that today was my first day as a software engineer at Astral! I'll be working on Python devtools written in rust such as Ruff and uv 😃🚀

AlexWaygood,
@AlexWaygood@fosstodon.org avatar

@hugovk @AlexWaygood I can neither confirm nor deny

treyhunner, to python
@treyhunner@mastodon.social avatar

What's a feature you wish existed but doesn't? 🤔

It can even be something others would think is absurd. 🛸

Dream big! 💭

AlexWaygood,
@AlexWaygood@fosstodon.org avatar

@treyhunner frozenset literals. Just don't ask me what the syntax should be, I don't know the answer 😀

simon, to random
@simon@simonwillison.net avatar

I finally spent some time figuring out a minimal way of developing and packaging a Python library using a pyproject.toml file

It turns out you can do it with just a pyproject.toml file - no setup.py, no setup.cfg - and the only tools you need are pip and build, with no need to use Poetry/Hatch/Flit/etc for the simplest case

https://til.simonwillison.net/python/pyproject

AlexWaygood,
@AlexWaygood@fosstodon.org avatar

@tintvrtkovic @simon what's actually so bad about "dev dependency groups" being published to PyPI? I've always figured that if end users want to install the test/lint/ whatever dependencies of my project, more power to them 😄

AlexWaygood,
@AlexWaygood@fosstodon.org avatar

@tintvrtkovic @simon one specific reason I quite like putting dev dependencies as a standard optional-dependency group is that it means somebody can come along and easily run the tests for a project, and doesn't necessarily have to learn how to use the package management tool that the project is using (which they may not be familiar with)...

AlexWaygood,
@AlexWaygood@fosstodon.org avatar

@tintvrtkovic @simon

...Putting https://github.com/python/typing_extensions/blob/main/.github/workflows/third_party.yml together was kind of a pain — some projects were using tox, some weren't, some were using pdm, some were using poetry, some were just using pip. There was no standardised way to "just install the test dependencies already!!".

Cattrs switched from poetry to pdm the day after we added the workflow 😆

AlexWaygood,
@AlexWaygood@fosstodon.org avatar

@tintvrtkovic Eh, you're probably right! Personally I still prefer to use standardised fields (not specific to any tool) in pyproject.toml wherever possible, though -- but YMMV :)

Also, to be clear, I definitely don't think cattrs has ever done anything wrong here at all! We're well aware that the workflow we have set up at typing_extensions is pretty fragile, and it's on us to stop it from breaking! :)

AlexWaygood, to random
@AlexWaygood@fosstodon.org avatar

I just published my blog series on the Python Language Summit 2023! Read all about it here: https://pyfound.blogspot.com/2023/05/the-python-language-summit-2023_29.html

(Be warned: the blog on the C API discussions is a fair bit longer than the others, as I'm talking about three talks in one blog post 😄)

AlexWaygood,
@AlexWaygood@fosstodon.org avatar

Many thanks to @ambv and Senthil Kumaran for once again having me as the Language Summit blogger -- found the process a little bit more stressful this year, but still had a blast doing it!

AlexWaygood,
@AlexWaygood@fosstodon.org avatar

This year's summit featured talks by Guido van Rossum, Mark Shannon, Antonio Cuni, Joannah Nanjekye, Michael Sullivan, @brettcannon, @freakboy3742, Dong-hee Na, Carl Meyer and @amethyst

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • mdbf
  • ngwrru68w68
  • tester
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • DreamBathrooms
  • megavids
  • tacticalgear
  • osvaldo12
  • normalnudes
  • cubers
  • cisconetworking
  • everett
  • GTA5RPClips
  • ethstaker
  • Leos
  • provamag3
  • anitta
  • modclub
  • lostlight
  • All magazines