Tootfinder

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

@hynek@mastodon.social
2026-06-03 04:43:34

i'm so fucking sick of it
i've got ONE extremely simple and extremely explicit contribution rule/brown m&m test: do not delete the PR checklist
since i'm busy getting structlog out, I’ve let the attrs bug tracker a bit off the leash
go & count for yourself how many PRs opened in the past month followed that instruction.
(and of course, this is not about bureaucracy; they violate many of the important items on that list)

@netzschleuder@social.skewed.de
2026-08-02 02:00:09

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@rasterweb@mastodon.social
2026-06-05 14:41:30

I tried to get someone’s Python code to work and could not due to errors and I did a few searches and then gave up.
I could try using some AI chatbot bullshit to help me out but fuck that… it’s easier to just give up and walk away. Oh well.

@mszll@datasci.social
2026-08-05 08:55:21

City2Graph: A Python library for Heterogeneous Graph Neural Networks and spatial analysis in urban systems
sciencedirect.com/science/arti
Looks very interesting!

Conceptual diagram of the City2Graph framework.
@veit@mastodon.social
2026-06-01 05:42:17

If uv is not available in a Python environment, you can still specify the versions using pylock.toml. We have described how to do this here: python-basics-tutorial.readthe

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

#Steady #Klimacrew
Wie lassen sich #Wechselrichterdaten vom APsystems EZ1 lokal speichern?
Für statistische Auswertungen müssen alle Daten kontinuierlich gespeichert werden. Wie…

@mgorny@social.treehouse.systems
2026-07-04 04:49:14

#Python Hypothesis package now requires #RustLang. This is a scale of reverse dependencies I can't handle. I guess this means it's the end of WD40 profiles on #Gentoo, and therefore the end of support for Alpha, ARM<v6, HPPA, M68k, i486 and some other random subsets of architectures and profiles. Thanks for all the fish, etc.
github.com/HypothesisWorks/hyp

@nobodyinperson@fosstodon.org
2026-05-06 09:26:49

Installing #Spyder on :nixos: #NixOS, ugh... 😩
• must use spyder from unstable, in stable it depends on insecure qtwebengine-5
• it runs, but the interactive terminal needs spyder_kernels module
• adding python3Packages.spyder-kernels to the python env, doesn't help
• putting pytho…

@emilis@social.linux.pizza
2026-07-04 16:29:05

Who thought it was a good idea to put spinners in a shell script?
`pip install` has been running for a few minutes now at 100% CPU and all progress I see is an effing spinner on the last line.
Had to look at process list to see it's not stuck.
#python #pip

@michabbb@social.vivaldi.net
2026-07-04 01:55:57

🧩 Rich plugin ecosystem: hundreds of plugins run tasks anywhere — local, SSH, #Docker, #Kubernetes or serverless task runners — and code in any language including #Python, Node.js, R, Go and S…

@frankel@mastodon.top
2026-06-26 17:01:54

PEP 832 – Virtual environment discovery
#python

@netzschleuder@social.skewed.de
2026-08-02 19:00:08

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@veit@mastodon.social
2026-07-01 06:56:09

On my way to a flying visit to Berlin. Tomorrow, the Python Users Berlin (@…) are meeting for a talk by Sam Bail on PySpark: meetup.com/python-users-berlin

@andres4ny@social.ridetrans.it
2026-07-04 03:06:11

Yes, I abuse f-strings in python because "print(f'" will always make more sense to my C-poisoned brain than "print('".

@mgorny@social.treehouse.systems
2026-07-04 13:51:09

And the next big blocker for #Python 3.15 in #Gentoo is time-machine. Which is obviously broken. There's a patch but it's #slop and complex, and it's sitting for 3 months already with no reply. Because obviously patching CPython internals is so much a better idea than freezegun ever were. All these time-based tests need all the ricing you can get; portability doesn't matter.
github.com/adamchainz/time-mac

@gray17@mastodon.social
2026-06-02 18:41:15

> We introduce gpusnek, a fully functional Python interpreter ported to CUDA, enabling execution of arbitrary Python code directly on the GPU by running one whole interpreter on every CUDA core/thread. This is a tremendously bad idea, but for the duration of this paper we pretend that it is not
[Josef Dean in SIGBOVIK 2026]

@publicvoit@graz.social
2026-07-31 14:27:47

