---
title: "ml-dtypes 0.7.0 Breaking Changes on PyPI | Since.dev"
description: "What each ml-dtypes release removed, renamed or changed: 26 breaking changes in 2 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/ml-dtypes
last_updated: 2026-12-04
---

# ml-dtypes breaking changes

ml-dtypes 0.7.0 (November 16, 2026) is its newest release with breaking changes, 7 of them. The first: Mixed Python scalar and ml_dtypes arithmetic now follows NumPy 2 promotion rules in ml-dtypes 0.7.0. Every breaking API change we have recorded in ml-dtypes on PyPI: 26 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.7.0`, released November 16, 2026. [Source repository](https://github.com/jax-ml/ml%5Fdtypes)

Its 0.6.0 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.6.0](#v-0-6-0) to [0.7.0](#v-0-7-0): 7 breaking changes in 1 version.

## ml-dtypes 0.7.0 breaking changes

ml-dtypes 0.7.0, released November 16, 2026: 7 breaking changes.

- **Behavior changed**  

Operations mixing ml_dtypes values with Python int, float or complex now keep the ml_dtypes type instead of upcasting to float64 or complex128. [github.com](https://github.com/jax-ml/ml%5Fdtypes/releases/tag/v0.7.0)
- **Behavior changed**  

Such casts consistently return 0 and emit an invalid warning, which code relying on the previous result or warning behavior must handle. [github.com](https://github.com/jax-ml/ml%5Fdtypes/releases/tag/v0.7.0)
- **Behavior changed**  

Casting complex ml_dtypes values to real or integer ml_dtypes types emits a ComplexWarning, which may break code that treats warnings as errors. [github.com](https://github.com/jax-ml/ml%5Fdtypes/releases/tag/v0.7.0)
- **Behavior changed** `complex32`  

np.dtype(complex32).kind changed from 'V' to 'c', and dtype.char became 'J' for complex32 and 'K' for bcomplex32. [github.com](https://github.com/jax-ml/ml%5Fdtypes/releases/tag/v0.7.0)
- **Behavior changed** `float8_e4m3fn`  

A finite-only or unsigned ml_dtypes float compared with an out-of-range Python float converts the Python float first, so results can differ. Use float(x) for wider bounds. [github.com](https://github.com/jax-ml/ml%5Fdtypes/releases/tag/v0.7.0)
- **Behavior changed** `float8_e8m0fnu`  

Values between 2^-127 and 1.5 × 2^-127 now round down to 2^-127 instead of up to 2^-126. [github.com](https://github.com/jax-ml/ml%5Fdtypes/releases/tag/v0.7.0)
- **Behavior changed** `np.can_cast`  

Lossy casts between 1-byte types such as float8_e4m3fn to float4_e2m1fn are no longer reported as safe. [github.com](https://github.com/jax-ml/ml%5Fdtypes/releases/tag/v0.7.0)

## ml-dtypes 0.6.0 breaking changes

ml-dtypes 0.6.0, released August 13, 2026: 19 breaking changes.

- **Removed**  

NumPy versions before 2.0 are no longer supported, so NumPy must be upgraded to 2.0 or later. [github.com](https://github.com/jax-ml/ml%5Fdtypes/releases/tag/v0.6.0)
- **Removed**  

Python 3.9 is no longer supported, so users must run Python 3.10 or later with this release. [github.com](https://github.com/jax-ml/ml%5Fdtypes/releases/tag/v0.6.0)
- **Removed**  

Python 3.13 free-threading builds are no longer supported because cibuildwheel dropped support for them. [github.com](https://github.com/jax-ml/ml%5Fdtypes/releases/tag/v0.6.0)
- **Signature changed** `ml_dtypes.bfloat16`  

Was bfloat16: Type\[np.generic\]; now bfloat16: type\[\_np.generic\]. [pypi.org](https://pypi.org/project/ml-dtypes/0.6.0/)
- **Signature changed** `ml_dtypes.float4_e2m1fn`  

Was float4_e2m1fn: Type\[np.generic\]; now float4_e2m1fn: type\[\_np.generic\]. [pypi.org](https://pypi.org/project/ml-dtypes/0.6.0/)
- **Signature changed** `ml_dtypes.float6_e2m3fn`  

Was float6_e2m3fn: Type\[np.generic\]; now float6_e2m3fn: type\[\_np.generic\]. [pypi.org](https://pypi.org/project/ml-dtypes/0.6.0/)
- **Signature changed** `ml_dtypes.float6_e3m2fn`  

Was float6_e3m2fn: Type\[np.generic\]; now float6_e3m2fn: type\[\_np.generic\]. [pypi.org](https://pypi.org/project/ml-dtypes/0.6.0/)
- **Signature changed** `ml_dtypes.float8_e3m4`  

Was float8_e3m4: Type\[np.generic\]; now float8_e3m4: type\[\_np.generic\]. [pypi.org](https://pypi.org/project/ml-dtypes/0.6.0/)
- **Signature changed** `ml_dtypes.float8_e4m3`  

Was float8_e4m3: Type\[np.generic\]; now float8_e4m3: type\[\_np.generic\]. [pypi.org](https://pypi.org/project/ml-dtypes/0.6.0/)
- **Signature changed** `ml_dtypes.float8_e4m3b11fnuz`  

Was float8_e4m3b11fnuz: Type\[np.generic\]; now float8_e4m3b11fnuz: type\[\_np.generic\]. [pypi.org](https://pypi.org/project/ml-dtypes/0.6.0/)

And 9 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
