You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by "dependabot[bot] (via GitHub)" <gi...@apache.org> on 2025/01/28 13:57:27 UTC

[PR] Update rand requirement from 0.8 to 0.9 [arrow-rs]

dependabot[bot] opened a new pull request, #7036:
URL: https://github.com/apache/arrow-rs/pull/7036

   Updates the requirements on [rand](https://github.com/rust-random/rand) to permit the latest version.
   <details>
   <summary>Changelog</summary>
   <p><em>Sourced from <a href="https://github.com/rust-random/rand/blob/master/CHANGELOG.md">rand's changelog</a>.</em></p>
   <blockquote>
   <h2>[0.9.0] - 2025-01-27</h2>
   <h3>Security and unsafe</h3>
   <ul>
   <li>Policy: &quot;rand is not a crypto library&quot; (<a href="https://redirect.github.com/rust-random/rand/issues/1514">#1514</a>)</li>
   <li>Remove fork-protection from <code>ReseedingRng</code> and <code>ThreadRng</code>. Instead, it is recommended to call <code>ThreadRng::reseed</code> on fork. (<a href="https://redirect.github.com/rust-random/rand/issues/1379">#1379</a>)</li>
   <li>Use <code>zerocopy</code> to replace some <code>unsafe</code> code (<a href="https://redirect.github.com/rust-random/rand/issues/1349">#1349</a>, <a href="https://redirect.github.com/rust-random/rand/issues/1393">#1393</a>, <a href="https://redirect.github.com/rust-random/rand/issues/1446">#1446</a>, <a href="https://redirect.github.com/rust-random/rand/issues/1502">#1502</a>)</li>
   </ul>
   <h3>Dependencies</h3>
   <ul>
   <li>Bump the MSRV to 1.63.0 (<a href="https://redirect.github.com/rust-random/rand/issues/1207">#1207</a>, <a href="https://redirect.github.com/rust-random/rand/issues/1246">#1246</a>, <a href="https://redirect.github.com/rust-random/rand/issues/1269">#1269</a>, <a href="https://redirect.github.com/rust-random/rand/issues/1341">#1341</a>, <a href="https://redirect.github.com/rust-random/rand/issues/1416">#1416</a>, <a href="https://redirect.github.com/rust-random/rand/issues/1536">#1536</a>); note that 1.60.0 may work for dependents when using <code>--ignore-rust-version</code></li>
   <li>Update to <code>rand_core</code> v0.9.0 (<a href="https://redirect.github.com/rust-random/rand/issues/1558">#1558</a>)</li>
   </ul>
   <h3>Features</h3>
   <ul>
   <li>Support <code>std</code> feature without <code>getrandom</code> or <code>rand_chacha</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1354">#1354</a>)</li>
   <li>Enable feature <code>small_rng</code> by default (<a href="https://redirect.github.com/rust-random/rand/issues/1455">#1455</a>)</li>
   <li>Remove implicit feature <code>rand_chacha</code>; use <code>std_rng</code> instead. (<a href="https://redirect.github.com/rust-random/rand/issues/1473">#1473</a>)</li>
   <li>Rename feature <code>serde1</code> to <code>serde</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1477">#1477</a>)</li>
   <li>Rename feature <code>getrandom</code> to <code>os_rng</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1537">#1537</a>)</li>
   <li>Add feature <code>thread_rng</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1547">#1547</a>)</li>
   </ul>
   <h3>API changes: rand_core traits</h3>
   <ul>
   <li>Add fn <code>RngCore::read_adapter</code> implementing <code>std::io::Read</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1267">#1267</a>)</li>
   <li>Add trait <code>CryptoBlockRng: BlockRngCore</code>; make <code>trait CryptoRng: RngCore</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1273">#1273</a>)</li>
   <li>Add traits <code>TryRngCore</code>, <code>TryCryptoRng</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1424">#1424</a>, <a href="https://redirect.github.com/rust-random/rand/issues/1499">#1499</a>)</li>
   <li>Rename <code>fn SeedableRng::from_rng</code> -&gt; <code>try_from_rng</code> and add infallible variant <code>fn from_rng</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1424">#1424</a>)</li>
   <li>Rename <code>fn SeedableRng::from_entropy</code> -&gt; <code>from_os_rng</code> and add fallible variant <code>fn try_from_os_rng</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1424">#1424</a>)</li>
   <li>Add bounds <code>Clone</code> and <code>AsRef</code> to associated type <code>SeedableRng::Seed</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1491">#1491</a>)</li>
   </ul>
   <h3>API changes: Rng trait and top-level fns</h3>
   <ul>
   <li>Rename fn <code>rand::thread_rng()</code> to <code>rand::rng()</code> and remove from the prelude (<a href="https://redirect.github.com/rust-random/rand/issues/1506">#1506</a>)</li>
   <li>Remove fn <code>rand::random()</code> from the prelude (<a href="https://redirect.github.com/rust-random/rand/issues/1506">#1506</a>)</li>
   <li>Add top-level fns <code>random_iter</code>, <code>random_range</code>, <code>random_bool</code>, <code>random_ratio</code>, <code>fill</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1488">#1488</a>)</li>
   <li>Re-introduce fn <code>Rng::gen_iter</code> as <code>random_iter</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1305">#1305</a>, <a href="https://redirect.github.com/rust-random/rand/issues/1500">#1500</a>)</li>
   <li>Rename fn <code>Rng::gen</code> to <code>random</code> to avoid conflict with the new <code>gen</code> keyword in Rust 2024 (<a href="https://redirect.github.com/rust-random/rand/issues/1438">#1438</a>)</li>
   <li>Rename fns <code>Rng::gen_range</code> to <code>random_range</code>, <code>gen_bool</code> to <code>random_bool</code>, <code>gen_ratio</code> to <code>random_ratio</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1505">#1505</a>)</li>
   <li>Annotate panicking methods with <code>#[track_caller]</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1442">#1442</a>, <a href="https://redirect.github.com/rust-random/rand/issues/1447">#1447</a>)</li>
   </ul>
   <h3>API changes: RNGs</h3>
   <ul>
   <li>Fix <code>&lt;SmallRng as SeedableRng&gt;::Seed</code> size to 256 bits (<a href="https://redirect.github.com/rust-random/rand/issues/1455">#1455</a>)</li>
   <li>Remove first parameter (<code>rng</code>) of <code>ReseedingRng::new</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1533">#1533</a>)</li>
   </ul>
   <h3>API changes: Sequences</h3>
   <ul>
   <li>Split trait <code>SliceRandom</code> into <code>IndexedRandom</code>, <code>IndexedMutRandom</code>, <code>SliceRandom</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1382">#1382</a>)</li>
   <li>Add <code>IndexedRandom::choose_multiple_array</code>, <code>index::sample_array</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1453">#1453</a>, <a href="https://redirect.github.com/rust-random/rand/issues/1469">#1469</a>)</li>
   </ul>
   <h3>API changes: Distributions: renames</h3>
   <ul>
   <li>Rename module <code>rand::distributions</code> to <code>rand::distr</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1470">#1470</a>)</li>
   <li>Rename distribution <code>Standard</code> to <code>StandardUniform</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1526">#1526</a>)</li>
   <li>Move <code>distr::Slice</code> -&gt; <code>distr::slice::Choose</code>, <code>distr::EmptySlice</code> -&gt; <code>distr::slice::Empty</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1548">#1548</a>)</li>
   <li>Rename trait <code>distr::DistString</code> -&gt; <code>distr::SampleString</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1548">#1548</a>)</li>
   <li>Rename <code>distr::DistIter</code> -&gt; <code>distr::Iter</code>, <code>distr::DistMap</code> -&gt; <code>distr::Map</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1548">#1548</a>)</li>
   </ul>
   <!-- raw HTML omitted -->
   </blockquote>
   <p>... (truncated)</p>
   </details>
   <details>
   <summary>Commits</summary>
   <ul>
   <li><a href="https://github.com/rust-random/rand/commit/96f8df65ee6b4368d91a006f9c5b4a8050abae49"><code>96f8df6</code></a> Prepare 0.9.0 release (<a href="https://redirect.github.com/rust-random/rand/issues/1558">#1558</a>)</li>
   <li><a href="https://github.com/rust-random/rand/commit/34da3214df7de717cb27b4e1527ed971f47de311"><code>34da321</code></a> Enable <code>stdarch_x86_avx512</code> for cpu has <code>avx512bw</code> (<a href="https://redirect.github.com/rust-random/rand/issues/1551">#1551</a>)</li>
   <li><a href="https://github.com/rust-random/rand/commit/b4b1eb7579c0a47c1d71560ada0acffd647c9370"><code>b4b1eb7</code></a> Re-org with distr::slice, distr::weighted modules (<a href="https://redirect.github.com/rust-random/rand/issues/1548">#1548</a>)</li>
   <li><a href="https://github.com/rust-random/rand/commit/16eb7de94a124e84c11b0cb236c8dc798fe5cd25"><code>16eb7de</code></a> Add the <code>thread_rng</code> feature flag (<a href="https://redirect.github.com/rust-random/rand/issues/1547">#1547</a>)</li>
   <li><a href="https://github.com/rust-random/rand/commit/afa24e49b418fb06d8f030b15636f12814ce13a5"><code>afa24e4</code></a> Fix test status badges (<a href="https://redirect.github.com/rust-random/rand/issues/1544">#1544</a>)</li>
   <li><a href="https://github.com/rust-random/rand/commit/c681dfc345b3f24852a3931d3ba3adda2356336d"><code>c681dfc</code></a> Create FUNDING.yml</li>
   <li><a href="https://github.com/rust-random/rand/commit/9f05e22afb6031d32f36cd927592e7e49b668d64"><code>9f05e22</code></a> Update: getrandom v0.3.0 rc.0 (<a href="https://redirect.github.com/rust-random/rand/issues/1541">#1541</a>)</li>
   <li><a href="https://github.com/rust-random/rand/commit/88c310b18939a12f407c659bdd66554677d8b8c1"><code>88c310b</code></a> Fix docs.rs build options (<a href="https://redirect.github.com/rust-random/rand/issues/1539">#1539</a>)</li>
   <li><a href="https://github.com/rust-random/rand/commit/b879689a6078a9d4a8d24319572b0f02662fb315"><code>b879689</code></a> Adjust GH Actions (<a href="https://redirect.github.com/rust-random/rand/issues/1538">#1538</a>)</li>
   <li><a href="https://github.com/rust-random/rand/commit/3fac49fe890da599d671f2ad02074f4961480878"><code>3fac49f</code></a> Prepare 0.9.0-beta.0 (<a href="https://redirect.github.com/rust-random/rand/issues/1535">#1535</a>)</li>
   <li>Additional commits viewable in <a href="https://github.com/rust-random/rand/compare/0.8.0...0.9.0">compare view</a></li>
   </ul>
   </details>
   <br />
   
   
   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-automerge-start)
   [//]: # (dependabot-automerge-end)
   
   ---
   
   <details>
   <summary>Dependabot commands and options</summary>
   <br />
   
   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)
   
   
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update rand requirement from 0.8 to 0.9 [arrow-rs]

Posted by "tustvold (via GitHub)" <gi...@apache.org>.
tustvold closed pull request #7036: Update rand requirement from 0.8 to 0.9
URL: https://github.com/apache/arrow-rs/pull/7036


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update rand requirement from 0.8 to 0.9 [arrow-rs]

Posted by "dependabot[bot] (via GitHub)" <gi...@apache.org>.
dependabot[bot] commented on PR #7036:
URL: https://github.com/apache/arrow-rs/pull/7036#issuecomment-2628855935

   OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting `@dependabot ignore this major version` or `@dependabot ignore this minor version`. You can also ignore all major, minor, or patch releases for a dependency by adding an [`ignore` condition](https://docs.github.com/en/code-security/supply-chain-security/configuration-options-for-dependency-updates#ignore) with the desired `update_types` to your config file.
   
   If you change your mind, just re-open this PR and I'll resolve any conflicts on it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Update rand requirement from 0.8 to 0.9 [arrow-rs]

Posted by "alamb (via GitHub)" <gi...@apache.org>.
alamb commented on PR #7036:
URL: https://github.com/apache/arrow-rs/pull/7036#issuecomment-2621536060

   - Superceded by https://github.com/apache/arrow-rs/pull/7045


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org