build(deps): bump babel from 2.13.1 to 2.15.0 in /docs/sphinx (#1983) Bumps [babel](https://github.com/python-babel/babel) from 2.13.1 to 2.15.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/python-babel/babel/releases">babel's releases</a>.</em></p> <blockquote> <h2>v2.15.0</h2> <p>The changelog below is auto-generated by GitHub.</p> <p>The binary artifacts attached to this GitHub release <a href="https://github.com/python-babel/babel/actions/runs/8958743141#artifacts">were generated by the GitHub Actions workflow</a>.</p> <p>Please see <a href="https://github.com/python-babel/babel/blob/40b194f4777366e95cc2dfb680fd696b86ef1c04/CHANGES.rst">CHANGELOG.rst</a> for additional details.</p> <hr /> <h2>What's Changed</h2> <ul> <li>Drop support for Python 3.7 (EOL since June 2023) by <a href="https://github.com/akx"><code>@akx</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1048">python-babel/babel#1048</a></li> <li>Upgrade GitHub Actions by <a href="https://github.com/cclauss"><code>@cclauss</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1054">python-babel/babel#1054</a></li> <li>Improve .po IO by <a href="https://github.com/akx"><code>@akx</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1068">python-babel/babel#1068</a></li> <li>Use CLDR 44 by <a href="https://github.com/akx"><code>@akx</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1071">python-babel/babel#1071</a></li> <li>Allow alternative space characters as group separator when parsing numbers by <a href="https://github.com/ronnix"><code>@ronnix</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1007">python-babel/babel#1007</a></li> <li>Include Unicode license in <code>locale-data</code> and in documentation by <a href="https://github.com/akx"><code>@akx</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1074">python-babel/babel#1074</a></li> <li>Encode support for the "fall back to short format" logic for time delta formatting by <a href="https://github.com/akx"><code>@akx</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1075">python-babel/babel#1075</a></li> <li>Prepare for 2.15.0 release by <a href="https://github.com/akx"><code>@akx</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1079">python-babel/babel#1079</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/cclauss"><code>@cclauss</code></a> made their first contribution in <a href="https://redirect.github.com/python-babel/babel/pull/1054">python-babel/babel#1054</a></li> <li><a href="https://github.com/ronnix"><code>@ronnix</code></a> made their first contribution in <a href="https://redirect.github.com/python-babel/babel/pull/1007">python-babel/babel#1007</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/python-babel/babel/compare/v2.14.0...v2.15.0">https://github.com/python-babel/babel/compare/v2.14.0...v2.15.0</a></p> <h2>Version 2.14.0</h2> <h2>Upcoming deprecation</h2> <ul> <li>This version, Babel 2.14, is the last version of Babel to support Python 3.7. Babel 2.15 will require Python 3.8 or newer. We had previously announced Babel 2.13 to have been the last version to support Python 3.7, but being able to use CLDR 43 with Python 3.7 was deemed important enough to keep supporting the EOL Python version for one more release.</li> </ul> <h2>Possibly backwards incompatible changes</h2> <ul> <li>Locale.number_symbols will now have first-level keys for each numbering system. Since the implicit default numbering system still is "latn", what had previously been e.g. Locale.number_symbols['decimal'] is now Locale.number_symbols['latn']['decimal'].</li> <li>Babel no longer directly depends on either distutils or setuptools; if you had been using the Babel setuptools command extensions, you would need to explicitly depend on setuptools – though given you're running setup.py you probably already do.</li> </ul> <p>The changelog below is auto-generated by GitHub.</p> <p>Please see <a href="https://github.com/python-babel/babel/blob/a8505a4de1d365d7eac6313908cac6dda2708a05/CHANGES.rst">CHANGELOG.rst</a> for additional details.</p> <h2>What's Changed</h2> <ul> <li>Upgrade to CLDR 43 by <a href="https://github.com/rix0rrr"><code>@rix0rrr</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1043">python-babel/babel#1043</a></li> <li>Decouple <code>pybabel</code> frontend from distutils/setuptools; remove dependency by <a href="https://github.com/akx"><code>@akx</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1041">python-babel/babel#1041</a></li> <li>Enforce trailing commas (enable Ruff COM rule and autofix) by <a href="https://github.com/akx"><code>@akx</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1045">python-babel/babel#1045</a></li> <li>CI: use GitHub output formats by <a href="https://github.com/akx"><code>@akx</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1046">python-babel/babel#1046</a></li> <li>Allow last_translator to be passed as an option to extract_message by <a href="https://github.com/AivGitHub"><code>@AivGitHub</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1044">python-babel/babel#1044</a></li> <li>Add support of local numbering systems for number symbols by <a href="https://github.com/kajte"><code>@kajte</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1036">python-babel/babel#1036</a></li> <li>fix(numbers): correctly determine malformed decimals by <a href="https://github.com/Olunusib"><code>@Olunusib</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1042">python-babel/babel#1042</a></li> <li>Prepare for 2.14.0 release by <a href="https://github.com/akx"><code>@akx</code></a> in <a href="https://redirect.github.com/python-babel/babel/pull/1047">python-babel/babel#1047</a></li> </ul> <h2>New Contributors</h2> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/python-babel/babel/blob/master/CHANGES.rst">babel's changelog</a>.</em></p> <blockquote> <h2>Version 2.15.0</h2> <p>Python version support</p> <pre><code> * Babel 2.15.0 will require Python 3.8 or newer. (:gh:`1048`) <p>Features</p> <pre><code> * CLDR: Upgrade to CLDR 44 (:gh:`1071`) (@akx) * Dates: Support for the &quot;fall back to short format&quot; logic for time delta formatting (:gh:`1075`) (@akx) * Message: More versatile .po IO functions (:gh:`1068`) (@akx) * Numbers: Improved support for alternate spaces when parsing numbers (:gh:`1007`) (@ronnix's first contribution) Infrastructure </code></pre> <ul> <li>Upgrade GitHub Actions (:gh:<code>1054</code>) (<a href="https://github.com/cclauss"><code>@cclauss</code></a>'s first contribution)</li> <li>The Unicode license is now included in <code>locale-data</code> and in the documentation (:gh:<code>1074</code>) (<a href="https://github.com/akx"><code>@akx</code></a>)</li> </ul> <h2>Version 2.14.0</h2> <p>Upcoming deprecation</p> <pre><code> * This version, Babel 2.14, is the last version of Babel to support Python 3.7. Babel 2.15 will require Python 3.8 or newer. * We had previously announced Babel 2.13 to have been the last version to support Python 3.7, but being able to use CLDR 43 with Python 3.7 was deemed important enough to keep supporting the EOL Python version for one more release. Possibly backwards incompatible changes </code></pre> <ul> <li><code>Locale.number_symbols</code> will now have first-level keys for each numbering system. Since the implicit default numbering system still is <code>&quot;latn&quot;</code>, what had previously been e.g. <code>Locale.number_symbols['decimal']</code> is now <code>Locale.number_symbols['latn']['decimal']</code>.</li> <li>Babel no longer directly depends on either <code>distutils</code> or <code>setuptools</code>; if you had been using the Babel setuptools command extensions, you would need to explicitly depend on <code>setuptools</code> – though given you're running <code>setup.py</code> you probably already do.</li> </ul> <p>Features</p> <pre><code> * CLDR/Numbers: Add support of local numbering systems for number symbols by @kajte in :gh:`1036` * CLDR: Upgrade to CLDR 43 by @rix0rrr in :gh:`1043` * Frontend: Allow last_translator to be passed as an option to extract_message by @AivGitHub in :gh:`1044` &lt;/tr&gt;&lt;/table&gt; </code></pre> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/python-babel/babel/commit/40b194f4777366e95cc2dfb680fd696b86ef1c04"><code>40b194f</code></a> Prepare for 2.15.0 release (<a href="https://redirect.github.com/python-babel/babel/issues/1079">#1079</a>)</li> <li><a href="https://github.com/python-babel/babel/commit/c2e6c6e538418f4c195275c1afff831c4706c2e1"><code>c2e6c6e</code></a> Encode support for the &quot;fall back to short format&quot; logic for time delta forma...</li> <li><a href="https://github.com/python-babel/babel/commit/1a03526e2dda9818424c400530163464a2e74b9b"><code>1a03526</code></a> Include Unicode license in <code>locale-data</code> and in documentation (<a href="https://redirect.github.com/python-babel/babel/issues/1074">#1074</a>)</li> <li><a href="https://github.com/python-babel/babel/commit/c0fb56e6a5a7fa9268b5164db0ff0fc28524d648"><code>c0fb56e</code></a> Allow alternative space characters as group separator when parsing numbers (#...</li> <li><a href="https://github.com/python-babel/babel/commit/fe82fbc90d8044d17bfc4ae1c7a0cb24e85153ef"><code>fe82fbc</code></a> Use CLDR 44 and adjust tests to match new data (<a href="https://redirect.github.com/python-babel/babel/issues/1071">#1071</a>)</li> <li><a href="https://github.com/python-babel/babel/commit/e0d10183635b9ae1d37c31811e23c8974a1bc31e"><code>e0d1018</code></a> Improve .po IO (<a href="https://redirect.github.com/python-babel/babel/issues/1068">#1068</a>)</li> <li><a href="https://github.com/python-babel/babel/commit/40e60a1f6cf178d9f57fcc14f157ea1b2ab77361"><code>40e60a1</code></a> Upgrade GitHub Actions (<a href="https://redirect.github.com/python-babel/babel/issues/1054">#1054</a>)</li> <li><a href="https://github.com/python-babel/babel/commit/2a1709a7768f6f07c3d2dbfdb03d3c8a6bd80aef"><code>2a1709a</code></a> Drop support for Python 3.7 (EOL since June 2023) (<a href="https://redirect.github.com/python-babel/babel/issues/1048">#1048</a>)</li> <li><a href="https://github.com/python-babel/babel/commit/a8505a4de1d365d7eac6313908cac6dda2708a05"><code>a8505a4</code></a> Prepare for 2.14.0 release (<a href="https://redirect.github.com/python-babel/babel/issues/1047">#1047</a>)</li> <li><a href="https://github.com/python-babel/babel/commit/946efcdddb73d4470f2dc4e689aef0477a0ca02f"><code>946efcd</code></a> Improve parsing of malformed decimals (<a href="https://redirect.github.com/python-babel/babel/issues/1042">#1042</a>)</li> <li>Additional commits viewable in <a href="https://github.com/python-babel/babel/compare/v2.13.1...v2.15.0">compare view</a></li> </ul> </details> <br /> </code></pre> [](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.
Currently, the core rules build into the Bazel binary, and the symbols in this repository are simple aliases. However, we are migrating the rules to Starlark and removing them from the Bazel binary. Therefore, the future-proof way to depend on Python rules is via this repository. SeeMigrating from the Bundled Rules below.
The core rules are stable. Their implementation in Bazel is subject to Bazel's backward compatibility policy. Once migrated to rules_python, they may evolve at a different rate, but this repository will still 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.