Tootfinder

Opt-in global Mastodon full text search. Join the index!

@veit@mastodon.social
2026-08-06 18:50:20

The BBQ for all the Python user groups in Berlin is in a week’s time. I’m already looking forward to meeting lots of Pythonistas: meetup.com/python-users-berlin

@mgorny@social.treehouse.systems
2026-09-05 18:21:14

Now time for something that's not related to Gentoo at all.
After almost two years of work in the #WheelNext Initiative, not to mention all the prior effort, first part of the #Python Wheel Variants proposal has been provisionally accepted as #PEP825. Thanks to everyone involved for your support!
discuss.python.org/t/pep-825-w
peps.python.org/pep-0825/

@frankel@mastodon.top
2026-09-22 17:29:10

#Python 3.15 Is Bigger Than You Think: 7 New Features Worth Using in 2026
medium.com/@captain-solaris/py

@publicvoit@graz.social
2026-07-28 15:51:06

#Python #uv users on #Debian: I've been using this setup:
apt install extrepo
extrepo enable uv
apt install uv
That worked perfectly for all local users using standard Debian package management …

@stf@chaos.social
2026-08-31 19:58:58

yearning for the days of #python v2.7 when everything was stable. the days when i was focusing on my code, and not on updating stuff because the underlying language changed again, without much benefit to me.

@tinoeberl@mastodon.online
2026-07-21 15:17:03

#Steady #Klimacrew
#BahnMonitor-Projekt: 7. Zufall ist nicht gleich Zufall. 🤭
Nach der Verspätungsmeldung kommt ein Wissenshäppchen. Der

@stsquad@mastodon.org.uk
2026-08-26 17:10:31

I don't often write #python but when I do I can apparently write python inefficient enough to start the fans spinning on my workstation for half an hour. It looks like Path's match involves a glob compile for every invocation and I have a lot of files (14k) to check against a lot of patterns (2314).

@chrysn@chaos.social
2026-07-15 14:04:26

A cool recent #Python change is PEP 783 <#pyodide

A browser window with a Python repl:

