NumPy 2.0.0 is the first major release since 2006. It is the result of
11 months of development since the last feature release and is the work
of 212 contributors spread over 1078 pull requests. It contains a large
number of exciting new features as well as changes to both the Python
and C APIs.
This major release includes breaking changes that could not happen in a
regular minor (feature) release - including an ABI break, changes to
type promotion rules, and API changes which may not have been emitting
deprecation warnings in 1.26.x. Key documents related to how to adapt to
changes in NumPy 2.0, in addition to these release notes, include:
A new variable-length string dtype, numpy.dtypes.StringDType and a new
numpy.strings namespace with performant ufuncs for string operations,
Support for float32 and longdouble in all
numpy.fft functions,
Support for the array API standard in the main numpy
namespace.
Performance improvements:
Sorting functions sort, argsort,
partition, argpartition have been
accelerated through the use of the Intel x86-simd-sort and
Google Highway libraries, and may see large (hardware-specific)
speedups,
macOS Accelerate support and binary wheels for macOS >=14, with
significant performance improvements for linear algebra
operations on macOS, and wheels that are about 3 times smaller,
numpy.char fixed-length string operations have
been accelerated by implementing ufuncs that also support
numpy.dtypes.StringDType in addition to the
fixed-length string dtypes,
A new tracing and introspection API,
numpy.lib.introspect.opt_func_info, to determine
which hardware-specific kernels are available and will be
dispatched to.
numpy.save now uses pickle protocol version 4 for saving
arrays with object dtype, which allows for pickle objects larger
than 4GB and improves saving speed by about 5% for large arrays.
Python API improvements:
... (truncated)
Commits
1d49c7f Merge pull request #26698 from charris/prepare-2.0.0
#12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
#12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
#12381: Fix possible "Directory not empty" crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0.
Improved Documentation
#12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
#12356: Added a subsection to the documentation for debugging flaky tests to mention
lack of thread safety in pytest as a possible source of flakyness.
#12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.
8.2.1
pytest 8.2.1 (2024-05-19)
Improvements
#12334: Support for Python 3.13 (beta1 at the time of writing).
Bug Fixes
#12120: Fix [PermissionError]{.title-ref} crashes arising from directories which are not selected on the command-line.
#12191: Keyboard interrupts and system exits are now properly handled during the test collection.
#12300: Fixed handling of 'Function not implemented' error under squashfuse_ll, which is a different way to say that the mountpoint is read-only.
#12308: Fix a regression in pytest 8.2.0 where the permissions of automatically-created .pytest_cache directories became rwx------ instead of the expected rwxr-xr-x.
Trivial/Internal Changes
#12333: pytest releases are now attested using the recent Artifact Attestation support from GitHub, allowing users to verify the provenance of pytest's sdist and wheel artifacts.
Fix error reporting on cached run after uninstallation of third party library (Shantanu, PR 17420)
Acknowledgements
Thanks to all mypy contributors who contributed to this release:
Alex Waygood
Ali Hamdan
Edward Paget
Evgeniy Slobodkin
Hashem
hesam
Hugo van Kemenade
Ihor
James Braza
Jelle Zijlstra
jhance
Jukka Lehtosalo
Loïc Simon
Marc Mueller
Matthieu Devlin
Michael R. Crusoe
Nikita Sobolev
Oskari Lehto
Riccardo Di Maio
Richard Si
roberfi
Roman Solomatin
Sam Xifaras
Shantanu
Spencer Brown
Srinivas Lade
Tamir Duberstein
youkaichao
I’d also like to thank my employer, Dropbox, for supporting mypy development.
Mypy 1.9
We’ve just uploaded mypy 1.9 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.
Breaking Changes
Because the version of typeshed we use in mypy 1.9 doesn't support 3.7, neither does mypy 1.9. (Jared Hance, PR 16883)
... (truncated)
Commits
c28b525 [1.10 backport] Fix error reporting on cached run after uninstallation of thi...
- - Add ``windir`` to the default list of Windows ``pass_env`` environment variables. - by :user:`kurtmckee` (:issue:`3302`)
Improved Documentation - 4.16.0
Fix typo in configuration example and fix broken link to code style guide. - by :user:srenfo (:issue:3297)
v4.15.1 (2024-06-05)
Features - 4.15.1
- Fix ``skip_missing_interpreters`` option for ``package = wheel`` (:issue:`3269`)
Bugfixes - 4.15.1
Fix section substitution with setenv. (:issue:3262)
Allow ConfigSet.add_config to receive parameterized generics for of_type. (:issue:3288)
v4.15.0 (2024-04-26)
Features - 4.15.0
- Add support for multiple appending override options (-x, --override) on command line - by :user:`amitschang`. (:issue:`3261`)
- Add support for inverting exit code success criteria using bang (!) (:issue:`3271`)
Bugfixes - 4.15.0
Fix issue that the leading character c was dropped from packages in constraints files - by :user:jugmac00. (:issue:3247)
Allow appending to deps with --override testenv.deps+=foo - by :user:stefanor. (:issue:3256)
Fix non-existing branch rewrite in the documentation to main. (:issue:3257)
Update test typing for build 1.2.0, which has an explicit Distribution type - by :user:stefanor. (:issue:3260)
Fix broken input parsing for --discover flag. - by :user:mimre25 (:issue:3272)
Improved Documentation - 4.15.0
- Rephrase ``--discover`` flag's description to avoid confusion between paths and executables. - by :user:`mimre25` (:issue:`3274`)
v4.14.2 (2024-03-22)
Bugfixes - 4.14.2
- Add provision arguments to ToxParser to fix crash when provisioning new tox environment without list-dependencies by :user:`seyidaniels` (:issue:`3190`)
</tr></table>
</code></pre>
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/tox-dev/tox/commit/5646274f1a3cb681b70c1eb8470bbadc871ee3fc"><code>5646274</code></a> release 4.16.0</li>
<li><a href="https://github.com/tox-dev/tox/commit/b12fa626520aa581e53deca76f622f547cfb3ff0"><code>b12fa62</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/tox-dev/tox/issues/3300">#3300</a>)</li>
<li><a href="https://github.com/tox-dev/tox/commit/264d44f3e2c97d6ed5cf194cb78a8bde5f80998c"><code>264d44f</code></a> Add <code>windir</code> to the default list of <code>pass_env</code> variables on Windows (<a href="https://redirect.github.com/tox-dev/tox/issues/3303">#3303</a>)</li>
<li><a href="https://github.com/tox-dev/tox/commit/698f1dd6634c0df9fc56d14be2292e5f0764f15c"><code>698f1dd</code></a> Fix tests after new setuptools (<a href="https://redirect.github.com/tox-dev/tox/issues/3299">#3299</a>)</li>
<li><a href="https://github.com/tox-dev/tox/commit/cf8db09e22a8cad11cc42c78216d4cc74fb63c6a"><code>cf8db09</code></a> [pre-commit.ci] pre-commit autoupdate (<a href="https://redirect.github.com/tox-dev/tox/issues/3286">#3286</a>)</li>
<li><a href="https://github.com/tox-dev/tox/commit/a261614f34f1b1831b986e06af28170b43224537"><code>a261614</code></a> Fix two small documentation issues (<a href="https://redirect.github.com/tox-dev/tox/issues/3297">#3297</a>)</li>
<li><a href="https://github.com/tox-dev/tox/commit/8bf2fbd0ff2da126783049d8f8e23255ed75b375"><code>8bf2fbd</code></a> Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (<a href="https://redirect.github.com/tox-dev/tox/issues/3295">#3295</a>)</li>
<li><a href="https://github.com/tox-dev/tox/commit/079000fe80bb9baa3eb0e7f8f53f932810942d14"><code>079000f</code></a> release 4.15.1</li>
<li><a href="https://github.com/tox-dev/tox/commit/489ad821e5b9c6d5aff500e1b3abc4292f52a2dc"><code>489ad82</code></a> Fix section substitution with setenv (<a href="https://redirect.github.com/tox-dev/tox/issues/3289">#3289</a>)</li>
<li><a href="https://github.com/tox-dev/tox/commit/7317225d179a7bd70cbe409f5273d6aa3ffac488"><code>7317225</code></a> Allow <code>ConfigSet.add_config</code> to receive parameterized generics for <code>of_type</code>....</li>
<li>Additional commits viewable in <a href="https://github.com/tox-dev/tox/compare/4.15.0...4.16.0">compare view</a></li>
</ul>
</details>
<br />
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-automerge-start)
[//]: # (dependabot-automerge-end)
---
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
Updates the requirements on numpy, horde-sdk, horde-engine, horde-model-reference, pydantic, pytest, mypy, ruff, tox and pre-commit to permit the latest version. Updates
numpy
from 1.26.4 to 2.0.0Release notes
Sourced from numpy's releases.
... (truncated)
Commits
1d49c7f
Merge pull request #26698 from charris/prepare-2.0.02103511
DOC: Remove duplicate in author list.db8030e
BUG: Change cibuildwheel version [wheel build]1a68264
REL: Prepare for the NumPy 2.0.0 release [wheel build]c8665ba
Merge pull request #26696 from charris/backport-26582103f4dd
Merge pull request #26697 from charris/backport-25963c193dcd
Merge pull request #26695 from charris/backport-266678fa8191
BUG: Fix bug in numpy.pad() (#25963)ece3559
BUG: weighted nanpercentile, nanquantile and multi-dim q (#26582)b31e195
BUG: Adds asanyarray to start of linalg.cross (#26667)Updates
horde-sdk
to 0.13.1Release notes
Sourced from horde-sdk's releases.
Commits
e528ff1
Merge pull request #217 from Haidra-Org/main370dc29
feat:hires_fix_denoising_strength
3e7a8d5
Merge pull request #213 from Haidra-Org/maind56097c
feat: support transparent in the payloadf717131
Merge pull request #209 from Haidra-Org/main1216a0d
fix: use ~0.7.0 ofhorde_model_reference
033f01d
Merge pull request #205 from Haidra-Org/main8b16596
feat: support/documents/
endpoints816f897
chore: update pre-commit deps373643c
build(deps-dev): bump ruff in the python-packages groupUpdates
horde-engine
to 2.13.2Release notes
Sourced from horde-engine's releases.
Commits
2c5f1cb
Merge pull request #285 from Haidra-Org/maindd829d7
feat: Updates Facerestore node to latest version. (#284)6a238d0
tests: fix pr test pre-commit runs; only install tox on runner0a92e31
ci: update changelogd5c62be
Merge pull request #281 from Haidra-Org/mainc0bab91
fix: treat SDXL hires fix like cascade (1024x longest dim)04237b8
ci: update changelogf9b6bad
Merge pull request #280 from Haidra-Org/main77f5b4d
fix: support function injection w/o magic strings7370209
fix: can use smart fucntions to calculate internal paramsUpdates
horde-model-reference
to 0.7.0Release notes
Sourced from horde-model-reference's releases.
Commits
bf08ac8
Merge pull request #112 from Haidra-Org/main3793d1d
feat:miscellaneous
model manager support319265b
chore: update pre-commit deps7dedcf3
build(deps-dev): bump ruff in the python-packages group1f273c0
chore: update pre-commit deps5ecee92
build(deps-dev): bump the python-packages group across 1 directory with 6 upd...35bf357
ci: run pre-commit with--all-files
on testsUpdates
pydantic
to 2.8.2Release notes
Sourced from pydantic's releases.
Changelog
Sourced from pydantic's changelog.
... (truncated)
Commits
4978ee2
update history0345929
v bumpd390a04
Fix issue with assertion caused by pluggable schema validator (#9838)040865f
update history5a33e3b
bump version2f9abb2
Bumppydantic-core
tov2.20.1
,pydantic-extra-types
tov2.9.0
(#9832)ce9c5f7
Remove spooky meetings file (#9824)6bdd6d1
Pedantic typo correction within explanation of Pydantic's root in 'pedantic' ...701ccde
Fix list constraint json schema application (#9818)2a066a2
Bumpruff
tov0.5.0
andpyright
tov1.1.369
(#9801)Updates
pytest
from 8.2.0 to 8.2.2Release notes
Sourced from pytest's releases.
Commits
329d371
Prepare release version 8.2.2214d098
Merge pull request #12414 from bluetech/backport-12409153a436
[8.2.x] fixtures: fix catastrophic performance problem inreorder_items
b41d5a5
Merge pull request #12412 from pytest-dev/backport-12408-to-8.2.x9bb73d7
[8.2.x] cacheprovider: fix "Directory not empty" crash from cache directory c...4569a01
[8.2.x] doc: Update trainings/events (#12402)1d103e5
[8.2.x] Clarify pytest_ignore_collect docs (#12386)240a252
[8.2.x] Add html_baseurl to sphinx conf.py (#12372)a5ee3c4
Merge pull request #12370 from pytest-dev/backport-12368-to-8.2.xf7358ae
[8.2.x] unittest: fix class instances no longer released on test teardown sin...Updates
mypy
from 1.10.0 to 1.10.1Changelog
Sourced from mypy's changelog.
... (truncated)
Commits
c28b525
[1.10 backport] Fix error reporting on cached run after uninstallation of thi...Updates
ruff
from 0.4.2 to 0.5.3Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
f0d589d
Provide custom job permissions tocargo-dist
(#12386)512c8b2
Provide contents read permission to wasm publish job (#12384)811f78d
[red-knot] small efficiency improvements and bugfixes to use-def map building...8f1be31
Update 0.5.3 changelog caption (#12383)8cfbac7
Bump version to 0.5.3 (#12381)9460857
Migrate to standalone docs repo (#12341)a028ca2
Add VS Code specific extension settings (#12380)7953f6a
Update versioning policy for editor integration (#12375)764d9ab
Allowrepeated-equality-comparison
for mixed operations (#12369)9b9d701
Allow additional arguments for sum and max comprehensions (#12364)Updates
tox
to 4.16.0Release notes
Sourced from tox's releases.
Changelog
Sourced from tox's changelog.