In 1979, #MontyPython released their epic #film "Monty Python's Life of Brian": en.wikipedia.org/wiki/Life_of_

@fanf@mendeddrum.org
2026-07-25 08:42:03

from my link log —
SIMD within a bignum in pure Python.
da.vidbuchanan.co.uk/blog/pyth
saved 2026-07-25

@heiseonline@social.heise.de
2026-06-11 14:07:00

heise | Grundlagen in Python: Dictionarys meistern und Daten effizient organisieren
Mit Schlüssel-Wert-Paaren lassen sich Daten clever strukturieren. Wir zeigen, wie Sie Python-Dictionarys effizient erstellen und steuern.

@netzschleuder@social.skewed.de
2026-06-01 11:00:06

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@hynek@mastodon.social
2026-07-30 06:16:42

Happy to announce v3.0.0 of my build-and-inspect-python-package GitHub Action that does what the name says.
If u maintain a Python pkg u should really give it a look! Much, much fewer broken pkgs have been pushed to PyPI & who doesn't love automatic trove classifier − GHA test matrix conversion‽
This release brings you Twine 7 & with that packaging metadata 2.5 & PEP 794 (Import Name Metadata) – also a new release procedure: no more trailing v3 tags – only full ve…

@rasterweb@mastodon.social
2026-06-30 04:00:01

➡️ Python f-string Tips & Cheat Sheets
#bookmarks

@berlinbuzzwords@floss.social
2026-06-03 06:45:13

Kafi Streams, built on (Py)DBSP, treats streaming like batch. Strongly consistent from day one. An open source Python library for the 80% of use cases that do not need extreme scale. Ralph Matthias Debusmann will be unveiling it at #bbuzz26.
Learn more: 2026.berlinbuzzwords.de/sessio

@frankel@mastodon.top
2026-06-23 09:13:33

#Python 3.15 #Lazy #Imports: Faster Startup Times and the Design Behind PEP 810

@mot@chaos.social
2026-07-27 00:15:36

I got nerd sniped so hard by this CTF puzzle in my feed and tried to solve it for the better part of the weekend...
infosec.exchange/@rebane2001/1

Screenshot of "Python Crossword" from https://crossword.pyjail.club filled in with solutions (redacted):

"Made by @lydxn ❤️
Inspired by Lyra Rebane's JS Crossword ✨

How to Play

    Every clue in the crossword is a Python expression that evaluates to its answer.
    Each expression runs in a browser-sandboxed, 64-bit WASM build of Python 3.14.4.
    All input characters must match the regex /[!-~]/.
    All squares in the crossword must be filled, leaving no empty spaces.
    Please do not pu…
@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-07-02 13:13:26

#TIL that the Python Pillow library uses the PING command as a #Windows equivalent of sleep.
#cmd

@nobodyinperson@fosstodon.org
2026-05-06 21:03:37

@… Yes, for a Python tutorium.

@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 …

@netzschleuder@social.skewed.de
2026-06-28 23:00:07

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@cdonat@hostsharing.coop
2026-05-25 12:12:44

Is it only me, or has the hashtag #Python converted in to a LinkedIn-like wave of marketing bullshit? I really like Python, and use it a lot, but this is becoming unbearable.

@rasterweb@mastodon.social
2026-05-28 04:58:41

➡️ PyPI · The Python Package Index
#bookmarks

@guerda@ruhr.social
2026-06-21 13:05:45

Discovered a segfault in #FastAPI very strange, does only happen on MacOS with Python 3.14.0 ALPHA
The reason was that I was unaware that I ran an alpha version of Python 3.14.
FastAPI segfaults with Python 3.14.0 on MacOS · fastapi/fastapi · Discussion #15819

@ErikJonker@mastodon.social
2026-07-30 12:15:22

There is more then Generative AI / LLMs , nice article about this,
"The important skill is not always choosing the newest model. It is choosing the right model for the problem."
kdnuggets.com/7-machine-learni

@nelson@tech.lgbt
2026-07-06 15:16:35

A little appalled at how the Jules agent is editing my code. Instead of editing the file, it is writing Python programs to rewrite the file with a silly little state machine. Honestly it sort of makes sense given LLM's limitations, but it's still awful.

for line in lines:
if line == " # Connect to SQLite database":
new_lines.append(line)
elif line == " conn = sqlite3.connect(db_path)":
new_lines.append(" with contextlib.closing(sqlite3.connect(db_path)) as conn:")
in_with = True
elif line == " conn.close()":
in_with = False
continue
elif in_with:
if line == "":
new_lines.append("")
elif line.startswith(" "):
new_lines.append(" " line)
else:
new_lines.append(line)
else:
new_lines.append(line)
@theodric@social.linux.pizza
2026-06-30 22:53:13

ESPHome > reading other people's brainwormed C and turning it into Python to run on the Pi3 I have in the shed and then wondering why the fuck it broke after a sysupgrade

@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

@avstockhausen@fedihum.org
2026-06-10 11:00:02

Bookmarked: Phillip B. Ströbel: Von der Pythia zu Python. Einführung in die Programmierung für die Geschichtsforschung #Jupyter

@nobodyinperson@fosstodon.org
2026-05-06 21:35:19

@… Yeah the students use Windows, but I of course also need to be able to use the IDE that's established in the course 😅 Took my a tad longer that I'd have liked to get it running, but as usual with NixOS, I now have something reprodicible and who knows how often I might need just that.
Python's strict indenting also trips me up and …

@mgorny@social.treehouse.systems
2026-06-01 02:39:46

It's always important to have a consistent #security policy.
For example, a policy of "If somebody filed a CVE, it's an important security issue, and we will fix it as such, no matter how meaningless the fix is. If nobody did, it's just a glorified bug fix, no matter how serious the bug was."
So we've just seen a #pip security release over "installing random packages can overwrite pip's files and pip can lazy-import some of them immediately afterwards", with a fix of "pip will no longer load them until you run it again" (leaving the underlying security issue of "any #Python package can override files installed by any other Python package" as intended behavior). As Eli Schwartz beautifully put it, you are not expected to be using the virtual environment; you should create it, install packages into it (at most once!), and then frame it and put it on the wall to admire.
Now we're seeing a "bug fix" for "malicious entry point names can write outside of virtual environment". If nobody filed a CVE, it's obviously not a security issue at all. At least upstream graced us with fixing it without correcting the spec to forbid that first.
github.com/pypa/pip/issues/140

@grumpybozo@toad.social
2026-06-14 23:12:55

RE: seattle.pink/@mxchara/11675012
The fact that (so far) Python is in the lead makes me sad.
Python is unfit for system administration. You’ll only convince me otherwise when every fucking Python program doesn’t need its own bespoke …

@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

@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)"

@hynek@mastodon.social
2026-05-30 12:08:13

I’d like to announce the most unlikely #Python package release:
service-identity 26.1.0, the best way to verify if a certificate is valid for a hostname, IP, or URI is out!
The main change is that we were able to switch from pyasn1 (thank you for more than a decade of great service! 🫡💛) to do everything within PyCA's cryptography.

@netzschleuder@social.skewed.de
2026-07-27 02:00:08

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@veit@mastodon.social
2026-06-21 14:27:46

I’m organising the next @… meet-up, featuring a talk by Sam Bail on PySpark: meetup.com/python-users-berlin

@arXiv_csOS_bot@mastoxiv.page
2026-06-03 07:36:32

Agent libOS: A Library-OS-Inspired Runtime for Long-Running, Capability-Controlled LLM Agents
Yingqi Zhang
arxiv.org/abs/2606.03895 arxiv.org/pdf/2606.03895 arxiv.org/html/2606.03895
arXiv:2606.03895v1 Announce Type: new
Abstract: Large language model (LLM) agents are evolving from request-response assistants into long-running software actors: they maintain state across model calls, fork subtasks, wait for external events, request human authority, generate tools, and perform side effects that must be resumed and audited. This paper presents Agent libOS, a library-OS-inspired runtime substrate for LLM agents. Agent libOS runs above a conventional host operating system; it does not implement hardware drivers, kernel-mode isolation, or a POSIX-compatible operating system. Instead, it treats an agent as an AgentProcess: a schedulable execution subject with process identity, parent-child lineage, lifecycle state, a tool table derived from an AgentImage, typed Object Memory, explicit capabilities, human queues, checkpoints, events, and audit records. Its central design rule is tools are libc-like wrappers; runtime primitives are the authority boundary. Filesystem access, object access, sleeps, human approval, JIT tool registration, and external side effects are checked at primitive boundaries under explicit capabilities and policy.
We describe the design, threat model, Python prototype, and safety-oriented evaluation. The current prototype implements async scheduling, namespace-local Object Memory, runtime-integrated human approval, one-shot permission grants, per-process working directories, shell and image-registration primitives, Deno/TypeScript JIT tools over a libOS syscall broker, filesystem/object bridge tools, an injectable Resource Provider Substrate, deterministic demos, real-model smoke scripts, and 123 regression tests at the time of writing. Rather than improving planner accuracy, Agent libOS demonstrates a runtime substrate in which long-running LLM agents can be scheduled, authorized, resumed, and audited without treating tool dispatch as the trust boundary.
toXiv_bot_toot

@arXiv_physicsgeoph_bot@mastoxiv.page
2026-07-03 07:55:20

Joint elastic full waveform inversion of multi-component geophone and distributed acoustic sensing data
Hoang Anh Nguyen, Ali Tura
arxiv.org/abs/2607.01649 arxiv.org/pdf/2607.01649 arxiv.org/html/2607.01649
arXiv:2607.01649v1 Announce Type: new
Abstract: Joint full waveform inversion (FWI) of distributed acoustic sensing (DAS) and ocean-bottom node (OBN) data typically requires converting measured strain to particle velocity, introducing numerical noise and spectral distortion. To eliminate this, we present an elastic multi-parameter FWI framework using a velocity-stress-strain (VSS) formulation that directly models pressure, particle velocity, and gauge-length-averaged DAS strain from a single forward simulation. Data residuals are injected additively into a single backward simulation, making computational cost independent of the active sensor subsets. We benchmark individual and combined datasets on cross-talk and elastic Marmousi models. Our results show that joint inversion recovers elastic parameters more accurately than single deployments when the sensors offer complementary information. Specifically, pairing two-component geophones with a deviated borehole DAS cable yields the most accurate parameter recovery and mitigates inter-parameter cross-talk by providing a distinct physical observable and complementary depth aperture. We release our implementation as xFWI, an open-source, Devito-based Python package for scalable, multi-deployment inversions.
toXiv_bot_toot

@rasterweb@mastodon.social
2026-06-29 04:00:03

➡️ fstring.help: Python f-string Guide
#bookmarks

@grahamperrin@bsd.cafe
2026-06-28 16:50:19

@… @… @…
An ideal is that it should not happen.
The reality might be Python-related in…

@arXiv_physicscompph_bot@mastoxiv.page
2026-07-03 09:03:49

Replaced article(s) found for physics.comp-ph. arxiv.org/list/physics.comp-ph
[1/1]:
- Walking on Spheres and Talking to Neighbors: Variance Reduction for Laplace's Equation
Michael Czekanski, Benjamin Faber, Margaret Fairborn, Adelle Wright, David Bindel
arxiv.org/abs/2404.17692 mastoxiv.page/@arXiv_physicsco
- From Experiments to Expertise: Scientific Knowledge Consolidation for AI-Driven Computational Phy...
Haonan Huang
arxiv.org/abs/2603.13191 mastoxiv.page/@arXiv_physicsco
- Grounded autonomous scrutiny at scale: emergent critique from reproduction of published computati...
Haonan Huang
arxiv.org/abs/2604.12198 mastoxiv.page/@arXiv_physicsco
- libwignernj: a reusable C/C /Fortran/Python library for exact Wigner symbols and related coeffic...
Susi Lehtola
arxiv.org/abs/2605.06634 mastoxiv.page/@arXiv_physicsco
- An Overview of Relativistic Particle Pushers and their Extension to Arbitrary Order Accuracy
Holger Schmitz
arxiv.org/abs/2603.06509 mastoxiv.page/@arXiv_physicspl
- paces: Parallelized Application of Co-Evolving Subspaces, a method for computing quantum dynamics...
R. Kevin Kessing
arxiv.org/abs/2603.07341 mastoxiv.page/@arXiv_quantph_b
- Topology of Plasma Wakefields Driven by Two Color Laguerre Gaussian Laser Pulses
Saumya Singh, Dinkar Mishra, Shivani Aggarwal, Bhupesh Kumar, Pallavi Jha
arxiv.org/abs/2605.18336 mastoxiv.page/@arXiv_physicspl
- Resolved Anderson localization of light in dense three-dimensional dielectric disorder
Yevgen Grynko, Jens F\"orstner
arxiv.org/abs/2605.25098 mastoxiv.page/@arXiv_physicsop
- A Reproducible Benchmark and Evidence-Retrieval Software Framework for Silicon Detector R&D Liter...
Tianqi Gao, Ruobing Jiang, Dawei Fu, Qiang Li, Matthew Kenzie
arxiv.org/abs/2606.24725
- Probing Light-Matter Interaction with Topological Data Analysis
Timothy Holt, Maxim Goryachev, Jeremy Bourhill
arxiv.org/abs/2606.30007 mastoxiv.page/@arXiv_physicsap
toXiv_bot_toot

