Skip to content
This repository was archived by the owner on Feb 15, 2024. It is now read-only.

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Mar 4, 2022

Updates the requirements on numpy to permit the latest version.

Release notes

Sourced from numpy's releases.

rust-numpy version 0.16.0

This release matches PyO3 version 0.16.0, adds support for object arrays, i.e. PyArray<PyObject, D>, contains a large overhaul of the dtype-related API, i.e. PyArrayDescr, by @​aldanor and deprecates the npyiter module in favour of ndarray's iteration facilities. Smaller fixes and improvements are listed in the complete changelog.

Changelog

Sourced from numpy's changelog.

Changelog

  • Unreleased

  • v0.16.0

    • Bump PyO3 version to 0.16 (#259)
    • Support object arrays (#216)
    • Support borrowing arrays that are part of other Python objects via PyArray::borrow_from_array (#230)
    • Fixed downcasting ignoring element type and dimensionality (#265)
    • PyArray::new is now unsafe, as it produces uninitialized arrays (#220)
    • PyArray::iter, NpySingleIterBuilder::readwrite and NpyMultiIterBuilder::add_readwrite are now unsafe, as they allow aliasing mutable references to be created (#278/)
    • The npyiter module is deprecated as rust-ndarray's facilities for iteration are more flexible and performant (#280)
    • PyArray::from_exact_iter does not unsoundly trust ExactSizeIterator::len any more (#262)
    • PyArray::as_cell_slice was removed as it unsoundly interacts with PyReadonlyArray allowing safe code to violate aliasing rules (#260)
    • rayon feature is now removed, and directly specifying the feature via ndarray dependency is recommended (#250)
    • Element trait and PyArrayDescr changes (#256):
      • Element trait has been simplified to get_dtype() and IS_COPY
      • New PyArrayDescr methods: of, into_dtype_ptr, is_equiv_to
      • Added numpy::dtype function
      • Element is now implemented for isize
      • c32 / c64 have been renamed with Complex32 / Complex64
      • ShapeError has been split into TypeError and DimensionalityError
      • i32, i64, u32, u64 are now guaranteed to map to np.u?int{32,64}.
      • Removed cfg_if dependency
      • Removed DataType enum
    • Added PyArrayDescr::new constructor (#266)
    • New PyArrayDescr methods (#266):
      • num, base, ndim, shape, byteorder, char, kind, itemsize, alignment, flags, has_object, is_aligned_struct, names, get_field, has_subarray, has_fields, is_native_byteorder
      • Renamed get_type to typeobj
  • v0.15.1

    • Make arrays produced via IntoPyArray, i.e. those owning Rust data, writeable (#235)
    • Fix thread-safety in internal API globals (#222)
  • v0.15.0

  • v0.14.1

  • v0.14

  • v0.13.2

    • Support ndarray 0.15

... (truncated)

Commits
  • b9f01fa Merge pull request #282 from PyO3/release-0.16
  • b0d54de Prepare release of version 0.16.0
  • 4b14d1d Merge pull request #283 from PyO3/fix-limited-api
  • 2587fd9 Merge pull request #280 from PyO3/deprecate-npyiter
  • b3be43a Fix incorrect impl of Iterator::size_hint and add impl of ExactSizeIterator t...
  • a863dbd Give the npyiter module a once-over apply intra-doc links.
  • ea410ca Remove the PyArray_* allocation functions again, but give users a hint where ...
  • 98fab7a Deprecate the wrappers of the array iterator API.
  • 712626b Bring the PyArray_* allocation functions back conditionally based on the enab...
  • 990c392 Drop the re-exports of PyMem_Raw* calls as those are not available using the ...
  • 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 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 ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [numpy](https://github.com/PyO3/rust-numpy) to permit the latest version.
- [Release notes](https://github.com/PyO3/rust-numpy/releases)
- [Changelog](https://github.com/PyO3/rust-numpy/blob/main/CHANGELOG.md)
- [Commits](PyO3/rust-numpy@v0.7.0...v0.16.0)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 4, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Mar 9, 2022

Superseded by #78.

@dependabot dependabot bot closed this Mar 9, 2022
@dependabot dependabot bot deleted the dependabot/cargo/numpy-0.16.0 branch March 9, 2022 07:11
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant