This release is meant to fix the following issues (regressions / silent correctness):
Breaking Changes:
The pytorch/pytorch docker image now installs the PyTorch package through pip and has switch its conda installation from miniconda to miniforge (#134274)
Windows:
Fix performance regression on Windows related to MKL static linking (#130619) (#130697)
Fix error during loading on Windows: [WinError 126] The specified module could not be found. (#131662) (#130697)
Fix error when using torch.utils.flop_counter.FlopCounterMode (#134467)
Tracked Regressions:
The experimental remote caching feature for Inductor's autotuner (enabled via TORCHINDUCTOR_AUTOTUNE_REMOTE_CACHE) is known to still be broken in this release and actively worked on in main. Following Error is generated: redis.exceptions.DataError: Invalid input of type: 'dict'. Please use nightlies if you need this feature (reported and Fixed by PR: #134032)
Release tracker #132400 contains all relevant pull requests related to this release as well as links to related issues.
Commits
ee1b680 [Doc] Fix rendering of the unicode characters (#134695)
79c8867 Fix docstring for torch.signal.windows.nuttall (#134704)
Dropped support for Python 3.8 (as #698 cannot be resolved without cancel message support)
Fixed 100% CPU use on asyncio while waiting for an exiting task group to finish while said task group is within a cancelled cancel scope (#695)
Fixed cancel scopes on asyncio not propagating CancelledError on exit when the enclosing cancel scope has been effectively cancelled (#698)
Fixed asyncio task groups not yielding control to the event loop at exit if there were no child tasks to wait on
Fixed inconsistent task uncancellation with asyncio cancel scopes belonging to a task group when said task group has child tasks running
4.5.0
Improved the performance of anyio.Lock and anyio.Semaphore on asyncio (even up to 50 %)
Added the fast_acquire parameter to anyio.Lock and anyio.Semaphore to further boost performance at the expense of safety (acquire() will not yield control back if there is no contention)
Added support for the from_uri(), full_match(), parser methods/properties in anyio.Path, newly added in Python 3.13 (#737)
Added support for more keyword arguments for run_process() and open_process(): startupinfo, creationflags, pass_fds, user, group, extra_groups and umask (#742)
Improved the type annotations and support for PathLike in run_process() and open_process() to allow for path-like arguments, just like subprocess.Popen
Changed the ResourceWarning from an unclosed memory object stream to include its address for easier identification
Changed start_blocking_portal() to always use daemonic threads, to accommodate the "loitering event loop" use case
Bumped the minimum version of Trio to v0.26.1
Fixed __repr__() of MemoryObjectItemReceiver, when item is not defined (#767; PR by @Danipulok)
Fixed to_process.run_sync() failing to initialize if __main__.__file__ pointed to a file in a nonexistent directory (#696)
Fixed AssertionError: feed_data after feed_eof on asyncio when a subprocess is closed early, before its output has been read (#490)
Fixed TaskInfo.has_pending_cancellation() on asyncio not respecting shielded scopes (#771; PR by @gschaffner)
Fixed SocketStream.receive() returning bytearray instead of bytes when using asyncio with ProactorEventLoop (Windows) (#776)
Fixed quitting the debugger in a pytest test session while in an active task group failing the test instead of exiting the test session (because the exit exception arrives in an exception group)
This library adheres to Semantic Versioning 2.0 <http://semver.org/>_.
4.6.0
Dropped support for Python 3.8
(as [#698](https://github.com/agronholm/anyio/issues/698) <https://github.com/agronholm/anyio/issues/698>_ cannot be resolved
without cancel message support)
Fixed 100% CPU use on asyncio while waiting for an exiting task group to finish while
said task group is within a cancelled cancel scope
([#695](https://github.com/agronholm/anyio/issues/695) <https://github.com/agronholm/anyio/issues/695>_)
Fixed cancel scopes on asyncio not propagating CancelledError on exit when the
enclosing cancel scope has been effectively cancelled
([#698](https://github.com/agronholm/anyio/issues/698) <https://github.com/agronholm/anyio/issues/698>_)
Fixed asyncio task groups not yielding control to the event loop at exit if there were
no child tasks to wait on
Fixed inconsistent task uncancellation with asyncio cancel scopes belonging to a
task group when said task group has child tasks running
4.5.0
Improved the performance of anyio.Lock and anyio.Semaphore on asyncio (even up
to 50 %)
Added the fast_acquire parameter to anyio.Lock and anyio.Semaphore to
further boost performance at the expense of safety (acquire() will not yield
control back if there is no contention)
Added support for the from_uri(), full_match(), parser methods/properties
in anyio.Path, newly added in Python 3.13
([#737](https://github.com/agronholm/anyio/issues/737) <https://github.com/agronholm/anyio/issues/737>_)
Added support for more keyword arguments for run_process() and open_process():
startupinfo, creationflags, pass_fds, user, group,
extra_groups and umask
([#742](https://github.com/agronholm/anyio/issues/742) <https://github.com/agronholm/anyio/issues/742>_)
Improved the type annotations and support for PathLike in run_process() and
open_process() to allow for path-like arguments, just like subprocess.Popen
Changed the ResourceWarning from an unclosed memory object stream to include its
address for easier identification
Changed start_blocking_portal() to always use daemonic threads, to accommodate the
"loitering event loop" use case
Bumped the minimum version of Trio to v0.26.1
Fixed __repr__() of MemoryObjectItemReceiver, when item is not defined
([#767](https://github.com/agronholm/anyio/issues/767) <https://github.com/agronholm/anyio/pull/767>_; PR by @Danipulok)
Fixed to_process.run_sync() failing to initialize if __main__.__file__ pointed
to a file in a nonexistent directory
([#696](https://github.com/agronholm/anyio/issues/696) <https://github.com/agronholm/anyio/issues/696>_)
Fixed AssertionError: feed_data after feed_eof on asyncio when a subprocess is
closed early, before its output has been read
([#490](https://github.com/agronholm/anyio/issues/490) <https://github.com/agronholm/anyio/issues/490>_)
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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore 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 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 ` 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 ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the python-packages group with 11 updates in the / directory:
2.4.0
2.4.1
1.26.4
2.0.2
24.3.2
24.9.0
4.4.0
4.6.0
3.15.4
3.16.1
2024.6.1
2024.9.0
3.8
3.10
4.2.2
4.3.6
13.8.0
13.8.1
0.6.3
0.6.8
1.13.2
1.13.3
Updates
torch
from 2.4.0 to 2.4.1Release notes
Sourced from torch's releases.
Commits
ee1b680
[Doc] Fix rendering of the unicode characters (#134695)79c8867
Fix docstring for torch.signal.windows.nuttall (#134704)38b96d3
Do not use\<filesystem>
on Linux (#134494) (#134604)b84e8c6
Move module_tracker to logging for confused hierarchy (#134467) (#134501)6a79d4a
[ROCm] Prevent accidental enablement of efficient attention. (#134531)e0ddbff
[Release Only] Disable flaky failing tests in release. Pin optree. Pin sympy ...314f033
Use ephemeral runners for windows nightly builds (#134463) (#134496)9c1f78e
[CD] Use ephemeral arm64 runners for nightly and docker builds (#134473) (#13...3675fc5
Use ephemeral runners for linux nightly builds (#134367) (#134492)920c023
docker: Use miniforge, install from pip (#134497)Updates
numpy
from 1.26.4 to 2.0.2Release notes
Sourced from numpy's releases.
... (truncated)
Commits
854252d
Merge pull request #27280 from charris/prepare-2.0.2cffa071
REL: Prepare for the NumPy 2.0.2 release [wheel build]1693029
Merge pull request #27279 from charris/backport-27275da9f9c3
BUG: Fix array_equal for numeric and non-numeric scalar typesee1cf96
Merge pull request #27213 from charris/backport-2720249dec35
BUG: Fix NPY_RAVEL_AXIS on backwards compatible NumPy 2 buildsbe56ae2
Merge pull request #27195 from charris/backport-2718275b039c
REV: Revert undef I and document it428e2ba
Merge pull request #27151 from charris/backport-27143451516d
BUG: Do not accidentally store dtype metadata innp.save
Updates
pontos
from 24.3.2 to 24.9.0Release notes
Sourced from pontos's releases.
Commits
12d5f63
Automatic release to 24.9.0213e94f
Fix loading of NVD API results when there are none (#1039)04eeac5
Deps: Bump the python-packages group with 5 updates (#1041)0a58495
Deps: Bump the python-packages group with 4 updates (#1040)8ceb855
Apply linter formattinge2a3689
Compare years as ints3f37803
Enable updating existing multi-year license headers with single_yearb7a3bd0
Add: single-year flag to command pontos-update-header139faba
Change check for excluded first when updating a file66efb6d
Fix handle IndexError exceptionUpdates
anyio
from 4.4.0 to 4.6.0Release notes
Sourced from anyio's releases.
Changelog
Sourced from anyio's changelog.
... (truncated)
Commits
8cce749
Bumped up the version01a37c6
Fixed TaskGroup and CancelScope exit issues on asyncio (#774)7f35ce7
Bumped up the version108cc83
[pre-commit.ci] pre-commit autoupdate (#788)d1aea98
Fixed KeyboardInterrupt hanging the asyncio test runner (#779)c1aff53
[pre-commit.ci] pre-commit autoupdate (#785)89d8b4c
Use sphinx_rtd_theme also as an extension4e9f18d
Enabled uvloop to be used in the test suite on Python 3.137de6441
Pin Sphinx to a compatible version with sphinx-rtd-theme41647f4
Fixed feed_data after feed_eof assertion errors on asyncio (#752)Updates
filelock
from 3.15.4 to 3.16.1Release notes
Sourced from filelock's releases.
Commits
c2c43e4
CI improvements (#362)4e98731
[pre-commit.ci] pre-commit autoupdate (#361)e6865be
[pre-commit.ci] pre-commit autoupdate (#360)0acea4f
Add 3.13 to CI (#359)4dc2a8f
Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.1 (#356)7397dd7
[pre-commit.ci] pre-commit autoupdate (#354)067b651
Bump actions/download-artifact from 3 to 4.1.7 in /.github/workflows (#357)85760d7
Test Python 3.13 (#352)4104f3e
[pre-commit.ci] pre-commit autoupdate (#348)Updates
fsspec
from 2024.6.1 to 2024.9.0Commits
76ca4a6
Changelog (#1670)7793ab8
Improve performance find zip archive (#1664)ee98ae3
Apply more ruff rules (#1660)4f883ad
Remove print statement (#1661)4b79654
localfs: reduce stats calls during info (#1659)32ce723
Add tls to ftp (#1581)36cd82e
run tests with miniconda (#1658)8f29d95
to support fsspec/kerchunk#488 (#1657)3ff5fca
Add exception handling for SMBFileSystem init connection errors (#1650)a55f8e9
docs: add reference to fsspec-xrootd (#1646)Updates
idna
from 3.8 to 3.10Changelog
Sourced from idna's changelog.
Commits
729225d
Release v3.103eef168
Merge pull request #194 from kjd/revert-unicode-16ceca619
Revert Unicode 16.0.0 data updatesc43ac75
Merge pull request #191 from kjd/release-3.91b8800a
Release v3.9a1fd168
Merge pull request #190 from kjd/unicode-167732c61
Merge branch 'master' into unicode-164ed183d
Refactor membership test762216b
Format with ruff580ece9
Implement changes to UTS46 algorithmUpdates
platformdirs
from 4.2.2 to 4.3.6Release notes
Sourced from platformdirs's releases.
... (truncated)
Commits
bc0405c
Fix readme download target (#307)c076da9
Split build and publish for release (#306)30199ec
Use upstream setup-uv with uv python (#305)3ce64d0
Bump astral-sh/setup-uv from 2 to 3 (#304)67691e2
[pre-commit.ci] pre-commit autoupdate (#303)85feea9
don't include outdated changelog in docs (#301)580dffd
Update check.yml (#302)c596271
Fix multi-path returned from_path
methods on MacOS (#299)a420284
Use uv as installer (#300)49a89ef
Update README.rstUpdates
rich
from 13.8.0 to 13.8.1Release notes
Sourced from rich's releases.
Changelog
Sourced from rich's changelog.
Commits
260b35f
Merge pull request #3485 from Textualize/bump1381574038d
bump1f131d1
Merge pull request #3481 from hugovk/add-3.13c8abbb3
Fix test for Python 3.13815596e
Add support for Python 3.1322c2cff
Merge pull request #3480 from Textualize/fix-infinite-appendf44e8bd
changelogf2ee295
fix infinite loop in appendUpdates
ruff
from 0.6.3 to 0.6.8Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
ae39ce5
Bump version to 0.6.8 (#13522)ff2d214
Don't skip over imports and other nodes containing nested statements in impor...9442cd8
Parenthesizematch..case
if
guards (#13513)8012707
Align formatting of patterns in match-cases with expression formatting in cla...d7ffe46
Disable thetypeset
plugin (#13517)7c83af4
red-knot: Implement thenot
operator for allType
variants (#13432)bbb044e
Detect tuples bound to variadic positional arguments i.e.*args
(#13512)4810652
Avoid UP028 false negatives with non-reference shadowed bindings of loop vari...11f06e0
Detect SIM910 when using variadic keyword arguments, i.e.,**kwargs
(#13503)f27a8b8
[internal]ComparableExpr
(f)strings and bytes made invariant under concate...Updates
sympy
from 1.13.2 to 1.13.3Commits
b4ce69a
Merge pull request #27081 from oscarbenjamin/pr_113_backport_fixes575dbfa
author: update AUTHORS file408b571
author: add Matt Wang to .mailmap77fffbf
remove unnecessary parentheses in func role from docstring2101e6d
remove unnecessary parentheses in func role fromdoc
09f4810
maint(ci): don't use ruff to check files outside sympy31623f0
release: bump version to 1.13.3766458c
fix(quantum): sympify inputs to clebsch_gordane34f10e
test(stats): fix Markov tests for empty matrices6db23e6
fix(matrices): Matrix([[], []]) -> Matrix(2, 0, [])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 merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show