Modern Python Weekly #2

Python 3.15 stabilizes, data tools modernize, and AI agents move deeper into real developer workflows.

Share
Sweaty man coding on a laptop in a hot car during a European heat wave. Screen shows 42Β°C. Text overlays warn of extreme heat and urge staying hydrated.
This week, a combination of a persistent high-pressure "heat dome" (also called an Omega block) and very hot air moving north from North Africa has pushed temperatures well above normal across western and central Europe.

Python News

  • Python 3.15.0b3 - Released June 23, 2026. This is the third of four planned Python 3.15 beta releases, with around 195 bugfixes, build improvements, and documentation changes since beta 2.
    πŸ’‘ Modern Python's Take: package maintainers should test now, especially because ABI changes are expected to settle after beta 4 and before the first release candidate.
  • Django Tasks: Exploring the Built-in Tasks Framework - Real Python updated its Django Tasks guide on June 24.
    πŸ’‘ Modern Python's Take: Django 6.0's built-in task framework is worth tracking because it standardizes background-task APIs while still leaving serious production workloads to third-party backends.
  • FastAPI 0.138.1 - Released June 25, 2026. This release is mostly maintenance and internal cleanup, including refactors around FastAPI's library skills documentation and workflow updates, following the recent 0.138.0 frontend-serving work.
    πŸ’‘ Modern Python's Take: FastAPI is increasingly treating developer experience, deployment guidance, and agent-readable project knowledge as part of the framework surface, not just routing and validation.
  • NumPy 2.5.0 - Released June 21, 2026. This transitional release drops Python 3.11 support, removes distutils-era code, expires many older deprecations, improves free-threading support, adds descending sorts, and prepares for Python 3.15 support.
    πŸ’‘ Modern Python's Take: this is a real modernization release for the scientific Python stack, especially for teams tracking free-threaded Python and the post-distutils packaging world.
  • Python Polars 1.42.0 - Released June 24, 2026. The release adds performance improvements for cloud IO and streaming, introduces naive out-of-core spilling, adds experimental strict mode, and expands SQL and sortedness-related capabilities.
    πŸ’‘ Modern Python's Take: Polars keeps pushing Python data work toward larger-than-memory, cloud-native, and query-optimized workflows without giving up the DataFrame developer experience.

AI news

  • OpenAI: How agents are transforming work - Published June 25, 2026. OpenAI shared economic research on Codex usage, arguing that agentic AI shifts work from short chats toward delegated, longer-running tasks.
    πŸ’‘ Modern Python's Take: the strongest signal is that non-developer usage is growing quickly, not just engineering usage.
  • OpenAI and Broadcom unveil LLM-optimized inference chip - Published June 24, 2026. OpenAI and Broadcom announced Jalapeno, a custom inference accelerator designed around LLM serving workloads.
    πŸ’‘ Modern Python's Take: frontier AI companies are turning into full-stack infrastructure companies, from models to chips.
  • Anthropic: Introducing Claude Tag - Published June 23, 2026. Claude Tag lets teams add Claude to Slack channels, grant scoped tool/data access, and delegate asynchronous work.
    πŸ’‘ Modern Python's Take: team-scoped memory, permissions, and audit logs are becoming core product features for workplace agents.
  • OpenAI: Daybreak tools for securing every organization - Published June 22, 2026. OpenAI announced expanded Daybreak security tools, Codex Security updates, GPT-5.5-Cyber limited release, and partner programs for defensive security.
    πŸ’‘ Modern Python's Take: AI security work is shifting from finding vulnerabilities to validating, patching, testing, and coordinating fixes.
  • Samsung Electronics brings ChatGPT and Codex to employees - Published June 21, 2026. Samsung is rolling out ChatGPT and Codex to employees.
    πŸ’‘ Modern Python's Take: enterprise AI adoption is moving from pilots toward broad internal enablement.
Promotional artwork for the Samsung and OpenAI partnership, showing their respective mascots shaking hands.

