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 requirement from 0.14 to 0.15 #43

Merged
merged 5 commits into from
Mar 29, 2021

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 26, 2021

Updates the requirements on ndarray to permit the latest version.

Changelog

Sourced from ndarray's changelog.

Version 0.15.0 (2021-03-25)

New features

  • Support inserting new axes while slicing by [@​jturner314]. This is an example:

    let view = arr.slice(s![.., -1, 2..;-1, NewAxis]);

    rust-ndarray/ndarray#570

  • Support two-sided broadcasting in arithmetic operations with arrays by [@​SparrowLii]

    This now allows, for example, addition of a 3 x 1 with a 1 x 3 array; the operands are in this case broadcast to 3 x 3 which is the shape of the result.

    Note that this means that a new trait bound is required in some places when mixing dimensionality types of arrays in arithmetic operations.

    rust-ndarray/ndarray#898

  • Support for compiling ndarray as no_std (using core and alloc) by [@​xd009642] and [@​bluss]

    rust-ndarray/ndarray#861 rust-ndarray/ndarray#889

  • New methods .cell_view() and ArrayViewMut::into_cell_view that enable new ways of working with array elements as if they were in Cells - setting elements through shared views and broadcast views, by [@​bluss].

    rust-ndarray/ndarray#877

  • New methods slice_each_axis/_mut/_inplace that make it easier to slice a dynamic number of axes in some situations, by [@​jturner314]

    rust-ndarray/ndarray#913

  • New method a.assign_to(b) with the inverse argument order compared to the existing b.assign(a) and some extra features like assigning into uninitialized arrays, By [@​bluss].

    rust-ndarray/ndarray#947

Enhancements

... (truncated)

Commits
  • c7ae4eb 0.15.0
  • 3e48234 Merge pull request #952 from rust-ndarray/update-complex
  • 383ac0e TEST: Update dev-dependency itertools to 0.10
  • 888c160 API: Update num-complex to 0.4
  • 175b8f8 Merge pull request #951 from rust-ndarray/disconnect-blas-dependency
  • 5b96f1d TEST: Remove ndarray build.rs and test-blas-openblas-sys feature flag
  • f98e5c0 API: Drop direct blas-src dependency, update docs for blas integration
  • fdbc884 Merge pull request #948 from rust-ndarray/neg-stride-constructors
  • 67397ac Merge pull request #949 from rust-ndarray/rename-directories
  • 5c6ff77 MAINT: Rename directories for misc and tests in the root
  • 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 [ndarray](https://github.com/rust-ndarray/ndarray) to permit the latest version.
- [Release notes](https://github.com/rust-ndarray/ndarray/releases)
- [Changelog](https://github.com/rust-ndarray/ndarray/blob/master/RELEASES.md)
- [Commits](rust-ndarray/ndarray@0.14.0...0.15.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Mar 26, 2021
@minshao minshao requested a review from msk March 26, 2021 17:53
@minshao minshao changed the title Update ndarray requirement from 0.14 to 0.15 WIP: Update ndarray requirement from 0.14 to 0.15 Mar 26, 2021
@minshao minshao changed the title WIP: Update ndarray requirement from 0.14 to 0.15 Update ndarray requirement from 0.14 to 0.15 Mar 29, 2021
@minshao minshao changed the title Update ndarray requirement from 0.14 to 0.15 WIP: Update ndarray requirement from 0.14 to 0.15 Mar 29, 2021
@codecov
Copy link

codecov bot commented Mar 29, 2021

Codecov Report

Merging #43 (f033a6c) into main (6952767) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #43   +/-   ##
=======================================
  Coverage   92.25%   92.25%           
=======================================
  Files           3        3           
  Lines         426      426           
=======================================
  Hits          393      393           
  Misses         33       33           
Impacted Files Coverage Δ
src/ball_tree.rs 93.21% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6952767...f033a6c. Read the comment docs.

@minshao minshao changed the title WIP: Update ndarray requirement from 0.14 to 0.15 Update ndarray requirement from 0.14 to 0.15 Mar 29, 2021
Copy link
Member

@msk msk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

MSRV update should be recorded in README and CHANGELOG.

@msk msk merged commit 4671196 into main Mar 29, 2021
@msk msk deleted the dependabot/cargo/ndarray-0.15 branch March 29, 2021 22:00
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants