smly / mjai.app

Mahjong game simulator for RiichiLab https://mjai.app
https://github.com/smly/mjai.app/discussions
GNU Affero General Public License v3.0
59 stars 7 forks source link

fix(deps): update rust crate ndarray to 0.16 #133

Open renovate[bot] opened 2 months ago

renovate[bot] commented 2 months ago

This PR contains the following updates:

Package Type Update Change
ndarray dependencies minor 0.15 -> 0.16

Release Notes

rust-ndarray/ndarray (ndarray) ### [`v0.16.1`](https://togithub.com/rust-ndarray/ndarray/blob/HEAD/RELEASES.md#Version-0161-2024-08-14) [Compare Source](https://togithub.com/rust-ndarray/ndarray/compare/0.16.0...0.16.1) \=========================== - Refactor and simplify BLAS gemm call further by [@​bluss](https://togithub.com/bluss) [#​1421](https://togithub.com/rust-ndarray/ndarray/pull/1421) - Fix infinite recursion and off-by-one error in triu/tril by [@​akern40](https://togithub.com/akern40) [#​1418](https://togithub.com/rust-ndarray/ndarray/pull/1418) - Fix using BLAS for all compatible cases of memory layout by [@​bluss](https://togithub.com/bluss) [#​1419](https://togithub.com/rust-ndarray/ndarray/pull/1419) - Use PR check instead of Merge Queue, and check rustdoc by [@​bluss](https://togithub.com/bluss) [#​1420](https://togithub.com/rust-ndarray/ndarray/pull/1420) - Make iterators covariant in element type by [@​bluss](https://togithub.com/bluss) [#​1417](https://togithub.com/rust-ndarray/ndarray/pull/1417) ### [`v0.16.0`](https://togithub.com/rust-ndarray/ndarray/blob/HEAD/RELEASES.md#Version-0160-2024-08-03) [Compare Source](https://togithub.com/rust-ndarray/ndarray/compare/0.15.6...0.16.0) \=========================== ## Featured Changes - Better shape: Deprecate reshape, into_shape by [@​bluss](https://togithub.com/bluss) [#​1310](https://togithub.com/rust-ndarray/ndarray/pull/1310)
`.into_shape()` **is now deprecated**. Use `.into_shape_with_order()` or `.to_shape()` instead, which don't have `into_shape`'s drawbacks. ## New Features and Improvements - Check for aliasing in `RawViewMut::from_shape_ptr` with a debug assertion by [@​bluss](https://togithub.com/bluss) [#​1413](https://togithub.com/rust-ndarray/ndarray/pull/1413) - Allow aliasing in ArrayView::from_shape by [@​bluss](https://togithub.com/bluss) [#​1410](https://togithub.com/rust-ndarray/ndarray/pull/1410) - Remove deprecations from 0.15.x by [@​bluss](https://togithub.com/bluss) [#​1409](https://togithub.com/rust-ndarray/ndarray/pull/1409) - Make `CowArray` an owned storage array, require Clone bound for `into_shared` by [@​jturner314](https://togithub.com/jturner314) [#​1028](https://togithub.com/rust-ndarray/ndarray/pull/1028) - Change `NdProducer::Dim` of `axis_windows()` to `Ix1` by [@​jonasBoss](https://togithub.com/jonasBoss) [#​1305](https://togithub.com/rust-ndarray/ndarray/pull/1305) - Add `squeeze()` to dynamic dimension arrays by [@​barakugav](https://togithub.com/barakugav) [#​1396](https://togithub.com/rust-ndarray/ndarray/pull/1396) - Add `flatten`, `flatten_with_order` and `into_flat` to arrays by [@​barakugav](https://togithub.com/barakugav) [#​1397](https://togithub.com/rust-ndarray/ndarray/pull/1397) - Make compatible with thumbv6m-none-eabi by [@​BjornTheProgrammer](https://togithub.com/BjornTheProgrammer) [#​1384](https://togithub.com/rust-ndarray/ndarray/pull/1384) - `is_unique` for `ArcArray` by [@​daniellga](https://togithub.com/daniellga) [#​1399](https://togithub.com/rust-ndarray/ndarray/pull/1399) - Add `triu` and `tril` methods directly to ArrayBase by [@​akern40](https://togithub.com/akern40) [#​1386](https://togithub.com/rust-ndarray/ndarray/pull/1386) - Fix styling of the BLAS integration heading. by [@​adamreichold](https://togithub.com/adamreichold) [#​1390](https://togithub.com/rust-ndarray/ndarray/pull/1390) - Implement `product_axis` by [@​akern40](https://togithub.com/akern40) [#​1387](https://togithub.com/rust-ndarray/ndarray/pull/1387) - Add reserve method for owned arrays by [@​ssande7](https://togithub.com/ssande7) [#​1268](https://togithub.com/rust-ndarray/ndarray/pull/1268) - Use inline on spit_at and smaller methods by [@​bluss](https://togithub.com/bluss) [#​1381](https://togithub.com/rust-ndarray/ndarray/pull/1381) - Update to Approx 0.5 by [@​bluss](https://togithub.com/bluss) [#​1380](https://togithub.com/rust-ndarray/ndarray/pull/1380) - Add .into_raw_vec_with_offset() and deprecate .into_raw_vec() by [@​bluss](https://togithub.com/bluss) [#​1379](https://togithub.com/rust-ndarray/ndarray/pull/1379) - Add additional array -> array view conversions by [@​bluss](https://togithub.com/bluss) [#​1130](https://togithub.com/rust-ndarray/ndarray/pull/1130) - implement DoubleEndedIterator for 1d `LanesIter` by [@​Muthsera](https://togithub.com/Muthsera) [#​1237](https://togithub.com/rust-ndarray/ndarray/pull/1237) - Add Zip::any by [@​nilgoyette](https://togithub.com/nilgoyette) [#​1228](https://togithub.com/rust-ndarray/ndarray/pull/1228) - Make the aview0, aview1, and aview2 free functions be const fns by [@​jturner314](https://togithub.com/jturner314) [#​1132](https://togithub.com/rust-ndarray/ndarray/pull/1132) - Add missing safety checks to `From<&[[A; N]]> for ArrayView` and `From<&mut [[A; N]]> for ArrayViewMut` by [@​jturner314](https://togithub.com/jturner314) [#​1131](https://togithub.com/rust-ndarray/ndarray/pull/1131) - derived Debug for Iter and IterMut by [@​biskwikman](https://togithub.com/biskwikman) [#​1353](https://togithub.com/rust-ndarray/ndarray/pull/1353) - Fix Miri errors for WindowsIter and ExactChunksIter/Mut by [@​jturner314](https://togithub.com/jturner314) [#​1142](https://togithub.com/rust-ndarray/ndarray/pull/1142) - Fix Miri failure with -Zmiri-tag-raw-pointers by [@​jturner314](https://togithub.com/jturner314) [#​1138](https://togithub.com/rust-ndarray/ndarray/pull/1138) - Track-caller panics by [@​xd009642](https://togithub.com/xd009642) [#​975](https://togithub.com/rust-ndarray/ndarray/pull/975) - Add slice_axis_move method by [@​jturner314](https://togithub.com/jturner314) [#​1211](https://togithub.com/rust-ndarray/ndarray/pull/1211) - iterators: Re-export IntoIter by [@​bluss](https://togithub.com/bluss) [#​1370](https://togithub.com/rust-ndarray/ndarray/pull/1370) - Fix unsafe blocks in `s![]` macro by [@​jturner314](https://togithub.com/jturner314) [#​1196](https://togithub.com/rust-ndarray/ndarray/pull/1196) - Fix comparison with NumPy of slicing with negative step by [@​venkat0791](https://togithub.com/venkat0791) [#​1319](https://togithub.com/rust-ndarray/ndarray/pull/1319) - Updated Windows `base` Computations to be Safer by [@​LazaroHurtado](https://togithub.com/LazaroHurtado) [#​1297](https://togithub.com/rust-ndarray/ndarray/pull/1297) - Update README-quick-start.md by [@​fumseckk](https://togithub.com/fumseckk) [#​1246](https://togithub.com/rust-ndarray/ndarray/pull/1246) - Added stride support to `Windows` by [@​LazaroHurtado](https://togithub.com/LazaroHurtado) [#​1249](https://togithub.com/rust-ndarray/ndarray/pull/1249) - Added select example to numpy user docs by [@​WillAyd](https://togithub.com/WillAyd) [#​1294](https://togithub.com/rust-ndarray/ndarray/pull/1294) - Add both approx features to the readme by [@​nilgoyette](https://togithub.com/nilgoyette) [#​1289](https://togithub.com/rust-ndarray/ndarray/pull/1289) - Add NumPy examples combining slicing and assignment by [@​jturner314](https://togithub.com/jturner314) [#​1210](https://togithub.com/rust-ndarray/ndarray/pull/1210) - Fix contig check for single element arrays by [@​bluss](https://togithub.com/bluss) [#​1362](https://togithub.com/rust-ndarray/ndarray/pull/1362) - Export Linspace and Logspace iterators by [@​johann-cm](https://togithub.com/johann-cm) [#​1348](https://togithub.com/rust-ndarray/ndarray/pull/1348) - Use `clone_from()` in two places by [@​ChayimFriedman2](https://togithub.com/ChayimFriedman2) [#​1347](https://togithub.com/rust-ndarray/ndarray/pull/1347) - Update README-quick-start.md by [@​joelchen](https://togithub.com/joelchen) [#​1344](https://togithub.com/rust-ndarray/ndarray/pull/1344) - Provide element-wise math functions for floats by [@​KmolYuan](https://togithub.com/KmolYuan) [#​1042](https://togithub.com/rust-ndarray/ndarray/pull/1042) - Improve example in doc for columns method by [@​gkobeaga](https://togithub.com/gkobeaga) [#​1221](https://togithub.com/rust-ndarray/ndarray/pull/1221) - Fix description of stack! in quick start by [@​jturner314](https://togithub.com/jturner314) [#​1156](https://togithub.com/rust-ndarray/ndarray/pull/1156) ## Tests, CI and Maintainer tasks - CI: require rustfmt, nostd by [@​bluss](https://togithub.com/bluss) [#​1411](https://togithub.com/rust-ndarray/ndarray/pull/1411) - Prepare changelog for 0.16.0 by [@​bluss](https://togithub.com/bluss) [#​1401](https://togithub.com/rust-ndarray/ndarray/pull/1401) - Organize dependencies with workspace = true (cont.) by [@​bluss](https://togithub.com/bluss) [#​1407](https://togithub.com/rust-ndarray/ndarray/pull/1407) - Update to use dep: for features by [@​bluss](https://togithub.com/bluss) [#​1406](https://togithub.com/rust-ndarray/ndarray/pull/1406) - Organize the workspace of test crates a bit better by [@​bluss](https://togithub.com/bluss) [#​1405](https://togithub.com/rust-ndarray/ndarray/pull/1405) - Add rustfmt commit to ignored revisions for git blame by [@​lucascolley](https://togithub.com/lucascolley) [#​1376](https://togithub.com/rust-ndarray/ndarray/pull/1376) - The minimum amount of work required to fix our CI by [@​adamreichold](https://togithub.com/adamreichold) [#​1388](https://togithub.com/rust-ndarray/ndarray/pull/1388) - Fixed broke continuous integration badge by [@​juhotuho10](https://togithub.com/juhotuho10) [#​1382](https://togithub.com/rust-ndarray/ndarray/pull/1382) - Use mold linker to speed up ci by [@​bluss](https://togithub.com/bluss) [#​1378](https://togithub.com/rust-ndarray/ndarray/pull/1378) - Add rustformat config and CI by [@​bluss](https://togithub.com/bluss) [#​1375](https://togithub.com/rust-ndarray/ndarray/pull/1375) - Add docs to CI by [@​jturner314](https://togithub.com/jturner314) [#​925](https://togithub.com/rust-ndarray/ndarray/pull/925) - Test using cargo-careful by [@​bluss](https://togithub.com/bluss) [#​1371](https://togithub.com/rust-ndarray/ndarray/pull/1371) - Further ci updates - numeric tests, and run all tests on PRs by [@​bluss](https://togithub.com/bluss) [#​1369](https://togithub.com/rust-ndarray/ndarray/pull/1369) - Setup ci so that most checks run in merge queue only by [@​bluss](https://togithub.com/bluss) [#​1368](https://togithub.com/rust-ndarray/ndarray/pull/1368) - Use merge queue by [@​bluss](https://togithub.com/bluss) [#​1367](https://togithub.com/rust-ndarray/ndarray/pull/1367) - Try to make the master branch shipshape by [@​adamreichold](https://togithub.com/adamreichold) [#​1286](https://togithub.com/rust-ndarray/ndarray/pull/1286) - Update ci - run cross tests only on master by [@​bluss](https://togithub.com/bluss) [#​1366](https://togithub.com/rust-ndarray/ndarray/pull/1366) - ndarray_for_numpy_users some example to code not pointed out to clippy by [@​higumachan](https://togithub.com/higumachan) [#​1360](https://togithub.com/rust-ndarray/ndarray/pull/1360) - Fix minimum rust version mismatch in lib.rs by [@​HoKim98](https://togithub.com/HoKim98) [#​1352](https://togithub.com/rust-ndarray/ndarray/pull/1352) - Fix MSRV build by pinning crossbeam crates. by [@​adamreichold](https://togithub.com/adamreichold) [#​1345](https://togithub.com/rust-ndarray/ndarray/pull/1345) - Fix new rustc lints to make the CI pass. by [@​adamreichold](https://togithub.com/adamreichold) [#​1337](https://togithub.com/rust-ndarray/ndarray/pull/1337) - Make Clippy happy and fix MSRV build by [@​adamreichold](https://togithub.com/adamreichold) [#​1320](https://togithub.com/rust-ndarray/ndarray/pull/1320) - small formatting fix in README.rst by [@​podusowski](https://togithub.com/podusowski) [#​1199](https://togithub.com/rust-ndarray/ndarray/pull/1199) - Fix CI failures (mostly linting with clippy) by [@​aganders3](https://togithub.com/aganders3) [#​1171](https://togithub.com/rust-ndarray/ndarray/pull/1171) - Remove doc(hidden) attr from items in trait impls by [@​jturner314](https://togithub.com/jturner314) [#​1165](https://togithub.com/rust-ndarray/ndarray/pull/1165)

Configuration

📅 Schedule: Branch creation - "after 07:00 before 20:00 every weekday" in timezone Asia/Tokyo, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.

renovate[bot] commented 1 month ago

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

The artifact failure details are included below:

File name: Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path Cargo.toml --package ndarray@0.15.6 --precise 0.16.1
    Updating crates.io index
error: failed to select a version for the requirement `ndarray = ">=0.13, <0.16"`
candidate versions found which didn't match: 0.16.1
location searched: crates.io index
required by package `numpy v0.21.0`
    ... which satisfies dependency `numpy = "^0.21"` (locked to 0.21.0) of package `mjai v0.2.1 (/tmp/renovate/repos/github/smly/mjai.app)`