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
475 stars 226 forks source link

infra: bump the dev-dependencies group across 1 directory with 21 updates #613

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, qiskit-braket-provider, scipy, scs and sympy to permit the latest version. Updates botocore from 1.34.113 to 1.34.158

Changelog

Sourced from botocore's changelog.

1.34.158

  • api-change:cognito-idp: Fixed a description of AdvancedSecurityAdditionalFlows in Amazon Cognito user pool configuration.
  • api-change:connect: This release supports adding RoutingCriteria via UpdateContactRoutingData public API.
  • api-change:ssm: Systems Manager doc-only updates for August 2024.

1.34.157

  • api-change:cognito-idp: Added support for threat protection for custom authentication in Amazon Cognito user pools.
  • api-change:connect: This release fixes a regression in number of access control tags that are allowed to be added to a security profile in Amazon Connect. You can now add up to four access control tags on a single security profile.
  • api-change:ec2: Launch of private IPv6 addressing for VPCs and Subnets. VPC IPAM supports the planning and monitoring of private IPv6 usage.
  • api-change:glue: This release adds support to retrieve the validation status when creating or updating Glue Data Catalog Views. Also added is support for BasicCatalogTarget partition keys.

1.34.156

  • api-change:appintegrations: Updated CreateDataIntegration and CreateDataIntegrationAssociation API to support bulk data export from Amazon Connect Customer Profiles to the customer S3 bucket.
  • api-change:glue: Introducing AWS Glue Data Quality anomaly detection, a new functionality that uses ML-based solutions to detect data anomalies users have not explicitly defined rules for.

1.34.155

  • api-change:bedrock-agent-runtime: Introduce model invocation output traces for orchestration traces, which contain the model's raw response and usage.
  • api-change:cognito-idp: Advanced security feature updates to include password history and log export for Cognito user pools.
  • api-change:cost-optimization-hub: This release adds savings percentage support to the ListRecommendationSummaries API.
  • api-change:workspaces: Added support for BYOL_GRAPHICS_G4DN_WSP IngestionProcess
  • enhancement:AWSCRT: Update awscrt version to 0.21.2

1.34.154

  • api-change:datazone: This releases Data Product feature. Data Products allow grouping data assets into cohesive, self-contained units for ease of publishing for data producers, and ease of finding and accessing for data consumers.
  • api-change:ecr: Released two new APIs along with documentation updates. The GetAccountSetting API is used to view the current basic scan type version setting for your registry, while the PutAccountSetting API is used to update the basic scan type version for your registry.
  • api-change:kinesis-video-webrtc-storage: Add JoinStorageSessionAsViewer API
  • api-change:pi: Added a description for the Dimension db.sql.tokenized_id on the DimensionGroup data type page.

1.34.153

  • api-change:cloudwatch: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  • api-change:kinesis: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
  • api-change:resiliencehub: Customers are presented with the grouping recommendations and can determine if the recommendations are accurate and apply to their case. This feature simplifies onboarding by organizing resources into appropriate AppComponents.
  • api-change:route53: Add v2 smoke tests and smithy smokeTests trait for SDK testing.

... (truncated)

Commits
  • 1bba722 Merge branch 'release-1.34.158'
  • 60ee24a Bumping version to 1.34.158
  • 1a3e2ee Update endpoints model
  • 338353f Update to latest models
  • 894686f Merge branch 'release-1.34.157'
  • c13dc94 Merge branch 'release-1.34.157' into develop
  • 6853abf Bumping version to 1.34.157
  • 18a9479 Update to latest models
  • 0a2e478 Merge branch 'release-1.34.156'
  • 7f23afd Merge branch 'release-1.34.156' into develop
  • Additional commits viewable in compare view


Updates awscli from 1.32.113 to 1.33.40

Commits
  • 8e2e8bd Merge branch 'release-1.33.40'
  • 3bce8c3 Bumping version to 1.33.40
  • a4199d7 Update changelog based on model updates
  • 98c3642 Merge branch 'release-1.33.39'
  • 78081ca Merge branch 'release-1.33.39' into develop
  • e111704 Bumping version to 1.33.39
  • 4421872 Update changelog based on model updates
  • 6f73e29 Merge branch 'release-1.33.38'
  • ed86b4f Merge branch 'release-1.33.38' into develop
  • 24d8673 Bumping version to 1.33.38
  • Additional commits viewable in compare view


Updates boto3 from 1.34.113 to 1.34.158

Commits
  • b7e50f1 Merge branch 'release-1.34.158'
  • 70829fb Bumping version to 1.34.158
  • 6f0abd4 Add changelog entries from botocore
  • 7f4edea Merge branch 'release-1.34.157'
  • 4350319 Merge branch 'release-1.34.157' into develop
  • 541c1d3 Bumping version to 1.34.157
  • c2dd12d Add changelog entries from botocore
  • 6e52ab6 Merge branch 'release-1.34.156'
  • e0923a1 Merge branch 'release-1.34.156' into develop
  • d355703 Bumping version to 1.34.156
  • 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.84.0

Release notes

Sourced from amazon-braket-sdk's releases.

