Bump the uv-updates group with 6 updates
Bumps the uv-updates group with 6 updates:
| Package | From | To |
|---|---|---|
| mkl-fft | 2.3.2 | 2.4.0 |
| torch | 2.14.1 | 2.15.0 |
| pytest | 9.1.1 | 9.2.0 |
| hypothesis | 6.161.2 | 6.170.15 |
| ruff | 0.16.0 | 0.17.4 |
| mypy | 2.4.0 | 2.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"andnorm="ortho"scaling was wrong whenever an N-D transform covered only a subset of axes, and transforms writing into a user-providedoutarray produced wrong results — or wrote past the end ofout— for non-contiguousout, 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 importingmkl_fftno longer re-enables the GIL. The free-threaded configuration is built and tested in CI on 3.14t.- The
python-gilconstraint is gone from the conda recipes, which previously pinnedmkl_fftto GIL-enabled Python 3.14 builds.🐍 Python 3.15 Support
- Added support for Python 3.15. Note that the
scipy_interfaceandtestextras cannot be installed from PyPI on 3.15 yet, becausemkl-servicepublishes neither a 3.15 wheel nor an sdist there; conda packages are unaffected.🧮 Correct
normScaling for Partial N-D Transforms
norm="forward"/"ortho"infftn,ifftn,rfftn,irfftnand thefft2family scaled by the full array shape instead of by the transformed axes, so results were wrong wheneveraxesorscovered only part of the array.irfftnandirfft2normalized over the input lengthninstead of the complex-to-real output length2 * (n - 1).🎯
out=Correctness
fft,ifftand thefftn/fft2family silently returnedoutunmodified when the input dtype was notfloat32,float64,complex64orcomplex128.fft/ifft,ifft/ifftnof real input, andrfft/rfftnof cast input produced wrong results, and could write outside ofout, whenoutwas non-contiguous or Fortran-ordered.⚡ Performance
- Lower Python-side overhead of
norm="forward"/"ortho"scaling.rfftno longer makes a slow reordering copy of Fortran-ordered input that needs a cast.- One fewer full-array copy in the
scipy_ffthfft/hfftnadapters, and the GIL is released during the final conjugation of 1-Difftof real input.⚠️ Behavior Changes
- Out-of-memory failures reported by MKL (
DFTI_MEMORY_ERROR) now raiseMemoryErrorinstead ofValueError. Code catchingValueErroraround large transforms will no longer catch them.- For Fortran-contiguous input of a dtype other than
float32/float64, the result ofrfft,rfft2,rfftnand of theirnumpy_fft/scipy_fftcounterparts is now Fortran- rather than C-contiguous.📦 Build Requirement Changes
- The minimum build-time
Cythonrequirement is raised to3.1.0, the first release providing thefreethreading_compatibledirective.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_interfaceandtestextras cannot be installed from PyPI on 3.15 yet, becausemkl-servicepublishes neither a 3.15 wheel nor an sdist thereChanged
- Raised the minimum build-time
Cythonrequirement to3.1.0, the first release providing thefreethreading_compatibledirective gh-357- Removed the
python-gilconstraint from the conda recipes, which pinnedmkl_fftto GIL-enabled Python 3.14 builds gh-357- Out-of-memory failures reported by MKL (
DFTI_MEMORY_ERROR) are now raised asMemoryErrorinstead ofValueErrorgh-373- Removed a redundant full-array copy in the
hfftandhfftnadapters ofmkl_fft.interfaces.scipy_fftgh-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_interfaceandtestextras cannot be installed from PyPI on 3.15 yet, becausemkl-servicepublishes neither a 3.15 wheel nor an sdist thereChanged
- Raised the minimum build-time
Cythonrequirement to3.1.0, the first release providing thefreethreading_compatibledirective gh-357- Removed the
python-gilconstraint from the conda recipes, which pinnedmkl_fftto GIL-enabled Python 3.14 builds gh-357- Out-of-memory failures reported by MKL (
DFTI_MEMORY_ERROR) are now raised asMemoryErrorinstead ofValueErrorgh-373- Removed a redundant full-array copy in the
hfftandhfftnadapters ofmkl_fft.interfaces.scipy_fftgh-382- Reduced Python overhead in
norm="forward"/"ortho"scaling by computing the scale factor withoutnumpy.prodgh-384rfftnow casts input of dtypes other thanfloat32/float64tofloat64keeping 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 ofrfft,rfft2,rfftnand of their counterparts in thenumpy_fftandscipy_fftinterfaces 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
ifftof real input, as it already was in the N-D backend gh-389Fixed
- Fixed
norm="forward"/"ortho"scaling infftn,ifftn,rfftn,irfftnand thefft2family 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 inirfftnandirfft2, which normalized over the input lengthnrather than the complex-to-real output length2 * (n - 1)gh-370- Fixed possible memory leaks when
PyMem_Mallocfails, and raiseMemoryErrorgh-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,ifftnand thefft2family 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 thefftn/fft2family returningoutunmodified whenoutis given and the input dtype is notfloat32,float64,complex64orcomplex128(e.g. integer,bool,float16) gh-387- Fixed wrong results and writes outside of
outinfft/ifftwhen the input is cast or zero-padded into a contiguous copy whileouthas the same non-contiguous layout as the original input gh-387- Fixed wrong results and writes outside of
outinifftandifftnof real input whenoutis not contiguous: the final complex conjugation treatedoutas one contiguous block gh-389- Fixed wrong results in
rfftandrfftnwithoutfor input that is cast tofloat64(e.g. integer,float16) when the input andoutare Fortran-ordered gh-389
Commits
cdafe6eMerge pull request #392 from IntelPython/prepare-for-2.4.0-release0d364d1Refine the CHANGELOG entries for 2.4.0801faf3Bump the version5b26449Finalized the CHANGELOG3c3b169Merge pull request #378 from IntelPython/support-python-3.155020235Add Python 3.15 as pinned include rows in CI matrices04cbfbdMerge branch 'master' into support-python-3.154e84e7eMerge pull request #389 from IntelPython/fix/out-strided-legacy-bugs70bfaacMerge branch 'master' into fix/out-strided-legacy-bugsc084cb6fix: 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
- Backwards Incompatible Changes
- Deprecations
- New Features
- Improvements
- Bug fixes
- Performance
- Documentation
- Security
- Developers
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 torchcan no longer be re-executed in the same process, including viaimportlib.reload(torch)(#194654)
importlib.reload(torch)anddel sys.modules["torch"]+ re-import now raise, as does retryingimport torchafter 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 leavestorchinsys.modulesso the body never re-runs, and re-entrant imports from a backend extension during autoload still short-circuit onsys.moduleswithout reaching the check.Version 2.14:
import importlib import torchimportlib.reload(torch)
RuntimeError: Only a single TORCH_LIBRARY can be used to register the namespace triton; ...
(re-importing after a failed
import torchfailed 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...e47ff36Ship top_level.txt in wheel dist-info (#201435)5dc0495Skip 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:
-cnow 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 unhandledFileNotFoundError.#8593: The
indirect,idsandscopearguments ofMetafunc.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 inindirectand failed withindirect fixture '(1, 2)' doesn't exist; such mistakes now fail with an understandableTypeError. 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_pluginsorPYTEST_PLUGINS-- exits withpytest.ExitCodeUSAGE_ERROR(4), like aconftest.pythat fails to import;- a plugin that is found but raises while importing -- including a broken
pytest11entry point or a missing plugin dependency -- exits withpytest.ExitCodeINTERNAL_ERROR(3), with the traceback preserved.
pytest.mainnow returns these codes instead of raisingImportError. Also fixed anIndexErrorfrom pytest's own internals when the plugin raised an exception with no arguments.Deprecations (removal in next major release)
#14742: The private
_pytest.python.CallSpec2name has been renamed toCallSpec. The oldCallSpec2alias 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, andsession) defined as instance methods are now deprecated.They suffer from the same issue the original deprecation only fixed for class-scoped fixtures, see
10819and14011.#14808: Passing a non-string value to a
string-typed ini option now emits apytest.PytestRemovedIn10Warning. This affects[tool.pytest.ini_options]inpyproject.toml. In pytest 10 this will raise aTypeError, matching the behavior of the corresponding TOML config path.#7323: Passing
bytestoTerminalReporter.write_line()is now deprecated, pass astrinstead.New features
- #14743: Full diff: now contains a legend explaining the + & - symbols in diff output.
- #2781: When
strict_markersis enabled, marker names used in-mexpressions are now validated against registered markers.- #6881: Added the
parametrize_long_str_id_strategyconfiguration option to control how longstr/bytesparameter values are handled in auto-generated test IDs. Explicit IDs set viaids=[...]orpytest.param(..., id=...)are not affected. Available strategies:short(default, values over 100 chars fall back toargname+index),sha256(SHA-256 hex digest),legacy(keep full value), anddisallow(error requesting explicit IDs).Improvements in existing functionality
- #10745: A
RecursionErrorwhose 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-traceto see every frame.
... (truncated)
Commits
ae1d0ffPrepare release version 9.2.0143ce31pre-commit: exclude codespell on generated release announcements532dc5ftox: add attrs dependency to regen, needed in reportingdemo.rsta7b2446Merge pull request #15245 from pytest-dev/claude/project-thread-9jcf91679d09c[pre-commit.ci] pre-commit autoupdate (#15266)41d12cddocs: clarify typing for yield fixturesb9022baMerge pull request #15182 from 1871698/docs/improve-getting-started-description16f87a7docs: improve getting-started.rst test execution description082ed70Merge pull request #15255 from pytest-dev/claude/project-thread-eoi3d6ae37a01Merge 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
9ab0be6Bump hypothesis version to 6.170.15 and update changelog460d72fMerge pull request #4946 from jorenham/typing/errors/coverage26f1634Enfore 100% public type coverage in CI withpyrefly coverage checkfb08018version: fill in the missing type annotation7af7891Rephrase release note as suggested in review95e0906Add release notesb7d5433extra.ghostwriter: fill in the missing type annotations3537278extra.codemods: fill in the missing type annotationsbd1a894extra.dpcontracts: fill in the missing type annotation4bb761eerrors: 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] Implementtarfile-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 collapsibleelifclauses after a multi-statementifbranch (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_COLORprecedence in Ruff and ty diagnostics (#29898)- Honor
CLICOLOR=0in Ruff and ty diagnostics (#29910)Documentation
- Correct the documented
versionandsrcdefaults forruff-action(#29880)- [
flake8-bugbear] MakeB014example error out-of-the-box (#29941)- [
flake8-no-pep420] Document preview behavior (INP001) (#29764)- [
isort] ExpandI001documentation (#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] Implementtarfile-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 collapsibleelifclauses after a multi-statementifbranch (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_COLORprecedence in Ruff and ty diagnostics (#29898)- Honor
CLICOLOR=0in Ruff and ty diagnostics (#29910)Documentation
- Correct the documented
versionandsrcdefaults forruff-action(#29880)- [
flake8-bugbear] MakeB014example error out-of-the-box (#29941)- [
flake8-no-pep420] Document preview behavior (INP001) (#29764)- [
isort] ExpandI001documentation (#29843)Other changes
- [syntax-errors] Extend
__debug__write check to attribute targets (#27908)Contributors
... (truncated)
Commits
05cdc36Bump version to 0.17.4 (#30073)c6b17c2[ty] Freshen method typevars before owner specialization (#29543)4b0b407[ty] Preserve unions inferred during fixpoint iteration (#29927)1dd3e9eShow 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...c9150f0Add 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 mypyYou 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
ad02a35Skip test for 2.4.1cad7794Finalize version to 2.4.1d9cbcbcAdd changelog for Mypy 2.4.1 (#22310)2860baaProcess overloads as a whole in two-phase type-checking (#22231)9b3e307[mypyc] Skip recursive setup for frame-private nested functions (#22187)10ad5f6Bump ast-serialize to 0.12.1 (#22093)350052fBump ast-serialize to 0.12.0 (#22087)f7d08cfBump version to 2.4.1+dev- See full diff in compare view
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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill 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 versionwill 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
torch2.15.0 raises the minimum Python to 3.11 and makesimportlib.reload(torch)fail.pytest9.2.0 makesindirect,ids, andscopekeyword-only inparametrizeand enforces existing paths for-c.mkl-fft2.4.0 raisesMemoryErrorinstead ofValueErroron out-of-memory and changes result memory order for some Fortran-ordered inputs.- Remainder are minor and patch bumps to
ruff,hypothesis, andmypy.