amazon-braket / amazon-braket-examples

Example notebooks that show how to apply quantum computing with Amazon Braket.
https://aws.amazon.com/braket/
Apache License 2.0
463 stars 224 forks source link

infra: bump the dev-dependencies group across 1 directory with 19 updates #603

Closed dependabot[bot] closed 2 months ago

dependabot[bot] commented 2 months ago

Updates the requirements on botocore, awscli, boto3, amazon-braket-default-simulator, amazon-braket-pennylane-plugin, amazon-braket-sdk, amazon-braket-algorithm-library, cvxpy, ipykernel, jax, jaxlib, matplotlib, numpy, optax, pennylane, pennylane-lightning, qiskit-aer, scipy and scs to permit the latest version. Updates botocore from 1.34.113 to 1.34.142

Changelog

Sourced from botocore's changelog.

1.34.142

  • api-change:datazone: This release deprecates dataProductItem field from SearchInventoryResultItem, along with some unused DataProduct shapes
  • api-change:fsx: Adds support for FSx for NetApp ONTAP 2nd Generation file systems, and FSx for OpenZFS Single AZ HA file systems.
  • api-change:opensearch: This release adds support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains, and provides visibility into the current state of the setup or tear-down.
  • api-change:sagemaker: This release 1/ enables optimization jobs that allows customers to perform Ahead-of-time compilation and quantization. 2/ allows customers to control access to Amazon Q integration in SageMaker Studio. 3/ enables AdditionalModelDataSources for CreateModel action.

1.34.141

  • api-change:codedeploy: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  • api-change:devicefarm: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  • api-change:dms: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  • api-change:elasticbeanstalk: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  • api-change:es: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  • api-change:firehose: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  • api-change:gamelift: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  • api-change:qapps: This is a general availability (GA) release of Amazon Q Apps, a capability of Amazon Q Business. Q Apps leverages data sources your company has provided to enable users to build, share, and customize apps within your organization.
  • api-change:route53resolver: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  • api-change:ses: Add v2 smoke tests and smithy smokeTests trait for SDK testing.

1.34.140

  • api-change:acm: Documentation updates, including fixes for xml formatting, broken links, and ListCertificates description.
  • api-change:ecr: This release for Amazon ECR makes change to bring the SDK into sync with the API.
  • api-change:payment-cryptography-data: Added further restrictions on logging of potentially sensitive inputs and outputs.
  • api-change:qbusiness: Add personalization to Q Applications. Customers can enable or disable personalization when creating or updating a Q application with the personalization configuration.

1.34.139

  • api-change:application-autoscaling: Doc only update for Application Auto Scaling that fixes resource name.
  • api-change:directconnect: This update includes documentation for support of new native 400 GBps ports for Direct Connect.
  • api-change:organizations: Added a new reason under ConstraintViolationException in RegisterDelegatedAdministrator API to prevent registering suspended accounts as delegated administrator of a service.
  • api-change:rekognition: This release adds support for tagging projects and datasets with the CreateProject and CreateDataset APIs.
  • api-change:workspaces: Fix create workspace bundle RootStorage/UserStorage to accept non null values

1.34.138

  • api-change:ec2: Documentation updates for Elastic Compute Cloud (EC2).
  • api-change:fms: Increases Customer API's ManagedServiceData length
  • api-change:s3: Added response overrides to Head Object requests.

... (truncated)

Commits


Updates awscli from 1.32.113 to 1.33.24

Commits
  • def8987 Merge branch 'release-1.33.24'
  • 8357899 Bumping version to 1.33.24
  • 1aa4985 Update changelog based on model updates
  • d0c2443 Merge branch 'release-1.33.23'
  • e5a45c3 Merge branch 'release-1.33.23' into develop
  • c96b2d5 Bumping version to 1.33.23
  • 59ff6ce Update changelog based on model updates
  • bef212c Merge branch 'release-1.33.22'
  • 61e6588 Merge branch 'release-1.33.22' into develop
  • 2fbd8ea Bumping version to 1.33.22
  • Additional commits viewable in compare view


Updates boto3 from 1.34.113 to 1.34.142