Tools and Projects

  • uv 0.11.24 - Released June 23, 2026. Adds CPython 3.15.0b3 support, relocatable project environments under preview, resolver performance work, and several bug fixes.
    πŸ’‘ Modern Python's Take: uv remains one of the fastest-moving pieces of Python packaging infrastructure.
  • Ruff 0.15.20 - Released June 25, 2026. Preview changes include human-readable rule selectors, softer handling for unknown rule selectors, and ruff:ignore behavior updates.
    πŸ’‘ Modern Python's Take: Ruff continues to refine usability as it becomes a default linting and formatting layer for Python projects.
  • Datasette 1.0a35 - Released June 23, 2026. Adds UI and JSON APIs for creating and altering tables, plus new static asset cache-busting helpers and table UI improvements.
    πŸ’‘ Modern Python's Take: Datasette is becoming more of an editable data application platform, not just a read-only publishing tool.
  • sqlite-utils 4.0rc1 - Released June 21, 2026. Adds a migrations system, nested transaction support, improved connection cleanup, better type annotations, and Python 3.15-dev testing.
    πŸ’‘ Modern Python's Take: this is a meaningful release candidate for Python developers who use SQLite as an application data layer.
  • GitHub Desktop 3.6 - Released June 26, 2026. Adds Git worktree support, Copilot-powered commit authoring, and AI-assisted merge conflict resolution.
    πŸ’‘ Modern Python's Take: worktrees are becoming more important because agentic coding workflows often run several branches in parallel.
  • Copilot CLI new terminal interface GA - Released June 23, 2026. The new terminal UI supports tabs for issues, pull requests, and gists, plus in-session MCP server, skill, plugin, and settings configuration.
    πŸ’‘ Modern Python's Take: terminal-native agent workflows are getting much more productized.
  • Copilot code review analysis depth and efficiency updates - Released June 25, 2026. Copilot code review now uses CLI/SDK file exploration tools like rg, glob, and view, with reported cost reductions while maintaining review quality.
    πŸ’‘ Modern Python's Take: code-review agents are starting to converge on the same primitives human reviewers use.
  • npm preventive account protection for high-impact accounts - Released June 25, 2026. High-impact npm accounts get a temporary read-only safeguard after sensitive changes like email changes or 2FA recovery-code use.
    πŸ’‘ Modern Python's Take: this directly targets the account-takeover pattern seen in supply-chain attacks.
  • OpenAI Patch the Planet - Published June 22, 2026. OpenAI, Trail of Bits, HackerOne, Calif, and maintainers are coordinating AI-assisted vulnerability validation, patch development, and disclosure for critical open-source projects.
    πŸ’‘ Modern Python's Take: the important design choice is human-reviewed findings before maintainers are interrupted.

Articles

  • Prompt Injection as Role Confusion - Charles Ye, Jasmine Cui, and Dylan Hadfield-Menell published a readable writeup of their ICML 2026 work on why models confuse role boundaries between system, user, assistant, and tool text.
    πŸ’‘ Modern Python's Take: useful framing for anyone building agents that read untrusted content.
  • AI and Liability - Bruce Schneier argues that companies deploying AI agents should be responsible for what those agents say and do, using recent legal rulings around AI summaries and chatbots as examples.
    πŸ’‘ Modern Python's Take: the legal and product-design implication is simple: agent autonomy does not remove deployer responsibility.
  • Porting the Moebius 0.2B image inpainting model to run in the browser with Claude Code - Simon Willison walks through getting a small image-inpainting model running in the browser with WebGPU, ONNX, Transformers.js, and AI coding help.
    πŸ’‘ Modern Python's Take: a practical example of using coding agents to move Python/CUDA-oriented ML work toward browser-native demos.
  • Python for Data Analysis: A Practical Guide - Real Python published a practical guide to data analysis workflows with Python on June 22.
    πŸ’‘ Modern Python's Take: useful baseline reading for teams combining Python analytics with AI-assisted data work.
  • sqlite-utils 4.0rc1 adds migrations and nested transactions - Simon Willison explains the new sqlite-utils release candidate, including migrations and nested transaction support.
    πŸ’‘ Modern Python's Take: strong context for why the project release matters beyond a changelog entry.