v1.84.0

Features

  • support erf_square and swap_phases

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.84.0 (2024-07-30)

Features

  • support erf_square and swap_phases

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


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

Release notes

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

v1.4.13

Bug Fixes and Other Changes

  • Pin sympy<1.13

v1.4.12

Bug Fixes and Other Changes

  • Remove oqc
Changelog

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

v1.4.13 (2024-07-22)

Bug Fixes and Other Changes

  • Pin sympy<1.13

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.31

Release notes

Sourced from jax's releases.

JAX release v0.4.31

No release notes provided.

Jaxlib release v0.4.31

No release notes provided.

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

... (truncated)

Changelog

Sourced from jax's changelog.

jax 0.4.31 (July 29, 2024)

  • Deletion

    • xmap has been deleted. Please use {func}shard_map as the replacement.
  • Changes

    • The minimum CuDNN version is v9.1. This was true in previous releases also, but we now declare this version constraint formally.
    • The minimum Python version is now 3.10. 3.10 will remain the minimum supported version until July 2025.
    • The minimum NumPy version is now 1.24. NumPy 1.24 will remain the minimum supported version until December 2024.
    • The minimum SciPy version is now 1.10. SciPy 1.10 will remain the minimum supported version until January 2025.
    • {func}jax.numpy.ceil, {func}jax.numpy.floor and {func}jax.numpy.trunc now return the output of the same dtype as the input, i.e. no longer upcast integer or boolean inputs to floating point.
    • libdevice.10.bc is no longer bundled with CUDA wheels. It must be installed either as a part of local CUDA installation, or via NVIDIA's CUDA pip wheels.
    • {class}jax.experimental.pallas.BlockSpec now expects block_shape to be passed before index_map. The old argument order is deprecated and will be removed in a future release.
    • Updated the repr of gpu devices to be more consistent with TPUs/CPUs. For example, cuda(id=0) will now be CudaDevice(id=0).
    • Added the device property and to_device method to {class}jax.Array, as part of JAX's Array API support.
  • Deprecations

    • Removed a number of previously-deprecated internal APIs related to polymorphic shapes. From {mod}jax.core: removed canonicalize_shape, dimension_as_value, definitely_equal, and symbolic_equal_dim.
    • HLO lowering rules should no longer wrap singleton ir.Values in tuples. Instead, return singleton ir.Values unwrapped. Support for wrapped values will be removed in a future version of JAX.
    • {func}jax.experimental.jax2tf.convert with native_serialization=False or enable_xla=False is now deprecated and this support will be removed in a future version. Native serialization has been the default since JAX 0.4.16 (September 2023).
    • The previously-deprecated function jax.random.shuffle has been removed; instead use jax.random.permutation with independent=True.