@mgorny@social.treehouse.systems
2026-06-30 13:07:57

The conclusion from a big #Python 3.15 #Gentoo porting run today: the most common kind of #NIH Python package is one providing colorful output on the terminal…

@netzschleuder@social.skewed.de
2026-05-27 17:00:06

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@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

@mgorny@social.treehouse.systems
2026-06-29 12:42:29

I have a #Python favor to ask. Could someone look at Python 3.15 test failures in itsdangerous? It's blocking quite a large part of package dependency graph in #Gentoo, and the failure looks, errr, dangerous.
github.com/pallets/itsdangerou

@veit@mastodon.social
2026-06-16 21:39:22

Taking Measure spoke to Guido van Rossum to find out more about #Python, what he gets up to in his spare time, and his brief spell at #nist

@hynek@mastodon.social
2026-07-31 13:03:49

Looks like I'm attending PyBeach because apparently I didn’t have enough SoCal in 2026!?
Looking forward to a cozy conference with friends abound!
2026.pybeach.org

@rasterweb@mastodon.social
2026-06-28 00:53:59

I got some Python code working yesterday after being convinced I could not figure it out… but figured it out!
Realized I needed extra code today, thought it would be a pain but figured it out in no time.
Maybe I can write Python okay…

@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.

@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

@heiseonline@social.heise.de
2026-05-08 11:52:00

#TGIQF: „Das Leben des Brian“ — Das Quiz rund zu Monty Pythons Filmklassiker
Die Komödie "Das Leben des Brian" sorgte 1979 für reichlich Gelächter und kirchliche Pikiertheit. Wir würdigen den Monty-Python-Klassiker mit einem Quiz.

@fanf@mendeddrum.org
2026-05-27 11:42:02

from my link log —
Someone’s been messing with Python’s floating point subnormals!
moyix.blogspot.com/2022/09/som
saved 2022-09-06

@mgorny@social.treehouse.systems
2026-06-01 12:39:41

The #Gentoo #Python 3.14 switch / 3.11 3.13t removal PR is green. Doing some final testing locally before merging it (one that involves 350 "merge wait" packages, what could possibly go wrong…).
codeberg.org/gentoo/gentoo/pul

@netzschleuder@social.skewed.de
2026-07-19 08:00:06

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@hynek@mastodon.social
2026-06-09 04:53:34

for no particular reason whatsoever, I've updated my guide on how to measure #Python coverage across GitHub Action containers without an external service (*cough* Codecov *cough*)
hynek.me/articles/ditch-codeco

@tinoeberl@mastodon.online
2026-07-17 15:17:01

#Steady #Klimacrew
#BahnMonitor-Projekt: 3. Klappt der erste Zugriff auf die Bahn-API?
Im nächsten Schritt wurde die API-Abfrage getestet udn geprüft, ob die zurückgelieferten Datenstru…

@frankel@mastodon.top
2026-06-11 09:09:12

Vulnerability and malware checks in #uv
#python

@netzschleuder@social.skewed.de
2026-07-19 19:00:06

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@hynek@mastodon.social
2026-07-26 06:41:50

Good morning! Since it's become a drag to support in mainline, I've extracted svcs's Pyramid support into an own package svcs-pyramid.
That means, the next svcs version will ship WITHOUT a `svcs.pyramid` module.
You can start using svcs-pyramid TODAY to avoid breakage the moment 26.2.0 drops – there are no code changes, just adjust the import statement:

@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)

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

#Steady #Klimacrew
#BahnMonitor-Projekt: 2. Welche Architektur sollte der Bot haben?
Bevor es ans Coden geht, ist etwas Grübeln über eine sinnvolle Gliederung der Module ratsam. Wie sie…

@veit@mastodon.social
2026-06-10 06:46:21

📆 On 13 August, all #Berlin #Python user groups – @…, @…

@mgorny@social.treehouse.systems
2026-05-30 04:06:44

