build(deps): bump more-itertools from 10.7.0 to 10.8.0 in /tools/publish (#3254) Bumps [more-itertools](https://github.com/more-itertools/more-itertools) from 10.7.0 to 10.8.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/more-itertools/more-itertools/releases">more-itertools's releases</a>.</em></p> <blockquote> <h2>Version 10.8.0</h2> <h2>What's Changed</h2> <ul> <li>Fix typo in version history for 10.7.0 by bbayles in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/981">more-itertools/more-itertools#981</a></li> <li>Issue 980: Fix variable names: iterable vs iterator by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/982">more-itertools/more-itertools#982</a></li> <li>Improve docstrings for dft, idft, and multinomial by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/983">more-itertools/more-itertools#983</a></li> <li>Add a note about polynomial endianness by bbayles in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/984">more-itertools/more-itertools#984</a></li> <li>Add SPDX license identifier by cdce8p in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/978">more-itertools/more-itertools#978</a></li> <li>Remove setup.py file by cdce8p in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/979">more-itertools/more-itertools#979</a></li> <li>Include <code>derangements</code> by itself by bbayles in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/985">more-itertools/more-itertools#985</a></li> <li>Add derangements by debruijn in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/946">more-itertools/more-itertools#946</a></li> <li>Issue 986: argmin and argmax by bbayles in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/988">more-itertools/more-itertools#988</a></li> <li>Split-out the integer math functions by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/990">more-itertools/more-itertools#990</a></li> <li>Spelling, grammar, punctuation, and usage by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/991">more-itertools/more-itertools#991</a></li> <li>Fix the return type of more_itertools.batched by qobilidop in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/993">more-itertools/more-itertools#993</a></li> <li>Fix duplicate words in version_history.rst by saadmanrafat in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/992">more-itertools/more-itertools#992</a></li> <li>Improve islice_extended memory usage when start<0 and step>0 by ben42code in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/995">more-itertools/more-itertools#995</a></li> <li>Unittest islice_extended impact on iterated elements lifecycle by ben42code in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/996">more-itertools/more-itertools#996</a></li> <li>convolve() is agnostic to endianness by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/997">more-itertools/more-itertools#997</a></li> <li>Sample simplification by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/998">more-itertools/more-itertools#998</a></li> <li>Issue 1005: Document difference from builtin min() and max(). by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1008">more-itertools/more-itertools#1008</a></li> <li>General cleanups by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1007">more-itertools/more-itertools#1007</a></li> <li>Fix broken link by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1004">more-itertools/more-itertools#1004</a></li> <li>Add option for nth_prime() to be approximated by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1002">more-itertools/more-itertools#1002</a></li> <li>before_and_after improvement by pochmann3 in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1012">more-itertools/more-itertools#1012</a></li> <li>Fast paths instead of applying an identity function by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1018">more-itertools/more-itertools#1018</a></li> <li>Speed-up _complex_sumprod() by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1000">more-itertools/more-itertools#1000</a></li> <li>Improve islice_extended memory usage when stop<0 and step>0 by ben42code in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/999">more-itertools/more-itertools#999</a></li> <li>Add derangements() to the doc indexes by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1020">more-itertools/more-itertools#1020</a></li> <li>Improve readability/findability with combinatoric subsections by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1022">more-itertools/more-itertools#1022</a></li> <li>Fix 1009: Confused docstring for minmax() by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1021">more-itertools/more-itertools#1021</a></li> <li>Improve <code>interleave_longest</code> by pochmann3 in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1027">more-itertools/more-itertools#1027</a></li> <li>Issue 1001: fix last() when <strong>reversed</strong> is None by inventshah in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1028">more-itertools/more-itertools#1028</a></li> <li>Issue 1029: fix batched IDE/help() docs by inventshah in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1031">more-itertools/more-itertools#1031</a></li> <li>Improve <code>mark_ends</code> by pochmann3 in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1035">more-itertools/more-itertools#1035</a></li> <li>Add usage notes for sample() by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1037">more-itertools/more-itertools#1037</a></li> <li>Fix docstring and comment in private _nth_prime_bounds function by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1036">more-itertools/more-itertools#1036</a></li> <li>Fix linespacing by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1038">more-itertools/more-itertools#1038</a></li> <li>Add running_median by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1039">more-itertools/more-itertools#1039</a></li> <li>running_median() with windowed data by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1040">more-itertools/more-itertools#1040</a></li> <li>Pin furo to 2024.08.06 by bbayles in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1043">more-itertools/more-itertools#1043</a></li> <li>docs: Fix invisible REPL output in HTML dark mode by moreati in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1045">more-itertools/more-itertools#1045</a></li> <li>Use python instead of python3 when running tests by ktbarrett in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1051">more-itertools/more-itertools#1051</a></li> <li>Issue 1044: Add new tool: extract() by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1056">more-itertools/more-itertools#1056</a></li> <li>Test 3.14.0-rc.2 by bbayles in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1060">more-itertools/more-itertools#1060</a></li> <li><code>unzip</code>: replace custom itemgetter by pochmann3 in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1059">more-itertools/more-itertools#1059</a></li> <li>Add <code>interleave_randomly</code> by ktbarrett in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1048">more-itertools/more-itertools#1048</a></li> <li>Issue 1003: Multidimensional reshape() by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1062">more-itertools/more-itertools#1062</a></li> <li>Get coverage to 100% by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1065">more-itertools/more-itertools#1065</a></li> <li>Improve count_cycle() by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1066">more-itertools/more-itertools#1066</a></li> <li>Clarify how derangements treats duplicate inputs by rhettinger in <a href="https://redirect.github.com/more-itertools/more-itertools/pull/1069">more-itertools/more-itertools#1069</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/more-itertools/more-itertools/commit/8c1a6ef241b51ff055e89219f050ccf4f15f37f6"><code>8c1a6ef</code></a> Merge pull request <a href="https://redirect.github.com/more-itertools/more-itertools/issues/1071">#1071</a> from more-itertools/version-10.8.0</li> <li><a href="https://github.com/more-itertools/more-itertools/commit/24be4400152530567fc308578ce5e8072ad77982"><code>24be440</code></a> Add note for issue 1054</li> <li><a href="https://github.com/more-itertools/more-itertools/commit/3dd5980a6d73bb9902a4ab1fb1eb05d512081f86"><code>3dd5980</code></a> Add a note for issue 1063</li> <li><a href="https://github.com/more-itertools/more-itertools/commit/2ce52d104921364729df909c03f52ae7e2085f82"><code>2ce52d1</code></a> Update docs for 10.8.0</li> <li><a href="https://github.com/more-itertools/more-itertools/commit/eae915618a81fa1263484630c892408fc5670d5a"><code>eae9156</code></a> Bump version: 10.7.0 → 10.8.0</li> <li><a href="https://github.com/more-itertools/more-itertools/commit/a80f1c56f513a2758445372f263efae6f7337561"><code>a80f1c5</code></a> Merge pull request <a href="https://redirect.github.com/more-itertools/more-itertools/issues/1068">#1068</a> from rhettinger/cleanup_tail</li> <li><a href="https://github.com/more-itertools/more-itertools/commit/57015894e4f043f33b98d5565b720054e926bc14"><code>5701589</code></a> Merge pull request <a href="https://redirect.github.com/more-itertools/more-itertools/issues/1067">#1067</a> from rhettinger/reshape_beautification</li> <li><a href="https://github.com/more-itertools/more-itertools/commit/58e0331c4e542ea950aa0e55bfecd2eeb9e641d8"><code>58e0331</code></a> Merge pull request <a href="https://redirect.github.com/more-itertools/more-itertools/issues/1069">#1069</a> from rhettinger/derangements_doc</li> <li><a href="https://github.com/more-itertools/more-itertools/commit/9a3d7e31e6956446453ee0a9224b842bf21e3022"><code>9a3d7e3</code></a> Clarify how derangements treats duplicate inputs</li> <li><a href="https://github.com/more-itertools/more-itertools/commit/c509b1434ebe5201a6f7298d7495da5914dd88d4"><code>c509b14</code></a> Clean-up tail(). Prefer try/except over the Sized ABC.</li> <li>Additional commits viewable in <a href="https://github.com/more-itertools/more-itertools/compare/v10.7.0...v10.8.0">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This repository is the home of the core Python rules -- py_library, py_binary, py_test, py_proto_library, and related symbols that provide the basis for Python support in Bazel. It also contains package installation rules for integrating with PyPI and other indices.
Documentation for rules_python is at https://rules-python.readthedocs.io and in the Bazel Build Encyclopedia.
Examples live in the examples directory.
The core rules are stable. Their implementation is subject to Bazel's backward compatibility policy. This repository aims to follow semantic versioning.
The Bazel community maintains this repository. Neither Google nor the Bazel team provides support for the code. However, this repository is part of the test suite used to vet new Bazel releases. See How to contribute page for information on our development workflow.
For detailed documentation, see https://rules-python.readthedocs.io
See Bzlmod support for more details.