jaxlib 0.4.31 (July 29, 2024)

  • Bug fixes
    • Fixed a bug that meant that negative static_argnums to a jit were mishandled by the jit dispatch fast path.
    • Fixed a bug that meant triangular solves of batches of singular matrices produce nonsensical finite values, instead of inf or nan (#3589, #15429).

jax 0.4.30 (June 18, 2024)

... (truncated)

Commits
  • 7fd9302 Start JAX and jaxlib 0.4.31 release
  • f070c06 Merge pull request #22703 from Rifur13:plugin-fix
  • 9beb4f1 Merge pull request #19760 from Blair-Johnson:fix-pytree-grads-sparse
  • 802a14c Re-pack gradients of jax.experimental.sparse.grad() to match original pytrees...
  • 85e83b5 Merge pull request #22690 from jakevdp:inplace-doc
  • d1c0d99 Bump the minimum CUDNN version to v9.1.
  • 6127baa Ignore the Deprecation warning produced about native_serialization=False.
  • fd23b87 Bump minimum SciPy version to 1.10.
  • cfa1e78 Improve documentation for jnp.put, jnp.place, jnp.fill_diagonal
  • 0224235 Skip cuda backend initialization if no nvidia GPUs are visible.
  • Additional commits viewable in compare view


Updates jaxlib from 0.4.28 to 0.4.31

Release notes

Sourced from jaxlib's releases.

Jaxlib release v0.4.31

No release notes provided.

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.31 (July 29, 2024)

  • Deletion

    • xmap has been deleted. Please use {func}shard_map as the replacement.
  • Changes

    • The minimum CuDNN version is v9.1. This was true in previous releases also, but we now declare this version constraint formally.
    • The minimum Python version is now 3.10. 3.10 will remain the minimum supported version until July 2025.
    • The minimum NumPy version is now 1.24. NumPy 1.24 will remain the minimum supported version until December 2024.
    • The minimum SciPy version is now 1.10. SciPy 1.10 will remain the minimum supported version until January 2025.
    • {func}jax.numpy.ceil, {func}jax.numpy.floor and {func}jax.numpy.trunc now return the output of the same dtype as the input, i.e. no longer upcast integer or boolean inputs to floating point.
    • libdevice.10.bc is no longer bundled with CUDA wheels. It must be installed either as a part of local CUDA installation, or via NVIDIA's CUDA pip wheels.
    • {class}jax.experimental.pallas.BlockSpec now expects block_shape to be passed before index_map. The old argument order is deprecated and will be removed in a future release.
    • Updated the repr of gpu devices to be more consistent with TPUs/CPUs. For example, cuda(id=0) will now be CudaDevice(id=0).
    • Added the device property and to_device method to {class}jax.Array, as part of JAX's Array API support.
  • Deprecations

    • Removed a number of previously-deprecated internal APIs related to polymorphic shapes. From {mod}jax.core: removed canonicalize_shape, dimension_as_value, definitely_equal, and symbolic_equal_dim.
    • HLO lowering rules should no longer wrap singleton ir.Values in tuples. Instead, return singleton ir.Values unwrapped. Support for wrapped values will be removed in a future version of JAX.
    • {func}jax.experimental.jax2tf.convert with native_serialization=False or enable_xla=False is now deprecated and this support will be removed in a future version. Native serialization has been the default since JAX 0.4.16 (September 2023).
    • The previously-deprecated function jax.random.shuffle has been removed; instead use jax.random.permutation with independent=True.

jaxlib 0.4.31 (July 29, 2024)

  • Bug fixes
    • Fixed a bug that meant that negative static_argnums to a jit were mishandled by the jit dispatch fast path.
    • Fixed a bug that meant triangular solves of batches of singular matrices produce nonsensical finite values, instead of inf or nan (#3589, #15429).

jax 0.4.30 (June 18, 2024)

... (truncated)

Commits
  • 7fd9302 Start JAX and jaxlib 0.4.31 release
  • f070c06 Merge pull request #22703 from Rifur13:plugin-fix
  • 9beb4f1 Merge pull request #19760 from Blair-Johnson:fix-pytree-grads-sparse
  • 802a14c Re-pack gradients of jax.experimental.sparse.grad() to match original pytrees...
  • 85e83b5 Merge pull request #22690 from jakevdp:inplace-doc
  • d1c0d99 Bump the minimum CUDNN version to v9.1.
  • 6127baa Ignore the Deprecation warning produced about native_serialization=False.
  • fd23b87 Bump minimum SciPy version to 1.10.
  • cfa1e78 Improve documentation for jnp.put, jnp.place, jnp.fill_diagonal
  • 0224235 Skip cuda backend initialization if no nvidia GPUs are visible.
  • Additional commits viewable in compare view


Updates matplotlib from 3.9.0 to 3.9.1.post1

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
  • 9c9792a DOC: Add Zenodo DOI for 3.9.1
  • 60bfa22 BLD: bump branch away from tag
  • 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
  • Additional commits viewable in compare view


Updates numpy from 1.26.4 to 2.0.1

Release notes

Sourced from numpy's releases.

v2.0.1

NumPy 2.0.1 Release Notes

NumPy 2.0.1 is a maintenance release that fixes bugs and regressions discovered after the 2.0.0 release. NumPy 2.0.1 is the last planned release in the 2.0.x series, 2.1.0rc1 should be out shortly.

The Python versions supported by this release are 3.9-3.12.

NOTE: Do not use the GitHub generated "Source code" files listed in the "Assets", they are garbage.

Improvements

np.quantile with method closest_observation chooses nearest even order statistic

This changes the definition of nearest for border cases from the nearest odd order statistic to nearest even order statistic. The numpy implementation now matches other reference implementations.

(gh-26656)

Contributors

A total of 15 people contributed to this release. People with a "+" by their names contributed a patch for the first time.

  • @​vahidmech +
  • Alex Herbert +
  • Charles Harris
  • Giovanni Del Monte +
  • Leo Singer
  • Lysandros Nikolaou
  • Matti Picus
  • Nathan Goldbaum
  • Patrick J. Roddy +
  • Raghuveer Devulapalli
  • Ralf Gommers
  • Rostan Tabet +
  • Sebastian Berg
  • Tyler Reddy
  • Yannik Wicke +

Pull requests merged

A total of 24 pull requests were merged for this release.

  • #26711: MAINT: prepare 2.0.x for further development
  • #26792: TYP: fix incorrect import in ma/extras.pyi stub
  • #26793: DOC: Mention '1.25' legacy printing mode in set_printoptions
  • #26794: DOC: Remove mention of NaN and NAN aliases from constants

... (truncated)

Commits
  • 4c9f431 Merge pull request #27000 from charris/prepare-2.0.1
  • 0e70e00 REL: Prepare for the NumPy 2.0.1 release [wheel build]
  • 4d10ffc Merge pull request #26995 from charris/backport-26985
  • 764b667 BUG: Add object cast to avoid warning with limited API
  • 9be6ad6 Merge pull request #26971 from charris/backport-26935
  • 6d950e9 BUG: fix f2py tests to work with v2 API
  • 89630c0 Merge pull request #26962 from charris/backport-26919
  • 88fa840 TST: Apply test suggestion by Nathan for rlstrip fixes
  • a9da01e BUG,MAINT: Fix utf-8 character stripping memory access
  • 6afbbf8 Merge pull request #26963 from charris/backport-26930
  • 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