Bump the uv-updates group with 6 updates

Merged
DE
10d ago
+260-232

Bumps the uv-updates group with 6 updates:

PackageFromTo
mkl-fft2.3.22.4.0
torch2.14.12.15.0
pytest9.1.19.2.0
hypothesis6.161.26.170.15
ruff0.16.00.17.4
mypy2.4.02.4.1

Updates mkl-fft from 2.3.2 to 2.4.0

Release notes

Sourced from mkl-fft's releases.

2.4.0

Overview

The release enables free-threaded (GIL-disabled) CPython builds and adds support for Python 3.15. It also fixes a group of long-standing correctness bugs: norm="forward" and norm="ortho" scaling was wrong whenever an N-D transform covered only a subset of axes, and transforms writing into a user-provided out array produced wrong results — or wrote past the end of out — for non-contiguous out, for Fortran-ordered input, and for input of dtypes that have to be cast. Several memory leaks and unchecked backend statuses in the C layer are fixed as well. Building from source now requires a newer Cython.

Highlights

🧵 Free-Threaded CPython

  • The Cython extension is compiled with freethreading_compatible=True, so importing mkl_fft no longer re-enables the GIL. The free-threaded configuration is built and tested in CI on 3.14t.
  • The python-gil constraint is gone from the conda recipes, which previously pinned mkl_fft to GIL-enabled Python 3.14 builds.

🐍 Python 3.15 Support

  • Added support for Python 3.15. Note that the scipy_interface and test extras cannot be installed from PyPI on 3.15 yet, because mkl-service publishes neither a 3.15 wheel nor an sdist there; conda packages are unaffected.

🧮 Correct norm Scaling for Partial N-D Transforms

  • norm="forward"/"ortho" in fftn, ifftn, rfftn, irfftn and the fft2 family scaled by the full array shape instead of by the transformed axes, so results were wrong whenever axes or s covered only part of the array.
  • irfftn and irfft2 normalized over the input length n instead of the complex-to-real output length 2 * (n - 1).

🎯 out= Correctness

  • fft, ifft and the fftn/fft2 family silently returned out unmodified when the input dtype was not float32, float64, complex64 or complex128.
  • fft/ifft, ifft/ifftn of real input, and rfft/rfftn of cast input produced wrong results, and could write outside of out, when out was non-contiguous or Fortran-ordered.

⚡ Performance

  • Lower Python-side overhead of norm="forward"/"ortho" scaling.
  • rfft no longer makes a slow reordering copy of Fortran-ordered input that needs a cast.
  • One fewer full-array copy in the scipy_fft hfft/hfftn adapters, and the GIL is released during the final conjugation of 1-D ifft of real input.

⚠️ Behavior Changes

  • Out-of-memory failures reported by MKL (DFTI_MEMORY_ERROR) now raise MemoryError instead of ValueError. Code catching ValueError around large transforms will no longer catch them.
  • For Fortran-contiguous input of a dtype other than float32/float64, the result of rfft, rfft2, rfftn and of their numpy_fft/scipy_fft counterparts is now Fortran- rather than C-contiguous.

📦 Build Requirement Changes

  • The minimum build-time Cython requirement is raised to 3.1.0, the first release providing the freethreading_compatible directive.

Python Version Support

  • ✅ Python 3.10, 3.11, 3.12, 3.13, 3.14, 3.15 (plus free-threaded 3.14t)

Detailed Changes

Added

  • Added support for free-threaded (GIL-disabled) CPython builds: the Cython extension is compiled with freethreading_compatible=True; the free-threaded configuration is built and tested in CI on 3.14t gh-357
  • Enabled support of Python 3.15 gh-378. The scipy_interface and test extras cannot be installed from PyPI on 3.15 yet, because mkl-service publishes neither a 3.15 wheel nor an sdist there

Changed

  • Raised the minimum build-time Cython requirement to 3.1.0, the first release providing the freethreading_compatible directive gh-357
  • Removed the python-gil constraint from the conda recipes, which pinned mkl_fft to GIL-enabled Python 3.14 builds gh-357
  • Out-of-memory failures reported by MKL (DFTI_MEMORY_ERROR) are now raised as MemoryError instead of ValueError gh-373
  • Removed a redundant full-array copy in the hfft and hfftn adapters of mkl_fft.interfaces.scipy_fft gh-382

... (truncated)

Changelog

Sourced from mkl-fft's changelog.

[2.4.0] - 2026-10-16

Added

  • Added support for free-threaded (GIL-disabled) CPython builds: the Cython extension is compiled with freethreading_compatible=True; the free-threaded configuration is built and tested in CI on 3.14t gh-357
  • Enabled support of Python 3.15 gh-378. The scipy_interface and test extras cannot be installed from PyPI on 3.15 yet, because mkl-service publishes neither a 3.15 wheel nor an sdist there

Changed

  • Raised the minimum build-time Cython requirement to 3.1.0, the first release providing the freethreading_compatible directive gh-357
  • Removed the python-gil constraint from the conda recipes, which pinned mkl_fft to GIL-enabled Python 3.14 builds gh-357
  • Out-of-memory failures reported by MKL (DFTI_MEMORY_ERROR) are now raised as MemoryError instead of ValueError gh-373
  • Removed a redundant full-array copy in the hfft and hfftn adapters of mkl_fft.interfaces.scipy_fft gh-382
  • Reduced Python overhead in norm="forward"/"ortho" scaling by computing the scale factor without numpy.prod gh-384
  • rfft now casts input of dtypes other than float32/float64 to float64 keeping its memory order instead of making it C-contiguous, avoiding a slow reordering copy for Fortran-ordered input gh-389
  • For Fortran-contiguous input of a dtype other than float32/float64, the result of rfft, rfft2, rfftn and of their counterparts in the numpy_fft and scipy_fft interfaces is now Fortran- rather than C-contiguous: the output order follows the input, Fortran for Fortran-contiguous input and C otherwise gh-389
  • The GIL is now released during the final conjugation of 1-D ifft of real input, as it already was in the N-D backend gh-389

Fixed

  • Fixed norm="forward"/"ortho" scaling in fftn, ifftn, rfftn, irfftn and the fft2 family when only a subset of axes is transformed: the scale used the full array shape instead of the transformed axes gh-336, gh-370
  • Fixed norm="forward"/"ortho" scaling in irfftn and irfft2, which normalized over the input length n rather than the complex-to-real output length 2 * (n - 1) gh-370
  • Fixed possible memory leaks when PyMem_Malloc fails, and raise MemoryError gh-373
  • Fixed possible memory leaks when multi-iterator constructors fail gh-373
  • Fixed N-D transforms returning a success status when a scratch allocation fails gh-373
  • Fixed fftn, ifftn and the fft2 family returning an uncomputed result instead of raising when MKL reports an error for a transform over all axes: the status of the N-D backend call was never checked gh-373
  • Fixed fft, ifft, and the fftn/fft2 family returning out unmodified when out is given and the input dtype is not float32, float64, complex64 or complex128 (e.g. integer, bool, float16) gh-387
  • Fixed wrong results and writes outside of out in fft/ifft when the input is cast or zero-padded into a contiguous copy while out has the same non-contiguous layout as the original input gh-387
  • Fixed wrong results and writes outside of out in ifft and ifftn of real input when out is not contiguous: the final complex conjugation treated out as one contiguous block gh-389
  • Fixed wrong results in rfft and rfftn with out for input that is cast to float64 (e.g. integer, float16) when the input and out are Fortran-ordered gh-389
Commits
  • cdafe6e Merge pull request #392 from IntelPython/prepare-for-2.4.0-release
  • 0d364d1 Refine the CHANGELOG entries for 2.4.0
  • 801faf3 Bump the version
  • 5b26449 Finalized the CHANGELOG
  • 3c3b169 Merge pull request #378 from IntelPython/support-python-3.15
  • 5020235 Add Python 3.15 as pinned include rows in CI matrices
  • 04cbfbd Merge branch 'master' into support-python-3.15
  • 4e84e7e Merge pull request #389 from IntelPython/fix/out-strided-legacy-bugs
  • 70bfaac Merge branch 'master' into fix/out-strided-legacy-bugs
  • c084cb6 fix: parenthesize ternary in r2c out-shape assert
  • Additional commits viewable in compare view

Updates torch from 2.14.1 to 2.15.0

Release notes

Sourced from torch's releases.

PyTorch 2.15.0 Release Notes

Highlights

For more details about these highlighted features, you can look at the release blogpost. Below are the full release notes for this release.

Backwards Incompatible Changes

Python Frontend

