Subscribe free
Morning Merge Python · Monday, November 30, 20263 min read

AWS Glue 6.1 moves to Python 3.14 and Graviton

Also: datasette-llm-translate fills a column, and Foundry traces LangGraph agents

CPython and packaging were quiet over the weekend. If you run AWS Glue jobs, start with the main thing: Glue 6.1 changes your Python version and your CPU architecture in one upgrade.

The main thing

A teal articulated snake hoists a compact new motor into the drive housing of a conveyor belt loaded with crates, the larger old motor unplugged on the floor below.

AWS Glue 6.1 is generally available, on Python 3.14. The new Glue runtime upgrades to Apache Spark 4.1.3 and Python 3.14. Jobs now run on Graviton-based workers by default, with optimized auto-scaling.

AWS's pitch is the bill. Compared with Glue 6.0 on its default x86 workers of the same size, AWS says existing pipelines finish up to 35% faster at up to 40% lower cost, with no changes to job logic. No independent numbers yet.

There's more in the release: built-in data lineage, usage tracking through system tables, and wider coverage of incremental refresh for Apache Iceberg materialized views.

"No changes to job logic" is doing a lot of work in that sentence. Your job logic may well be fine. Your dependencies are the part that moves twice, because one upgrade brings a new Python version and a new CPU architecture.

Anything with a compiled extension needs a wheel for Python 3.14 on ARM, or a build that works on the worker. Jobs that stick to Spark DataFrames and pure-Python helpers are the ones most likely to get the no-changes experience AWS describes.

What to do: don't move production jobs on the headline numbers. Copy one representative job to Glue 6.1, run it on last week's input, and compare runtime, cost and output. If a dependency won't install, better to learn that on a copy.

Try this

A teal articulated snake works along an open card-catalogue drawer, each card now paired with a clipped envelope.

datasette-llm-translate fills a column with LLM translations. Simon Willison's new Datasette plugin takes a table and fills a column with translations from whatever LLM you've configured. Every row records the prompt and the model that produced it.

That per-row record is the design choice worth copying. Machine-written columns usually lose track of where they came from. Here you can find every row a given model wrote and redo only those when you change models. The announcement doesn't cover batching or cost, so start with a small table.

Simon also shipped a fix for llm 0.28, where llm logs --json truncated tool-call arguments over 4KB. If you export logs to debug tool calls, the longest arguments were the ones getting cut, which tend to be the ones you're debugging.

Worth reading

A teal articulated snake holds a magnifying lens over three gear assemblies on a test bench, one raised on a small pedestal.

Microsoft Foundry now traces LangGraph, LangChain and CrewAI agents. InfoQ's write-up of the Ignite announcements is mostly about Foundry's agent optimizer, but the Python part is in the availability list. Multi-turn evaluation and tracing for agents built outside Foundry with LangGraph, LangChain and CrewAI is generally available.

The optimizer itself is in preview. It evaluates a hosted agent against criteria you define, generates candidate instructions, skills, tool descriptions and model choices, and ranks them for a developer to approve. Programmed Training, also in preview, has you write a Python driver for supervised fine-tuning or reinforcement learning on an open-weight model while Foundry runs the GPU steps.

The most useful finding comes from the team that built the optimizer. The reflector, a separate model that reads failing traces and diagnoses why the agent scored poorly, moved results more than the agent's own model did. If your own eval loop has stalled, try a stronger model on the diagnosis step before swapping the agent's.

If you run Glue jobs, test one on 6.1 before you trust "no changes to job logic."

← All Morning Merge Python issues

Get this in your inbox every morning.

Free. Five minutes. Unsubscribe in one click.

Subscribe free →