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
On this page
Latest version 0.7.0, released November 16, 2026. Source repository
Its 0.6.0 release drops Python 3.9. Python end of life dates.
ml-dtypes 0.7.0 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 - 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 - 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 - 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 - 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 - 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 - 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
ml-dtypes 0.6.0 breaking changes
- Removed
NumPy versions before 2.0 are no longer supported, so NumPy must be upgraded to 2.0 or later. github.com - Removed
Python 3.9 is no longer supported, so users must run Python 3.10 or later with this release. github.com - Removed
Python 3.13 free-threading builds are no longer supported because cibuildwheel dropped support for them. github.com - Signature changed
ml_dtypes.bfloat16
Was bfloat16: Type[np.generic]; now bfloat16: type[_np.generic]. pypi.org - Signature changed
ml_dtypes.float4_e2m1fn
Was float4_e2m1fn: Type[np.generic]; now float4_e2m1fn: type[_np.generic]. pypi.org - Signature changed
ml_dtypes.float6_e2m3fn
Was float6_e2m3fn: Type[np.generic]; now float6_e2m3fn: type[_np.generic]. pypi.org - Signature changed
ml_dtypes.float6_e3m2fn
Was float6_e3m2fn: Type[np.generic]; now float6_e3m2fn: type[_np.generic]. pypi.org - Signature changed
ml_dtypes.float8_e3m4
Was float8_e3m4: Type[np.generic]; now float8_e3m4: type[_np.generic]. pypi.org - Signature changed
ml_dtypes.float8_e4m3
Was float8_e4m3: Type[np.generic]; now float8_e4m3: type[_np.generic]. pypi.org - Signature changed
ml_dtypes.float8_e4m3b11fnuz
Was float8_e4m3b11fnuz: Type[np.generic]; now float8_e4m3b11fnuz: type[_np.generic]. pypi.org
And 9 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.