Tootfinder

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

@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

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

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

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

@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

@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

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

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

@joxean@mastodon.social
2026-06-15 16:18:28

I have just published a new bug fixes minor release for #Diaphora, version 3.4.1.
github.com/joxeankoret/diaphor

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

@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

@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

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

@netzschleuder@social.skewed.de
2026-08-13 22: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
@frankel@mastodon.top
2026-06-11 09:09:12

Vulnerability and malware checks in #uv
#python

@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

@Nathan@social.lostinok.com
2026-06-15 02:59:29

Squash Bug War Casualty Report: Adults 0, Egg Pods 0.
No enemy contact, but I know they are out there, it’s like they are taunting me . . .
“Hallo, you tiny-brained gardener! You frighten no one! Today we did not come, because we did not feel like it!”
#gardening #oklahoma

The taunting French knight from Monty Python and the Holy Grail
@jhelberg@mastodon.social
2026-07-13 08:14:47

Had to hand-edit a python library source to get offlineimap working. Backwards compatibility has no priority for python developers, useless behaviour, useless programming language.

@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

@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

@stiefkind@mastodon.social
2026-06-10 09:35:43

»Hey, KI! Bestimmt erinnerst du dich noch an die 150.000 Zeilen Code, die du mir vor so sieben, acht Monaten mal in Python vibecoded hast? Der müsste jetzt bitte auf das neue API angepasst werden. Und wenn du eh schon dabei bist: portiere das doch alles auch gleich noch von Python nach Rust.« 🤡 #justthinkin

@Techmeme@techhub.social
2026-06-24 15:56:24

Nature publishes a peer-reviewed paper alleging that Microsoft's 2025 quantum breakthrough claims were based on "basic Python errors" and data cherry-picking (Thomas Claburn/The Register)
theregiste…

@veit@mastodon.social
2026-08-12 21:15:11

Final preparations for tomorrow’s BBQ for all Python user groups in Berlin @…: meetup.com/python-users-berlin

c-base space station
@fanf@mendeddrum.org
2026-08-11 14:42:04

from my link log —
Line breaks in Python and Unicode.
b-list.org/weblog/2026/aug/10/
saved 2026-08-10

@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-08-16 02:31:53

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

@thomasrenkert@hcommons.social
2026-08-12 06:00:19

funniest thing in #LLM news. One man's month-long research to uncover the secrets of the Frontier Labs is another man's "hey I wrote this python deep_think script":
xcancel.com/_can1357/stat…

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

@awinkler@openbiblio.social
2026-06-11 12:24:43

Florian Thierrys #OER zu #QGIS und #Wikidata:

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

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

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

PEP 832 – Virtual environment discovery
#python

@jkmartindale@mastodon.social
2026-07-13 04:58:19

it's too bad the major browsers don't support bookmarks or bookmark folders, thank goodness ChatGPT exists

Reddit post titled "Used ChatGPT to make a python script that opens all 4 vote links automatically."

Along with a Google Drive link, the code is provided in the post. The code uses the webbrowser library to open 4 hardcoded URLs and waits for half a second so that tabs "open in order", as if that matters.

#!/usr/bin/env python3

import webbrowser
import time

URLS = [
    "https://minecraftservers.org/vote/383495?utm_source=earthmc.net",
    "https://minecraft-mp.com/server/332214/vote/?utm_s…
@rasterweb@mastodon.social
2026-06-12 14:11:16

@… I gave this thing a try today... 😉
codeberg.org/jjg/paxton

@lpryszcz@genomic.social
2026-06-12 07:52:52

handy random string (password) generator
echo `tr --complement --delete "a-fA-F0-9" < /dev/urandom | head -c 12`
#bash #cmdline #tricks
source:

@xiffy@mastodon.nl
2026-08-16 09:07:26

When your RSS feed can only be fetched by clients that understand and execute javascript you are doing it wrong.
I'm looking at you @…
`curl #rss #cloudflare #broken

@hynek@mastodon.social
2026-08-07 17:58:40

omg omg omg peps.python.org/pep-0841/

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

@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

@arXiv_hepth_bot@mastoxiv.page
2026-08-14 07:59:08

Stabilizer complexity and the Python's lunch
Abhirup Bhattacharya, Jatin Narde, Onkar Parrikar, Suprakash Paul
arxiv.org/abs/2608.12472 arxiv.org/pdf/2608.12472 arxiv.org/html/2608.12472
arXiv:2608.12472v1 Announce Type: new
Abstract: In this note, we study the stabilizer complexity of the reduced density matrix corresponding to one side of a partially entangled thermal (PET) state with fixed energy boundary conditions in a holographic CFT. In particular, we study Wigner negativity, an operationally meaningful magic monotone which can be interpreted as the complexity of classically simulating any quantum circuit preparation of the reduced state on the subregion. Using assumptions on the pseudorandomness of the CFT spectrum and the heavy operator insertion, we observe that the Wigner negativity of the PET state relative to the microcanonical density matrix at the given energy is given by $\exp\left[\frac{1}{8G_N}(A_{\text{out}} - A_{\text{min}})\right]$, where $A_{\text{out}}$ is the area of the outer extremal surface, while $A_{\text{min}}$ is the area of the minimal extremal surface. Thus, the stabilizer complexity of the reduced density matrix on the boundary subregion is $O(1)$ in the absence of a python's lunch, but gets exponentially enhanced in the presence of a python's lunch in the bulk geometry.
toXiv_bot_toot

‪@mxp@mastodon.acm.org‬
2026-06-08 11:11:52

@… My PhD thesis literally was a bunch of Python classes. On some level. But that’s not the point of the thesis…

@mxp@mastodon.acm.org‬
2026-06-08 11:11:52

@… My PhD thesis literally was a bunch of Python classes. On some level. But that’s not the point of the thesis…

@tiago@social.skewed.de
2026-07-08 19:37:23

Good news everyone! 🎉
The new version 3.0 of graph-tool is just out with major improvements! See below.
graph-tool.skewed.de
graph-tool is a comprehensive and efficient Python library to work with networks, including structural, dynamical, and statistical algorithms, as well as visualiza…

@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

@ubuntourist@mastodon.social
2026-08-08 21:34:07

Commodore Amiga: "We're not dead yet! We feel happy!" - Monty Python and the Holy Grail
Yes, but will it have a MySpace client app? 😉
#Amiga

@roland@devdilettante.com
2026-06-08 04:05:35

whoah cyclopts sounds incredible! turn any python function into a command line script!!!!! if only it could run in a browser too :-) #NotAskingMuchObvs :)

@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

@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…
@adulau@infosec.exchange
2026-07-07 15:02:25

Working on tempolocus, a tool that analyses time-series activity patterns to infer a user’s likely location.
In @…, we work with a large volume of social-network time series. Estimating users’ locations from these patterns is often a manual task.
I prototyped a Python module that combines potential locations with yearly activity …

adulau@blakley:~/git/tempolocus$ python3 -m tempolocus samples/weekfull-chan1.json --format text  -n 10 --holiday-profile public-worker 
input_type: weekly_timeseries
confidence: 0.220
activity_type: mixed-time (0.009)
assumptions:
  - Hourly buckets are interpreted as UTC; timezone candidates are offsets that make the activity look locally human.
  - Weekly data cannot distinguish all IANA zones sharing the same offset, and daylight saving time is not inferable without dates.
probable_countrie…
@CerstinMahlow@mastodon.acm.org
2026-06-08 10:25:03

Pro tip:
If your supervisor suggests to submit a paper to a venue of a field relevant for your dissertation, addressing the architecture of the system you develop and which is the heart of your dissertation, maybe, just maybe, it’s not the very best idea to say: I don’t see what could be interesting here, it’s just a bunch of Python classes

@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.
@grumpybozo@toad.social
2026-07-12 17:04:58

I do not appreciate finding out via active breakage that Broadcom has decided to screw all #FreeBSD users of the #Salt configuration management tools. Not that I’m shocked, but I wish it didn’t happen because of a ‘pkg upgrade’ run installing the python 3.12 version and all of its py312-* dependencies and then…

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

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

@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
@jhelberg@mastodon.social
2026-06-08 13:17:22

So virtualenv solves the issue of brutal incompatibilities between python stuff (at the cost of huge amounts of diskspace), but the minute uwsgi comes into play, it is overboard and there is hardly any way to activate plugins for old python interpreters. #pythonwoes

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

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

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

➡️ PyPI · The Python Package Index
#bookmarks

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

@michabbb@social.vivaldi.net
2026-07-11 00:58:19

🛡️ It also scans heredocs & inline scripts (python -c, bash -c, node -e) via AST-based analysis to catch destructive operations the outer command hides
🚀 Whitelist-first with a modular pack system; works on Linux, macOS & Windows (WSL) and auto-configures hooks for Claude Code, Codex, Gemini, Copilot & Cursor

@frankel@mastodon.top
2026-06-09 17:05:21

Are you really expected to run five type-checkers now?
#python

@Techmeme@techhub.social
2026-05-27 06:15:51

Analysis: the share of entry-level hiring in India's tech sector fell to ~15% in 2025 from 28% in 2024 as companies shifted focus to AI and automation roles (Tanya Pandey/The Economic Times)
economictimes.i…

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

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

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

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

@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

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

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

@michabbb@social.vivaldi.net
2026-07-10 07:11:25

🔧 Three pieces mirror the Python RLM design: a system prompt, a $CONTEXT file plus bash as the REPL, and the native rlm_query sub-call. Depth 0 and 1 get full tools; the leaf at max depth runs bash only. jj workspaces isolate child edits when available.
🛡️ Five guardrails guarantee termination: dollar budget, wall-clock timeout, call limit, depth limit and PATH scrubbing. Deeper agents are told to be more conservative, preferring direct action over spawning more children.

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

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

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

@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

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

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

#Steady #Klimacrew
Vom Puristen zum #IDE-Nutzer
Ganz langsam. 😁 Wie verändert sich der Workflow, wenn man statt eines simplen Editors mit einer IDE arbeitet? Als Hobby-Entwickler hat mir Notepa…

@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

@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

@frankel@mastodon.top
2026-06-09 17:05:21

Are you really expected to run five type-checkers now?
#python

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

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

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

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

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

#Steady #Klimacrew
Was tun, wenn falsche Einträge im #Marktstammdatenregister die Auswertung ruinieren?
Das Register ist berüchtigt für Fehleinträge durch Anlagenbetreiber. …

@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

@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

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

@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

@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

@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