Welcome to the Pyodide 314.1.0.dev0 terminal emulator 🐍
Python 3.14.2 (main, Jul  8 2026 22:58:50) on WebAssembly/Emscripten
Type "help", "copyright", "credits" or "license" for more information.
>>> import micropip
>>> await micropip.install("cbor-diag >= 1.1.5")
>>> micropip.list()
Name      | Version | Source
micropip  | 0.11.1  | pyodide
cbor-diag | 1.1.5   | pypi
>>> import cbor_diag
>>> cbor_diag.diag2cbor("1, 2, 3", seq=…
@mgorny@social.treehouse.systems
2026-08-05 07:34:25

Me after laboriously backporting #Python 3.15 fixes to #Django 6.0.x in #Gentoo: "oh, nice, the patchset applies cleanly to 5.2.x as well."
And today, I have to laboriously backport another patch to 6.0.x, and it turns out the backport doesn't apply cleanly to 5.2.x, so I have to laboriously backport it there as well.
I honestly *hate* Django Python version support policy. Shifting all the burden downstream.

@gideonstar@mastodon.gideonstar.de
2026-08-26 08:29:03

EVE Online startet die Migrierung von Python 2 auf 3. Das kommt mir etwas verfrüht vor, ist das schon stable?
#eveonline #python

@hynek@mastodon.social
2026-07-22 09:31:30

speaking of slophub, here's environ-config 26.1.0 (my #Python take on loading config from env variables and secrets from safe places) a minor modernization update. thanks so much to every single name in the thanking section and to github who made it possible:

@nobodyinperson@fosstodon.org
2026-07-16 10:40:38

It's 2026 and :python: #Python's standard library *still* does not have a flatten function? 🤨
(Yes, more-itertools, that's not the point)

@rasterweb@mastodon.social
2026-08-14 18:23:24

My bike riding has been poor this year, due to spinal stenosis and then spinal surgery in June... but hopefully the numbers will go up for the rest of the year.
(And who knows? Maybe I'll update some of the Python code that generates these.)
#bikeTooter #python

Graph with bike riding data.
Graph with bike riding data.
Graph with bike riding data.
Graph with bike riding data.
@veit@mastodon.social
2026-07-26 14:49:22

On my way to Cologne for the next workshop on test-driven development with Python.
#TDD #Python #Testing

@tinoeberl@mastodon.online
2026-07-19 15:17:02

#Steady #Klimacrew
#BahnMonitor-Projekt: 5. Automatisierte Skripte brauchen Kontrolle – besonders bei API-Aufrufen.
Jetzt bekommt das

@samueljohn@mastodon.world
2026-07-19 13:20:29

TIL " #Python, for example, is a popular programming language that is famously smooth at handling integers of any size. If you peek into Python's underlying source code (search “Karatsuba” here)"

@ellie@ellieayla.net
2026-07-14 01:42:36

What are we using to package up Python application & dependencies into a single distributable file now?
I'm thinking of bundlers like RollupJS.
PEX? Zipapp? Docker image? Trying really dang hard to only use stdlib and shipping a boring wheel?
#python #packaging #askfedi

@michabbb@social.vivaldi.net
2026-08-22 22:36:50

📊 Requires #NodeJS 20 , #Python 3.11 with PyYAML and Bash 4.3 . Expected trade-off is about 3x the time and 2x the tokens. MIT licensed
🌐

@mgorny@social.treehouse.systems
2026-08-06 10:14:59

Today in things that couldn't have aged well:
"Unpin flit-core dependency" 2 years ago without actually updating the metadata to use the newer pyproject.toml format.
#Python #flit

@datascience@genomic.social
2026-09-08 10:00:01

Video tutorials for modern ideas and open source tools. #python

@mgorny@social.treehouse.systems
2026-07-25 16:44:55

Also, zero days (well, minus a lot of days because I've been slacking) since a random #Python package got a new #NIH dependency on another Python package which is actually a "fastest" #RustLang package which cannot be built because the author thinks it a great idea to require a nightly Rust compiler.
…and of course it's full of "unsafe" calls. Because Rust is obviously such a great language for making secure code.
github.com/awolverp/cachebox/i

@castarco@hachyderm.io
2026-08-27 11:11:58

I fully understand the saying "if it works, don't touch it"... but **this** is something else entirely :spinning_mushrooms:
#Python #LegacySystem

@nobodyinperson@fosstodon.org
2026-08-19 14:31:17

Holy cow, remember to clean your #uv cache from time to time, folks 😅
UPDATE: Seems to contain some links, deleting the cache only freed like 9GiB, but still...
#Python

/home/yann/.cache/uv/
27,6 GiB
505.110 Dateien (15 %)
@hynek@mastodon.social
2026-07-13 20:07:21

I’m somewhat embarrassed to finally announce svcs 26.1.0 – my solution to #Python service location and dependency injection.
It’s been a minute, and the changelog is chuck-full, but the main features are autowiring, which looked like a simple add-on that grew to a four-digit monster diff, and of course, TypeForms that allow registering/getting abstract types!

@michabbb@social.vivaldi.net
2026-09-17 19:51:09

📋 #ClaudeCode ships with a built-in cron scheduler. #Codex CLI does not. So I built one myself — one skill file plus one #Python helper, no daemon, no service, no queue

@rasterweb@mastodon.social
2026-08-31 14:45:11

I finally got around to working on my bike mapping project enough to publish the results...
#bikeTooter #python

@mgorny@social.treehouse.systems
2026-07-14 08:56:19

I wish #mypy would slow down with adding new features to mypyc, and instead focused on fixing the train wreck that mypyc is right now (since 2023 at least). Like, if your code crashes hard with assertions enabled, then it's broken, period. Ignoring proper testing and shoving the issue under the carpet doesn't make it right.
#Python

@veit@mastodon.social
2026-08-26 08:15:13

Alongside CUDA 13.3, Nvidia is releasing CUDA Python 1.0 as a direct CUDA interface for Python: #Nvidia #CUDA #Python

@mgorny@social.treehouse.systems
2026-07-26 02:06:59

Zero days since I've discovered a random #CPython bug that triggers in very specific circumstances and I don't really have time to report it, nor can expect anyone to do it for me.
This time it's a test failure and refcounts being broken while running fastjsonschema's test suite on #Python 3.15 freethreading with pytest's --junit-xml option enabled 😱. And of course removing --junit-xml makes all tests pass.
EDIT: and of course I cannot reproduce outside Portage. Yet inside, it reliably crashes every single time.

@michabbb@social.vivaldi.net
2026-08-14 19:23:46

🔧 The backend is #Python-based on top of #pipecat, the UI is #TypeScript. The architecture is modular so components can be swapped, and

@michabbb@social.vivaldi.net
2026-08-24 09:01:06

🎯 #Caddy on the VPS handles HTTPS with on-demand TLS. Certificates are auto-provisioned per subdomain, with a #ZeroSSL fallback when Let's Encrypt hits its 50-certs-per-week rate limit.
🔧 A small #Python

@mgorny@social.treehouse.systems
2026-07-15 04:57:12

The state of #Python ecosystem right now: almost everything is slop. Some projects are complete vibe-coded slop (autobahn, chardet, cryptography). Some projects are disguised slop ("Coding agents shouldn't co-author themselves.")
There is only a handful of human projects left (Flask being one bright example). And they're being killed. They're being killed by the neverending slew of slop pull requests. They're being killed by all their dependencies becoming slop. They're being killed because this whole ecosystem has became such a complete cesspit that you have zero motivation to do anything.
EDIT: and honestly, this is only going to get worse. When you kill the incentive to work on projects, you only get more slop. Maintainers give in, and more projects become slop. Or they give up, and projects get forked unto slop.
#NoAI #NoLLM

@mgorny@social.treehouse.systems
2026-09-26 04:58:38

Zero days since I regret filing a bug since it meant that some random asshole used life-destroying, nazi-supporting #slop machine to (checks notes) perform a two-line change that was precisely suggested in the bug report and add a test case that was also literally given on the bug. Well, at least they added a wall-of-slop explanation to the changes, so they wouldn't have to copy the one sentence explanation given on the bug.
#NoAI #Python

@mgorny@social.treehouse.systems
2026-09-26 07:11:47

#Python in a nutshell:
1. Let's use this new fancy #TOML thing for everything, it's so cool!
2. Everyone starts depending on third-party TOML libraries.
3. TOML library is finally added to the standard library, so people are moving to conditionally using it.
4. As old versions of Python become irrelevant, people are finally dropping fallbacks to the third-party library.
5. TOML 1.1 is introduced, and everyone has to start using a third-party library again… (at least until Python 3.15)
That's in case anyone is wondering why dev-python/tomli is suddenly getting installed on #Gentoo systems again.

@veit@mastodon.social
2026-08-14 08:37:29

I’m still completely blown away by yesterday’s BBQ for all the Berlin Python user groups – I met so many new people and had some great conversations. Many thanks also to our host, @…, for their ongoing support.: #Python #Berlin

@michabbb@social.vivaldi.net
2026-08-26 13:04:57

🐍 #Nvidia releases #CUDAPython 1.0 — direct #CUDA access from #Python at the same level as C …

@mgorny@social.treehouse.systems
2026-09-16 09:53:25

So now that #awscli 1.x is pretty much dead, I've finally gotten around to packaging 2.x properly for #Gentoo. You know, the one where other developers claimed it was impossible to build from source because (checks notes) upstream said so. So we instead must use their horrible 70M binary package that bundles its own Python interpreter along with all the random libraries and dependencies.
And guess what? Sure, they don't publish it to PyPI anymore, but it still is a regular #Python package branched out from 1.x. It has regular Python package dependencies, a regular Python build backend and when you build it with it, you get a regular Python wheel that can be installed and just works with the system Python and system dependencies.
Sure, it's crap, but it's no worse than the 1.x crap. It bundles a modified fork of the unreleased 2.x branch of botocore (now dead for 5 years, apparently) and a fork of s3transfer. It has some random meaningless dependency pins that we patch out. It has a horrible test suite that can eat tons of memory if run via xdist, but with some hackery, I've gotten it to work reasonably.
Honestly, I feel like Gentoo developers these days just don't care to even try.

@mgorny@social.treehouse.systems
2026-08-16 02:31:53

Source distributions that are significantly different than the git repository shouldn't surprise anyone anymore either.
#Python #packaging

@mgorny@social.treehouse.systems
2026-08-30 18:01:27

Oh no, I've missed another anniversary of sphinxcontrib-websupport 2.0.0 being released broken. Well, the author merged a fix to the git repository since, but never made another release. Let's not forget it's an official #Sphinx package and a required dependency of Sphinx itself.
#Python

@mgorny@social.treehouse.systems
2026-07-30 14:21:41

Zero days since #pip added a random new functionality that depends on pip being entirely standalone and breaks when you unbundle the dependencies. And I'm unable to figure out why a bunch of tests are still failing.
EDIT: I'd appreciate some help with that. My WIP is at #Gentoo #Python

@tinoeberl@mastodon.online
2026-10-04 15:17:02

#Steady #Klimacrew
#Datenanalyse von #Stromspeicher​n: Wieso wirken manche #Diagramme blasser als andere? Wie korrigiere ich Missverständnisse in der #Fachspezifikation? Wer mit Vibe Coding arbeitet, kann genauso wie beim normalen #Prompting iterativ vorgehen. Schritt für Schritt stellt man Change Requests und verbessert den #Quellcode.
#Energiewende #Stromspeicher #Datenanalyse #Datenvisualisierung #PythonCoding #VibeCoding

@mgorny@social.treehouse.systems
2026-07-29 02:35:19

Zero days since the #Python feedparser library switched to yet another #SGMLlib fork.
Yes, #Gentoo has only packaged the previous SGMLlib fork because of them.

@veit@mastodon.social
2026-09-09 10:07:10

I’m on my way to Berlin to meet some Pythonistas and old friends: #Python #Django #Berlin

@mgorny@social.treehouse.systems
2026-09-24 04:35:23

Challenge: have a #Python package use the same environment variable to disable building extension and to make tests not expect extension.
Difficulty: impossible.

@mgorny@social.treehouse.systems
2026-07-25 17:00:41

In the meantime, #GitPython, the package that used to be dead (because the author is busily working on their next great thing) is now slopping out 4 "security" releases a week, as their #slop machine is busily fixing unintended variable expansion in every single URL they call. Unfortunately, they probably don't have enough tokens to fix them all at once, so instead all downstreams have to deal with the churn of endless security releases. Or the brain to figure out that maybe they could just disable variable expansion by default and solve them all at once.
It's truly a great time to be a #Python packager.
#NoAI #NoLLM

@mgorny@social.treehouse.systems
2026-08-24 15:35:26

Zero days since I've named my variable `os`, in #Python.

@mgorny@social.treehouse.systems
2026-08-13 15:49:06

Remember `build-details.json` (PEP 739)? The file added to #CPython to support cross-compiling extensions?
Well, turns out it gets generated incorrectly when cross-compiling CPython itself 🤦. Let's see if I can fix that…
#Python

@mgorny@social.treehouse.systems
2026-07-17 09:32:27

So I wanted to unbundle #uChardet from #cChardet #Python package.
It didn't build against system uchardet 0.0.8. So I've checked, and it turns out cchardet is using some old patched fork of uchardet. Ugh.
Fortunately, upstream added the "missing" function too, with a different API (that's not really a problem), but they didn't make a release in 4 years. Ugh.
I could at least replace the old patched uchardet with upstream uchardet, right? Except now I'm getting test failures over misdetected encodings. 0.0.8 works fine there. Though the particular test doesn't look very realistic (note all the repetitions):
#Gentoo

@mgorny@social.treehouse.systems
2026-07-18 17:01:05

#PSA to #Gentoo users: Please don't upgrade to #CPython 3.14.0b4, that release is borked and causes segfaults in random packages. I've just pushed a mask but warning in case you hit the upgrade before it reaches you. We'll investigate when we have more time.
#Python

@mgorny@social.treehouse.systems
2026-08-31 03:47:03

In case you're wondering, the #Python zeroconf project is now busy asking people to agree to let them relicense the project from the #LGPL chosen by the original author to make corporations happy, and happily #AI #copywashing the code written by people who don't agree. Of course they also happily ignore what "derived works" are, and only care about lines of code.
#copyleft

@mgorny@social.treehouse.systems
2026-09-13 03:45:14

In other news, the #Python semver package has now #RustLang speedups. I'm sure they will come in handy in its reverse dependencies, which are (checks notes) net-analyzer/pontos. I'm sure that package needs to efficiently handle millions of semantic versions a second.
#Gentoo

@mgorny@social.treehouse.systems
2026-08-15 14:35:23

So if you're wondering how great #RustLang is, let's talk about #mypy. Mypy introduced its own Rust - #Python package, ast-serialize. This package had a deep crate dependency that was broken on PowerPC. The issue was fixed a month ago but everything is still blocked on a deep chain of dependencies being updated and released.
github.com/mypyc/ast_serialize
EDIT: yes, I know, it's not Rust, it's Cargo. Because obviously Rust without Cargo makes so much sense for that one project using it.

@mgorny@social.treehouse.systems
2026-09-09 02:15:28

I suppose there's something telling about the fact that a #Python library for file locks has… [checks notes]… 116 releases already.

@mgorny@social.treehouse.systems
2026-09-02 07:59:30

Do we already have a term for people whose ability to reason has seriously deteriorated after they started relying on #AI? If not, I propose slopbrain.
On a totally different topic, am I missing something here or is the maintainer plain wrong? #NoAI #NoLLM #Python

@mgorny@social.treehouse.systems
2026-08-29 07:26:07

Oh, right, in case I thought I'm going to have time to do useful things, I just realized I still need to deal with the humongous #Gentoo fallout from #Hypothesis #Python package requiring #RustLang now.

@mgorny@social.treehouse.systems
2026-08-21 14:35:19

#Python #pip: so, we have a bunch of `--no-*` options. You can also enable them via a configuration file. Some of them need to be assigned `true` to be enabled, while others need to be assigned `false` instead 🤡.
#UX

@mgorny@social.treehouse.systems
2026-09-13 02:45:20

Isn't it great that #Quart removed support for #Python 3.12 while it's only needed for #dnspython and #urllib3 tests, and we definitely can't remove 3.12 in urllib3? Gotta love the maturity of the Python ecosystem.
#Gentoo

@mgorny@social.treehouse.systems
2026-08-16 02:20:52

Zero days since someone added a custom #PEP517 backend on top of #setuptools, and screwed up.
#Python #packaging