Commits
  • dfbe878 Merge branch 'release-1.34.142'
  • a32f621 Bumping version to 1.34.142
  • 53609dd Add changelog entries from botocore
  • a9a47bd Merge branch 'release-1.34.141' into develop
  • f327879 Merge branch 'release-1.34.141'
  • 37fafd4 Bumping version to 1.34.141
  • 45c4fe4 Add changelog entries from botocore
  • a9066f5 Add a lock file for requirements-docs.txt (#4171)
  • 260f8cf Merge branch 'release-1.34.140'
  • 3c5fec5 Merge branch 'release-1.34.140' into develop
  • Additional commits viewable in compare view


Updates amazon-braket-default-simulator from 1.23.2 to 1.26.0

Release notes

Sourced from amazon-braket-default-simulator's releases.

v1.26.0

Features

  • Introduce run_multiple method

Bug Fixes and Other Changes

  • Ignore qubit_count parameter for JAQCD

v1.25.0

Features

  • Track classical register indices for measurements

Bug Fixes and Other Changes

  • Include measured in noncontiguous qubit map

v1.24.1

Bug Fixes and Other Changes

  • Use csr_matrix.getH() instead of H

v1.24.0

Features

  • support non-contiguous qubit indices local simulator

v1.23.4

Bug Fixes and Other Changes

  • use numpy for float comparison

v1.23.3

Bug Fixes and Other Changes

  • fix signed integer casting
Changelog

Sourced from amazon-braket-default-simulator's changelog.

v1.26.0 (2024-06-27)

Features

  • Introduce run_multiple method

Bug Fixes and Other Changes

  • Ignore qubit_count parameter for JAQCD

v1.25.0 (2024-06-26)

Features

  • Track classical register indices for measurements

Bug Fixes and Other Changes

  • Include measured in noncontiguous qubit map

v1.24.1 (2024-06-26)

Bug Fixes and Other Changes

  • Use csr_matrix.getH() instead of H

v1.24.0 (2024-06-24)

Features

  • support non-contiguous qubit indices local simulator

v1.23.4 (2024-06-20)

Bug Fixes and Other Changes

  • use numpy for float comparison

v1.23.3 (2024-06-19)

Bug Fixes and Other Changes

  • fix signed integer casting
Commits
  • 7b52b78 prepare release v1.26.0
  • e93e551 feat: Introduce run_multiple method (#264)
  • dc68323 change: Ignore qubit_count parameter for JAQCD (#269)
  • 3378eaa update development version to v1.25.1.dev0
  • bc5df7b prepare release v1.25.0
  • d663479 fix: Include measured in noncontiguous qubit map (#267)
  • c9730d2 feat: Track classical register indices for measurements (#266)
  • 7e717a2 update development version to v1.24.2.dev0
  • 3f17237 prepare release v1.24.1
  • 1454fb9 fix: Use csr_matrix.getH() instead of H (#268)
  • Additional commits viewable in compare view


Updates amazon-braket-pennylane-plugin from 1.27.3 to 1.28.0

Release notes

Sourced from amazon-braket-pennylane-plugin's releases.

v1.28.0

Features

  • Support batch_execute for BraketLocalQubitDevice

v1.27.6

Bug Fixes and Other Changes

  • Support qml.counts for circuits

v1.27.5

Bug Fixes and Other Changes

  • Replace FreeParameter("b") with FreeParameter("d") in unittests

v1.27.4

Bug Fixes and Other Changes

  • Update autoray to >= 0.6.11
Changelog

Sourced from amazon-braket-pennylane-plugin's changelog.

v1.28.0 (2024-07-01)

Features

  • Support batch_execute for BraketLocalQubitDevice

v1.27.6 (2024-06-18)

Bug Fixes and Other Changes

  • Support qml.counts for circuits

v1.27.5 (2024-06-13)

Bug Fixes and Other Changes

  • Replace FreeParameter("b") with FreeParameter("d") in unittests

v1.27.4 (2024-06-03)

Bug Fixes and Other Changes

  • Update autoray to >= 0.6.11
Commits
  • 9c9e27e prepare release v1.28.0
  • 388dd74 test: Delete OQC integ test (#272)
  • 1377abd feat: Support batch_execute for BraketLocalQubitDevice (#269)
  • dfff7a6 update development version to v1.27.7.dev0
  • eabf16d prepare release v1.27.6
  • 0d5c883 infra: add pr_title_check workflow (#265)
  • d7c232f Support qml.counts for circuits (#267)
  • 7b9f700 update development version to v1.27.6.dev0
  • 2e8e130 prepare release v1.27.5
  • ad9237c change: Replace FreeParameter("b") with FreeParameter("d") in unittests (...
  • Additional commits viewable in compare view


Updates amazon-braket-sdk from 1.80.0 to 1.83.0

Release notes

Sourced from amazon-braket-sdk's releases.

v1.83.0

Deprecations and Removals

  • Remove OQC

Features

  • Use run_multiple for local batches

Documentation Changes

  • update PR title instructions

v1.82.0

Features

  • Track classical target indices for measurements

Bug Fixes and Other Changes

  • Add test to check classical indices used in measurement are preserved between Circuit and OpenQASM Translations.

v1.81.1

Bug Fixes and Other Changes

  • Error when FreeParameters are named QASM types

v1.81.0

Features

  • Add IQM to get compiled program convenience method

v1.80.1

Bug Fixes and Other Changes

  • docs: add stack exchange badge to the readme
  • Implement braket.ahs.AnalogHamiltonianSimulation.from_ir()
Changelog

Sourced from amazon-braket-sdk's changelog.

v1.83.0 (2024-06-28)

Deprecations and Removals

  • Remove OQC

Features

  • Use run_multiple for local batches

Documentation Changes

  • update PR title instructions

v1.82.0 (2024-06-27)

Features

  • Track classical target indices for measurements

Bug Fixes and Other Changes

  • Add test to check classical indices used in measurement are preserved between Circuit and OpenQASM Translations.

v1.81.1 (2024-06-17)

Bug Fixes and Other Changes

  • Error when FreeParameters are named QASM types

v1.81.0 (2024-06-13)

Features

  • Add IQM to get compiled program convenience method

v1.80.1 (2024-06-10)

Bug Fixes and Other Changes

  • docs: add stack exchange badge to the readme
  • Implement braket.ahs.AnalogHamiltonianSimulation.from_ir()
Commits
  • 1e4a76f prepare release v1.83.0
  • 686aaf8 deprecation: Remove OQC (#1014)
  • dabcb5e feat: Use run_multiple for local batches (#1005)
  • 9f6adcf doc: update PR title instructions (#994)
  • fb307e3 infra: bump thehanimo/pr-title-checker from 1.4.1 to 1.4.2 (#1010)
  • 96b4200 infra: bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#1012)
  • 24d4d5f infra: bump actions/checkout from 4.1.1 to 4.1.5 (#967)
  • 12d0d67 infra: bump actions/setup-python from 5.0.0 to 5.1.0 (#931)
  • 239fc81 update development version to v1.82.1.dev0
  • 6cd842e prepare release v1.82.0
  • Additional commits viewable in compare view


Updates amazon-braket-algorithm-library from 1.4.11 to 1.4.12

Release notes

Sourced from amazon-braket-algorithm-library's releases.

v1.4.12

Bug Fixes and Other Changes

  • Remove oqc
Changelog

Sourced from amazon-braket-algorithm-library's changelog.

v1.4.12 (2024-06-28)

Bug Fixes and Other Changes

  • Remove oqc
Commits


Updates cvxpy from 1.5.1 to 1.5.2

Release notes

Sourced from cvxpy's releases.

v1.5.2

What's Changed

This release is the first one compatible with NumPy 2.0. It is backward compatible, i.e., NumPy versions < 2.0 will continue to work.

Full Changelog: https://github.com/cvxpy/cvxpy/compare/v1.5.1...v1.5.2

Commits


Updates ipykernel from 6.29.4 to 6.29.5

Release notes

Sourced from ipykernel's releases.

v6.29.5

6.29.5

(Full Changelog)

Bugs fixed

Maintenance and upkeep improvements

Contributors to this release

(GitHub contributors page for this release)

@​blink1073 | @​ianthomas23

Changelog

Sourced from ipykernel's changelog.

6.29.5

(Full Changelog)

Bugs fixed

Maintenance and upkeep improvements

Contributors to this release

(GitHub contributors page for this release)

@​blink1073 | @​ianthomas23

Commits


Updates jax from 0.4.28 to 0.4.30

Release notes

Sourced from jax's releases.

Jax release v0.4.30

No release notes provided.

Jaxlib release v0.4.30

No release notes provided.

JAX v0.4.29

  • Changes

    • We anticipate that this will be the last release of JAX and jaxlib supporting a monolithic CUDA jaxlib. Future releases will use the CUDA plugin jaxlib (e.g. pip install jax[cuda12]).
    • JAX now requires ml_dtypes version 0.4.0 or newer.
    • Removed backwards-compatibility support for old usage of the jax.experimental.export API. It is not possible anymore to use from jax.experimental.export import export, and instead you should use from jax.experimental import export. The removed functionality has been deprecated since 0.4.24.
  • Deprecations

    • jax.sharding.XLACompatibleSharding is deprecated. Please use jax.sharding.Sharding.
    • jax.experimental.Exported.in_shardings has been renamed as jax.experimental.Exported.in_shardings_hlo. Same for out_shardings. The old names will be removed after 3 months.
    • Removed a number of previously-deprecated APIs:
      • from {mod}jax.core: non_negative_dim, DimSize, Shape
      • from {mod}jax.lax: tie_in
      • from {mod}jax.nn: normalize
      • from {mod}jax.interpreters.xla: backend_specific_translations, translations, register_translation, xla_destructure, TranslationRule, TranslationContext, XlaOp.
    • The tol argument of {func}jax.numpy.linalg.matrix_rank is being deprecated and will soon be removed. Use rtol instead.
    • The rcond argument of {func}jax.numpy.linalg.pinv is being deprecated and will soon be removed. Use rtol instead.
    • The deprecated jax.config submodule has been removed. To configure JAX use import jax and then reference the config object via jax.config.
    • {mod}jax.random APIs no longer accept batched keys, where previously some did unintentionally. Going forward, we recommend explicit use of {func}jax.vmap in such cases.
  • New Functionality

    • Added {func}jax.experimental.Exported.in_shardings_jax to construct shardings that can be used with the JAX APIs from the HloShardings that are stored in the Exported objects.

Jaxlib release v0.4.29

  • Bug fixes
    • Fixed a bug where XLA sharded some concatenation operations incorrectly, which manifested as an incorrect output for cumulative reductions (#21403).

... (truncated)

Changelog

Sourced from jax's changelog.

jax 0.4.30 (June 18, 2024)

  • Changes

    • JAX supports ml_dtypes >= 0.2. In 0.4.29 release, the ml_dtypes version was bumped to 0.4.0 but this has been rolled back in this release to give users of both TensorFlow and JAX more time to migrate to a newer TensorFlow release.
    • jax.experimental.mesh_utils can now create an efficient mesh for TPU v5e.
    • jax now depends on jaxlib directly. This change was enabled by the CUDA plugin switch: there are no longer multiple jaxlib variants. You can install a CPU-only jax with pip install jax, no extras required.
    • Added an API for exporting and serializing JAX functions. This used to exist in jax.experimental.export (which is being deprecated), and will now live in jax.export. See the documentation.
  • Deprecations

    • Internal pretty-printing tools jax.core.pp_* are deprecated, and will be removed in a future release.
    • Hashing of tracers is deprecated, and will lead to a TypeError in a future JAX release. This previously was the case, but there was an inadvertent regression in the last several JAX releases.
    • jax.experimental.export is deprecated. Use {mod}jax.export instead. See the migration guide.
    • Passing an array in place of a dtype is now deprecated in most cases; e.g. for arrays x and y, x.astype(y) will raise a warning. To silence it use x.astype(y.dtype).
    • jax.xla_computation is deprecated and will be removed in a future release. Please use the AOT APIs to get the same functionality as jax.xla_computation.
      • jax.xla_computation(fn)(*args, **kwargs) can be replaced with jax.jit(fn).lower(*args, **kwargs).compiler_ir('hlo').
      • You can also use .out_info property of jax.stages.Lowered to get the output information (like tree structure, shape and dtype).
      • For cross-backend lowering, you can replace jax.xla_computation(fn, backend='tpu')(*args, **kwargs) with jax.jit(fn).trace(*args, **kwargs).lower(lowering_platforms=('tpu',)).compiler_ir('hlo').

jaxlib 0.4.30 (June 18, 2024)

  • Support for monolithic CUDA jaxlibs has been dropped. You must use the plugin-based installation (pip install jax[cuda12] or pip install jax[cuda12_local]).

jax 0.4.29 (June 10, 2024)

  • Changes
    • We anticipate that this will be the last release of JAX and jaxlib supporting a monolithic CUDA jaxlib. Future releases will use the CUDA plugin jaxlib (e.g. pip install jax[cuda12]).
    • JAX now requires ml_dtypes version 0.4.0 or newer.

... (truncated)

Commits
  • f4158ac Merge pull request #21949 from hawkinsp:winwheel
  • b0b0268 Add --allow-downgrade to Windows wheel builds.
  • 5d35c99 Merge pull request #21945 from hawkinsp:release
  • d7bc6b4 Update XLA dependency to use revision
  • 3f4f79c Prepare for 0.4.30 release.
  • dfcfb36 Pallas GPU no longer falls back to lax.pow for integer powers
  • 5bfd6af Removed unnecessary skip in pallas_test.py::SoftmaxTest
  • 3fd9326 [jax] Enable api_test with XLA:CPU thunks
  • ed4958c [XLA:Mosaic] Add internal scratch VMEM
  • 701c63e [Pallas/TPU] Add API for megacore partitioning of pipelines
  • Additional commits viewable in compare view


Updates jaxlib from 0.4.28 to 0.4.30

Release notes

Sourced from jaxlib's releases.

Jaxlib release v0.4.30

No release notes provided.

Jaxlib release v0.4.29

  • Bug fixes

    • Fixed a bug where XLA sharded some concatenation operations incorrectly, which manifested as an incorrect output for cumulative reductions (#21403).
    • Fixed a bug where XLA:CPU miscompiled certain matmul fusions (openxla/xla#13301).
    • Fixes a compiler crash on GPU (google/jax#21396).
  • Deprecations

    • jax.tree.map(f, None, non-None) now emits a DeprecationWarning, and will raise an error in a future version of jax. None is only a tree-prefix of itself. To preserve the current behavior, you can ask jax.tree.map to treat None as a leaf value by writing: jax.tree.map(lambda x, y: None if x is None else f(x, y), a, b, is_leaf=lambda x: x is None).
Changelog

Sourced from jaxlib's changelog.

jax 0.4.30 (June 18, 2024)

  • Changes

    • JAX supports ml_dtypes >= 0.2. In 0.4.29 release, the ml_dtypes version was bumped to 0.4.0 but this has been rolled back in this release to give users of both TensorFlow and JAX more time to migrate to a newer TensorFlow release.
    • jax.experimental.mesh_utils can now create an efficient mesh for TPU v5e.
    • jax now depends on jaxlib directly. This change was enabled by the CUDA plugin switch: there are no longer multiple jaxlib variants. You can install a CPU-only jax with pip install jax, no extras required.
    • Added an API for exporting and serializing JAX functions. This used to exist in jax.experimental.export (which is being deprecated), and will now live in jax.export. See the documentation.
  • Deprecations

    • Internal pretty-printing tools jax.core.pp_* are deprecated, and will be removed in a future release.
    • Hashing of tracers is deprecated, and will lead to a TypeError in a future JAX release. This previously was the case, but there was an inadvertent regression in the last several JAX releases.
    • jax.experimental.export is deprecated. Use {mod}jax.export instead. See the migration guide.
    • Passing an array in place of a dtype is now deprecated in most cases; e.g. for arrays x and y, x.astype(y) will raise a warning. To silence it use x.astype(y.dtype).
    • jax.xla_computation is deprecated and will be removed in a future release. Please use the AOT APIs to get the same functionality as jax.xla_computation.
      • jax.xla_computation(fn)(*args, **kwargs) can be replaced with jax.jit(fn).lower(*args, **kwargs).compiler_ir('hlo').
      • You can also use .out_info property of jax.stages.Lowered to get the output information (like tree structure, shape and dtype).
      • For cross-backend lowering, you can replace jax.xla_computation(fn, backend='tpu')(*args, **kwargs) with jax.jit(fn).trace(*args, **kwargs).lower(lowering_platforms=('tpu',)).compiler_ir('hlo').

jaxlib 0.4.30 (June 18, 2024)

  • Support for monolithic CUDA jaxlibs has been dropped. You must use the plugin-based installation (pip install jax[cuda12] or pip install jax[cuda12_local]).

jax 0.4.29 (June 10, 2024)

  • Changes
    • We anticipate that this will be the last release of JAX and jaxlib supporting a monolithic CUDA jaxlib. Future releases will use the CUDA plugin jaxlib (e.g. pip install jax[cuda12]).
    • JAX now requires ml_dtypes version 0.4.0 or newer.

... (truncated)

Commits
  • f4158ac Merge pull request #21949 from hawkinsp:winwheel
  • b0b0268 Add --allow-downgrade to Windows wheel builds.
  • 5d35c99 Merge pull request #21945 from hawkinsp:release
  • d7bc6b4 Update XLA dependency to use revision
  • 3f4f79c Prepare for 0.4.30 release.
  • dfcfb36 Pallas GPU no longer falls back to lax.pow for integer powers
  • 5bfd6af Removed unnecessary skip in pallas_test.py::SoftmaxTest
  • 3fd9326 [jax] Enable api_test with XLA:CPU thunks
  • ed4958c [XLA:Mosaic] Add internal scratch VMEM
  • 701c63e [Pallas/TPU] Add API for megacore partitioning of pipelines
  • Additional commits viewable in compare view


Updates matplotlib from 3.9.0 to 3.9.1

Release notes

Sourced from matplotlib's releases.

REL: 3.9.1

This is the first bugfix release of the 3.9.x series.

This release contains several bug-fixes and adjustments:

  • Add GitHub artifact attestations for sdist and wheels
  • Re-add matplotlib.cm.get_cmap; note this function will still be removed at a later date
  • Allow duplicate backend entry points
  • Fix Axes autoscaling of thin bars at large locations
  • Fix Axes autoscaling with axhspan / axvspan
  • Fix Axes3D autoscaling of Line3DCollection / Poly3DCollection
  • Fix Axes3D mouse interactivity with non-default roll angle
  • Fix box aspect ratios in Axes3D with alternate vertical axis
  • Fix case handling of backends specified as module://...
  • Fix crash with TkAgg on Windows with tk.window_focus: True
  • Fix interactive update of SubFigures
  • Fix interactivity when using the IPython console
  • Fix pickling of AxesWidgets and SubFigures
  • Fix scaling on GTK3Cairo / GTK4Cairo backends
  • Fix text wrapping within SubFigures
  • Promote mpltype Sphinx role to a public extension; note this is only intended for development reasons
Commits
  • 44be14c REL: 3.9.1
  • 5325425 DOC: Create release notes for 3.9.1
  • 568a039 Merge pull request #28507 from meeseeksmachine/auto-backport-of-pr-28430-on-v...
  • 7fa9f24 Merge pull request #28506 from meeseeksmachine/auto-backport-of-pr-28451-on-v...
  • 06189c2 Backport PR #28430: Fix pickling of AxesWidgets.
  • c43313a Backport PR #28451: Fix GTK cairo backends
  • 560fdc4 Merge pull request #28499 from meeseeksmachine/auto-backport-of-pr-28498-on-v...
  • 5552302 Backport PR #28498: Don't fail if we can't query system fonts on macOS
  • f76bba4 Merge pull request #28491 from meeseeksmachine/auto-backport-of-pr-28487-on-v...
  • 8ccd2ee Merge pull request #28490 from meeseeksmachine/auto-backport-of-pr-28486-on-v...
  • Additional commits viewable in compare view


Updates numpy from 1.26.4 to 2.0.0

Release notes

Sourced from numpy's releases.

v2.0.0

NumPy 2.0.0 Release Notes

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:

Highlights

Highlights of this release include:

  • New features:
    • 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
  • 2103511 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-26582
  • 103f4dd Merge pull request #26697 from charris/backport-25963
  • c193dcd Merge pull request #26695 from charris/backport-26667
  • 8fa8191 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)
  • Additional commits viewable in compare view


Updates optax from 0.2.2 to 0.2.3

Release notes

Sourced from optax's releases.

Optax 0.2.3

What's Changed

dependabot[bot] commented 2 months ago

Superseded by #605.