import torch can no longer be re-executed in the same process, including via importlib.reload(torch) (#194654)

importlib.reload(torch) and del sys.modules["torch"] + re-import now raise, as does retrying import torch after it failed. Re-running the module body was already unsafe in exactly the same way as the retry, so the new check does not distinguish the two. Normal use is unaffected: a successful import leaves torch in sys.modules so the body never re-runs, and re-entrant imports from a backend extension during autoload still short-circuit on sys.modules without reaching the check.

Version 2.14:

import importlib
import torch

importlib.reload(torch)

RuntimeError: Only a single TORCH_LIBRARY can be used to register the namespace triton; ...

(re-importing after a failed import torch failed with similarly misleading errors or could segfault)

Version 2.15:

import importlib
import torch

importlib.reload(torch) </tr></table>

... (truncated)

Commits
  • 31a77fc [release/2.15] Keep ruff targeting Python 3.10 until the 3.10 code is removed...
  • d0f2af8 [release/2.15] Raise the minimum Python to 3.11 in the package metadata (#202...
  • 30c000d [release/2.15] Revert "[inductor] Prefetch Inductor cache keys at torch.compi...
  • 4893744 [release/2.15] [c10d][nccl2] Make endCoalescing cover all ops in the window (...
  • 469a3f4 [release/2.15][Windows] Remove the zlibwapi.dll install (#201873) (#201880)
  • e581e2d [release/2.15] [c10d][nccl2] Do not treat zero-sized output tensors as aliase...
  • ef10301 [release/2.15] Update xpu commit to revert kernel refactor introduced correct...
  • a3f1751 [inductor] Fix the prologue zero-mask analysis on low-precision rounding cast...
  • e47ff36 Ship top_level.txt in wheel dist-info (#201435)
  • 5dc0495 Skip vectorized gather and scatter_add kernel for short rows (#201426)
  • Additional commits viewable in compare view

Updates pytest from 9.1.1 to 9.2.0

Release notes

Sourced from pytest's releases.

9.2.0

pytest 9.2.0 (2026-10-27)

Removals and backward incompatible breaking changes

  • #14716: -c now raises a usage error for a path that does not exist, is a directory, or is in a format pytest has no loader for. Such paths were previously either ignored or reported as an unhandled FileNotFoundError.

  • #8593: The indirect, ids and scope arguments of Metafunc.parametrize() <pytest.Metafunc.parametrize> -- and therefore of @pytest.mark.parametrize <pytest.mark.parametrize ref> -- are now keyword-only.

    Passing them positionally was a common source of confusing errors, e.g. parametrize("arg1", "arg2", [(1, 2)]) made the argvalues land in indirect and failed with indirect fixture '(1, 2)' doesn't exist; such mistakes now fail with an understandable TypeError. The type annotations have always declared these arguments as keyword-only.

  • #993: Plugin import failures at startup are now reported and classified instead of escaping as a raw traceback with the accidental exit code 1:

    • a plugin that cannot be found -- via -p, pytest_plugins or PYTEST_PLUGINS -- exits with pytest.ExitCode USAGE_ERROR (4), like a conftest.py that fails to import;
    • a plugin that is found but raises while importing -- including a broken pytest11 entry point or a missing plugin dependency -- exits with pytest.ExitCode INTERNAL_ERROR (3), with the traceback preserved.

    pytest.main now returns these codes instead of raising ImportError. Also fixed an IndexError from pytest's own internals when the plugin raised an exception with no arguments.

Deprecations (removal in next major release)

  • #14742: The private _pytest.python.CallSpec2 name has been renamed to CallSpec. The old CallSpec2 alias remains available for now and will be removed in pytest 10 or 11.

  • #14755: Schedule yield_fixture decorator for removal in pytest 10 or 11.

  • #14774: Similarly to the deprecation of class-scoped fixtures defined as instance methods in pytest 9.1, all higher-scoped fixtures (module, package, and session) defined as instance methods are now deprecated.

    They suffer from the same issue the original deprecation only fixed for class-scoped fixtures, see 10819 and 14011.

  • #14808: Passing a non-string value to a string-typed ini option now emits a pytest.PytestRemovedIn10Warning. This affects [tool.pytest.ini_options] in pyproject.toml. In pytest 10 this will raise a TypeError, matching the behavior of the corresponding TOML config path.

  • #7323: Passing bytes to TerminalReporter.write_line() is now deprecated, pass a str instead.

New features

  • #14743: Full diff: now contains a legend explaining the + & - symbols in diff output.
  • #2781: When strict_markers is enabled, marker names used in -m expressions are now validated against registered markers.
  • #6881: Added the parametrize_long_str_id_strategy configuration option to control how long str/bytes parameter values are handled in auto-generated test IDs. Explicit IDs set via ids=[...] or pytest.param(..., id=...) are not affected. Available strategies: short (default, values over 100 chars fall back to argname+index), sha256 (SHA-256 hex digest), legacy (keep full value), and disallow (error requesting explicit IDs).

Improvements in existing functionality

  • #10745: A RecursionError whose recursion origin cannot be located now shows only the first and last 10 stack frames, matching what pytest already did when locating the origin failed outright. Previously the full traceback -- often around a thousand near-identical frames -- was rendered, which was both slow and unreadable. Pass --full-trace to see every frame.

... (truncated)

Commits
  • ae1d0ff Prepare release version 9.2.0
  • 143ce31 pre-commit: exclude codespell on generated release announcements
  • 532dc5f tox: add attrs dependency to regen, needed in reportingdemo.rst
  • a7b2446 Merge pull request #15245 from pytest-dev/claude/project-thread-9jcf91
  • 679d09c [pre-commit.ci] pre-commit autoupdate (#15266)
  • 41d12cd docs: clarify typing for yield fixtures
  • b9022ba Merge pull request #15182 from 1871698/docs/improve-getting-started-description
  • 16f87a7 docs: improve getting-started.rst test execution description
  • 082ed70 Merge pull request #15255 from pytest-dev/claude/project-thread-eoi3d6
  • ae37a01 Merge pull request #15227 from pytest-dev/claude/project-thread-4etye4
  • Additional commits viewable in compare view

Updates hypothesis from 6.161.2 to 6.170.15

Commits
  • 9ab0be6 Bump hypothesis version to 6.170.15 and update changelog
  • 460d72f Merge pull request #4946 from jorenham/typing/errors/coverage
  • 26f1634 Enfore 100% public type coverage in CI with pyrefly coverage check
  • fb08018 version: fill in the missing type annotation
  • 7af7891 Rephrase release note as suggested in review
  • 95e0906 Add release notes
  • b7d5433 extra.ghostwriter: fill in the missing type annotations
  • 3537278 extra.codemods: fill in the missing type annotations
  • bd1a894 extra.dpcontracts: fill in the missing type annotation
  • 4bb761e errors: remove spurious blank line
  • Additional commits viewable in compare view

Updates ruff from 0.16.0 to 0.17.4

Release notes

Sourced from ruff's releases.

0.17.4

Release Notes

Released on 2026-11-05.

Preview features

  • [flake8-logging-format] Avoid behavior changes and syntax errors in fixes (G004) (#27419)
  • [security] Implement tarfile-ignore-zeros-true (#28680)

Bug fixes

  • Accept a bare raise before a semicolon (#29761)
  • Allow match identifiers after a semicolon (#29760)
  • Fix panic on BOM-prefixed files in diagnostic renderer (#30017)
  • [flake8-simplify] Report collapsible elif clauses after a multi-statement if branch (SIM102) (#29814)

Rule changes

  • Show more nonprinting characters in diagnostic fix diffs (#30062)

Performance

  • Coalesce source slices when formatting attributes (#29841)
  • Collect return statements with a statement-only visitor (#29911)
  • [pyflakes] Defer value comparisons for repeated dictionary keys (F601, F602) (#29739)
  • Format node fields directly when comment handling is unnecessary (#29853)
  • Reduce formatter source-slice overhead (#29855)
  • Reuse a callee's qualified name across lint rules (#29916)
  • Skip invalid string character checks when the source contains none (#29883)
  • Use a Bloom filter for formatter comment lookups (#29852)
  • Use a concrete buffer for ordinary writes (#29819)

CLI

  • Give NO_COLOR precedence in Ruff and ty diagnostics (#29898)
  • Honor CLICOLOR=0 in Ruff and ty diagnostics (#29910)

Documentation

  • Correct the documented version and src defaults for ruff-action (#29880)
  • [flake8-bugbear] Make B014 example error out-of-the-box (#29941)
  • [flake8-no-pep420] Document preview behavior (INP001) (#29764)
  • [isort] Expand I001 documentation (#29843)

Other changes

  • [syntax-errors] Extend __debug__ write check to attribute targets (#27908)

Contributors

... (truncated)

Changelog

Sourced from ruff's changelog.

0.17.4

Released on 2026-11-05.

Preview features

  • [flake8-logging-format] Avoid behavior changes and syntax errors in fixes (G004) (#27419)
  • [security] Implement tarfile-ignore-zeros-true (#28680)

Bug fixes

  • Accept a bare raise before a semicolon (#29761)
  • Allow match identifiers after a semicolon (#29760)
  • Fix panic on BOM-prefixed files in diagnostic renderer (#30017)
  • [flake8-simplify] Report collapsible elif clauses after a multi-statement if branch (SIM102) (#29814)

Rule changes

  • Show more nonprinting characters in diagnostic fix diffs (#30062)

Performance

  • Coalesce source slices when formatting attributes (#29841)
  • Collect return statements with a statement-only visitor (#29911)
  • [pyflakes] Defer value comparisons for repeated dictionary keys (F601, F602) (#29739)
  • Format node fields directly when comment handling is unnecessary (#29853)
  • Reduce formatter source-slice overhead (#29855)
  • Reuse a callee's qualified name across lint rules (#29916)
  • Skip invalid string character checks when the source contains none (#29883)
  • Use a Bloom filter for formatter comment lookups (#29852)
  • Use a concrete buffer for ordinary writes (#29819)

CLI

  • Give NO_COLOR precedence in Ruff and ty diagnostics (#29898)
  • Honor CLICOLOR=0 in Ruff and ty diagnostics (#29910)

Documentation

  • Correct the documented version and src defaults for ruff-action (#29880)
  • [flake8-bugbear] Make B014 example error out-of-the-box (#29941)
  • [flake8-no-pep420] Document preview behavior (INP001) (#29764)
  • [isort] Expand I001 documentation (#29843)

Other changes

  • [syntax-errors] Extend __debug__ write check to attribute targets (#27908)

Contributors

... (truncated)

Commits
  • 05cdc36 Bump version to 0.17.4 (#30073)
  • c6b17c2 [ty] Freshen method typevars before owner specialization (#29543)
  • 4b0b407 [ty] Preserve unions inferred during fixpoint iteration (#29927)
  • 1dd3e9e Show more nonprinting characters in diagnostic fix diffs (#30062)
  • 32be8e7 [ty] Skip fixpoint iteration for simple generic calls (#30054)
  • 926ccc8 [ty] Handle output errors when generating shell completions (#29997)
  • c86652a [ty] Skip active Conda and Pixi environments during discovery if the environm...
  • c9150f0 Add project walltime benchmarks for Ruff (#30061)
  • 64989ec [ty] Report invalid module globs once per override pattern (#30031)
  • 367a563 [ty] Fix conditional type and tuple annotations (#29987)
  • Additional commits viewable in compare view

Updates mypy from 2.4.0 to 2.4.1

Changelog

Sourced from mypy's changelog.

Mypy 2.4.1

  • Process overloads as a whole in two-phase type checking (Ivan Levkivskyi, PR 22231)
  • Skip recursive setup for frame-private nested functions in mypyc (Piotr Sawicki, PR 22187)

Acknowledgements

Thanks to all mypy contributors who contributed to this release:

  • A5rocks
  • Adam Dangoor
  • Alex Waygood
  • Ali Hamdan
  • Brian Helba
  • Chad Dombrova
  • David Foster
  • dnwpark
  • Edgar Ramírez Mondragón
  • Giorgos Michas
  • Ivan Levkivskyi
  • Jelle Zijlstra
  • Jukka Lehtosalo
  • Marc Mueller
  • Michael R. Crusoe
  • NIYONSHUTI Emmanuel
  • Piotr Sawicki
  • Shantanu
  • themylogin
  • Vaggelis Danias
  • Willy Bruns

I'd also like to thank my employer, Dropbox, for supporting mypy development.

Mypy 2.3

We've just uploaded mypy 2.3.0 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

The Upcoming Switch to the New Native Parser

We are planning to enable the new native parser (--native-parser) by default soon. We recommend that you test the native parser in your projects and report any issues in the mypy issue tracker.

Mypyc Free-threading Memory Safety

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Summary by cubic

Updates six dependencies in uv.lock, including torch, pytest, and mkl-fft.

Notable Changes

  • torch 2.15.0 raises the minimum Python to 3.11 and makes importlib.reload(torch) fail.
  • pytest 9.2.0 makes indirect, ids, and scope keyword-only in parametrize and enforces existing paths for -c.
  • mkl-fft 2.4.0 raises MemoryError instead of ValueError on out-of-memory and changes result memory order for some Fortran-ordered inputs.
  • Remainder are minor and patch bumps to ruff, hypothesis, and mypy.