0 days since we went from "we should replace `setup.py` with a bunch of standardized #PEP517 backends" to "every package must have its own local PEP517 backend".
#Python

@netzschleuder@social.skewed.de
2026-06-15 10:00:06

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@tinoeberl@mastodon.online
2026-07-15 15:17:02

#Steady #Klimacrew
#BahnMonitor-Projekt: 1. Wie kommt man an Live-Daten der Deutschen Bahn?
Im November konnte ich per Zufall mit einem

@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

@netzschleuder@social.skewed.de
2026-07-14 08:00:06

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@hynek@mastodon.social
2026-07-09 10:07:54

old and busted: delete failing tests
new and hotness: delete CI configuration
this is FOSS DoS; I have no other term for it
github.com/python-attrs/attrs/

@mgorny@social.treehouse.systems
2026-05-28 03:38:25

> No significant changes.
Looks inside.
> Significant changes.
#Python

@rasterweb@mastodon.social
2026-05-26 04:55:03

➡️ Beautiful Soup - Python Screen-Scraping
#bookmarks

@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:

@netzschleuder@social.skewed.de
2026-05-07 20:00:07

python_dependency: Python Dependency Network
Python's package dependency networks. Nodes in the network are Python's packages registered to PyPI and edges are dependencies among packages.
This network has 58743 nodes and 108399 edges.
Tags: Technological, Software, Unweighted
networks.sk…

python_dependency: Python Dependency Network. 58743 nodes, 108399 edges. https://networks.skewed.de/net/python_dependency
@tinoeberl@mastodon.online
2026-07-04 15:17:01

#Steady #Klimacrew
Wie kann man die tägliche #Solarstromproduktion automatisiert auf #Mastodon

@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.

@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

@mgorny@social.treehouse.systems
2026-05-25 19:42:28

I've been sad about the upcoming removal of #PyPy from #Gentoo, but given how many regressions I've been seeing recently in a variety of #Python packages, I'm eagerly waiting for the day when I'll remove the support and be able to stop having to deal with the test failures somehow. Not that at this point any other way of dealing besides skipping them makes any sense.

@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!

@mgorny@social.treehouse.systems
2026-06-02 13:13:05

Well, we've finally packaged #Valkey (another #Redis fork) in #Gentoo, along with its #Python bindings.
Not that we wanted to, but #FakeRedis now started requiring it for tests so heavily that it was too much effort to patch it out. Just to be clear, it just requires the Python bindings, because its test suite happily runs against either Redis or Valkey, and literally doesn't support testing against both simultaneously. But to add the bindings, we needed the database to test them against. And since I've added the package too, I've put a lot of effort (and swearing) to test FakeRedis against both servers.
Should you be using Valkey? Well, let's put it like this. You shouldn't be using Redis, because it's enterprise quality shit. Valkey is roughly what happens when you fork enterprise quality shit and have no clue what you're doing. Though you are able to mostly get renaming right (one valkey-py test failed over the server calling itself "Valkey" rather than "Redis").
Disclaimer: I've only looked at the Python bindings. Maybe the maintainers are more knowledgeable with the server itself.

@mgorny@social.treehouse.systems
2026-05-22 03:11:10

If #Python package releases continue at this rate, I'm going to have to start getting up earlier.
Or just stop doing all of them in the morning.
#Gentoo

@mgorny@social.treehouse.systems
2026-05-21 11:06:01

> #Python Stable ABI
> makes extensions unstable (they start segfaulting)
github.com/pikepdf/pikepdf/iss

@mgorny@social.treehouse.systems
2026-05-19 05:12:35

Always appreciate #Python package developers being responsible about API stability, and… [checks notes]… raising the major version number over a "minor API tweak", then delaying the release until a security fix demanded one.
#packaging

@mgorny@social.treehouse.systems
2026-06-17 02:41:18

0 days since provenance checks protected us from [checks notes] another project starting to upload distributions via #uv.
#Python #security

@mgorny@social.treehouse.systems
2026-05-16 06:30:31

Yes, please reinvent more wheels by rewriting #Python logic in #RustLang. What could possibly go wrong?!
github.com/awolverp/cachebox/i

@mgorny@social.treehouse.systems
2026-06-17 14:36:12

Does anyone happen to know if #PSF is processing contributing membership applications? Mine is stuck with no reply for almost 2 months now, and I'm wondering if it's just normal delay or something went wrong.
#Python