CourtBouillon

Authentic people growing open source code with taste

Journey Book: March 2026

"Releases and improvements" should be the name of this month!

About Code

We released new versions of different libraries:

  • tinyhtml5 2.1.0 allows useless parameters for HTML input streams. That was causing issues on WeasyPrint side.
  • Flask-WeasyPrint v1.2.0 uses the new URL fetcher that has been included in WeasyPrint v68.0.
  • CairoSVG 2.9.0 fixes a security issue caused by the rendering of recursively nested use tags. It’s now limited and you have to use the --unsafe option to remove the limit.

Besides theses releases, we worked on WeasyPrint to add support of logical properties (like margin-block-start, padding-inline-end…) and viewport units (vw, vh…). That’ll be available in the next main version of WeasyPrint.

Work has also be done to generate Windows and macOS wheels 🧀️, including compiled non-Python libraries. If you have some time to give them a try, that’d be really helpful!

Flex layout got improvements on page breaks to avoid some weird content loss. Grid layout also got some improvements, to avoid infinite loops when grid is used inside columns.

To close the code part, we updated our samples to use nested CSS and CSS variables.

Not About Code

The video of Guillaume’s talk at PyConFR 2025 is available on PyVideo. In this presentation, he talked about our developer job: Are we paid to only write code? As you may guess by the name of the conference, the talk is in French 🇫🇷.

We published an article about why we don’t add type annotations in our libraries. That’s a question we had on several libraries bug trackers where we answered, but we thought it’d be more interesting to develop our point of view in a blog article instead of several GitHub issues on different repositories.

We also organised (and went, as usual) to the monthly Python meetup in Lyon 🐍. This month, Françoise talked about MkDocs: how to use it, but also how it’s not maintained anymore and which alternatives are coming.

And to finish, next month Lucie will be at the MixIT conference (16-17 April) in Lyon (France) to give a talk about getting started to contribute to Open Source. So if you’re around there, don’t hesitate to come and say hi 👋.

See you next month for another Journey Book entry 💜