Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

⬆️ Update ndarray-npy requirement from 0.8 to 0.9 #716

Merged
merged 1 commit into from
Oct 12, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 1, 2024

Updates the requirements on ndarray-npy to permit the latest version.

Changelog

Sourced from ndarray-npy's changelog.

0.9.1

  • Removed broken links from docs.

0.9.0

Breaking Changes

  • Updated to ndarray 0.16.
  • Updated to zip 2.
  • Updated minimum Rust version to 1.64.
  • Removed unsafe from WritableElement trait declaration.
  • Altered the behavior regarding .npy extensions of the file names within .npz archives to match NumPy's behavior, by @​jturner314. See #76. Specifically,
    • NpzWriter::add_array() now appends .npy to the name.
    • NpzReader::names() now strips a single .npy (if present) from the end of each name.
    • NpzReader::by_name() now tries {name}.npy if {name} is not present in the archive.

New Features

  • Added NpzWriter::new_with_options(), which allows for different compression options, etc., when writing .npz files. By @​DCNick3. See #66 for the motivation.

0.8.1

  • Added support for complex floating point element types with the new num-complex-0_4 feature.

0.8.0

  • Updated to ndarray 0.15.
  • Updated to py_literal 0.4.
  • Updated to Rust 1.49.

0.7.2

  • Added a .finish() method to NpzWriter. All users of NpzWriter should call this method, after the write of the last array, in order to properly handle errors. (Without calling .finish(), dropping will automatically attempt to finish the file, but errors will be silently ignored.)
  • Changed the write_npy convenience function and the NpzWriter::add_array method to buffer writes using BufWriter. This significantly improves write performance for arrays which are not in standard or Fortran layout. The docs of WriteNpyExt::write_npy have also been updated to recommend that users wrap the writer in a BufWriter. Thanks to [@​bluss] for reporting the unbuffered writes issue and reviewing the PR.

... (truncated)

Commits

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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 [ndarray-npy](https://github.com/jturner314/ndarray-npy) to permit the latest version.
- [Changelog](https://github.com/jturner314/ndarray-npy/blob/master/RELEASES.md)
- [Commits](jturner314/ndarray-npy@0.8.0...0.9.1)

---
updated-dependencies:
- dependency-name: ndarray-npy
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Oct 1, 2024
@AlongWY AlongWY merged commit 8062eef into main Oct 12, 2024
2 checks passed
@AlongWY AlongWY deleted the dependabot/cargo/ndarray-npy-0.9 branch October 12, 2024 02:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant