azure-quantum-python
azure-quantum-python copied to clipboard
Update numpy requirement from <2.0,>=1.21.0 to >=1.21.0,<3.0 in /azure-quantum
Updates the requirements on numpy to permit the latest version.
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:
- The numpy-2-migration-guide
- The Numpy 2.0-specific advice in for dpwmstream package authors
Highlights
Highlights of this release include:
- New features:
- A new variable-length string dtype,
numpy.dtypes.StringDTypeand a newnumpy.stringsnamespace with performant ufuncs for string operations,- Support for
float32andlongdoublein allnumpy.fftfunctions,- Support for the array API standard in the main
numpynamespace.- Performance improvements:
- Sorting functions
sort,argsort,partition,argpartitionhave 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.charfixed-length string operations have been accelerated by implementing ufuncs that also supportnumpy.dtypes.StringDTypein 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.savenow 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
1d49c7fMerge pull request #26698 from charris/prepare-2.0.02103511DOC: Remove duplicate in author list.db8030eBUG: Change cibuildwheel version [wheel build]1a68264REL: Prepare for the NumPy 2.0.0 release [wheel build]c8665baMerge pull request #26696 from charris/backport-26582103f4ddMerge pull request #26697 from charris/backport-25963c193dcdMerge pull request #26695 from charris/backport-266678fa8191BUG: Fix bug in numpy.pad() (#25963)ece3559BUG: weighted nanpercentile, nanquantile and multi-dim q (#26582)b31e195BUG: Adds asanyarray to start of linalg.cross (#26667)- Additional commits viewable 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 mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)