Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): update dependency rules_python to v1.1.0 (#443)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | rules_python | bazel_dep | minor | `1.0.0` -> `1.1.0` | | [rules_python](https://redirect.github.com/bazelbuild/rules_python) | http_archive | minor | `1.0.0` -> `1.1.0` | --- ### Release Notes <details> <summary>bazelbuild/rules_python (rules_python)</summary> ### [`v1.1.0`](https://redirect.github.com/bazelbuild/rules_python/blob/HEAD/CHANGELOG.md#110---2025-01-07) [Compare Source](https://redirect.github.com/bazelbuild/rules_python/compare/1.0.0...1.1.0-rc0) [1.1.0]: https://redirect.github.com/bazelbuild/rules_python/releases/tag/1.1.0 {#v1-1-0-changed} ##### Changed - (toolchains) 3.13 means 3.13.1 (previously 3.13.0) - Bazel 6 support is dropped and Bazel 7.4.1 is the minimum supported version, per our Bazel support matrix. Earlier versions are not tested by CI, so functionality cannot be guaranteed. - ({bzl:obj}`pip.parse`) From now we will make fewer calls to indexes when fetching the metadata from SimpleAPI. The calls will be done in parallel to each index separately, so the extension evaluation time might slow down if not using {bzl:obj}`pip.parse.experimental_index_url_overrides`. - ({bzl:obj}`pip.parse`) Only query SimpleAPI for packages that have sha values in the `requirements.txt` file. - (rules) The version-aware rules have been folded into the base rules and the version-aware rules are now simply aliases for the base rules. The `python_version` attribute is still used to specify the Python version. - (pypi) Updated versions of packages: `pip` to 24.3.1 and `packaging` to 24.2. {#v1-1-0-deprecations} ##### Deprecations - `//python/config_settings:transitions.bzl` and its `py_binary` and `py_test` wrappers are deprecated. Use the regular rules instead. {#v1-1-0-fixed} ##### Fixed - (py_wheel) Use the default shell environment when building wheels to allow toolchains that search PATH to be used for the wheel builder tool. - (pypi) The requirement argument parsed to `whl_library` will now not have env marker information allowing `bazel query` to work in cases where the `whl` is available for all of the platforms and the sdist can be built. This fix is for both WORKSPACE and `bzlmod` setups. Fixes [#​2450](https://redirect.github.com/bazelbuild/rules_python/issues/2450). - (gazelle) Gazelle will now correctly parse Python3.12 files that use [PEP 695 Type Parameter Syntax][pep-695]. ([#​2396](https://redirect.github.com/bazelbuild/rules_python/issues/2396)) - (pypi) Using {bzl:obj}`pip_parse.experimental_requirement_cycles` and {bzl:obj}`pip_parse.use_hub_alias_dependencies` together now works when using WORKSPACE files. - (pypi) The error messages when the wheel distributions do not match anything are now printing more details and include the currently active flag values. Fixes [#​2466](https://redirect.github.com/bazelbuild/rules_python/issues/2466). - (py_proto_library) Fix import paths in Bazel 8. - (whl_library) Now the changes to the dependencies are correctly tracked when PyPI packages used in {bzl:obj}`whl_library` during the `repository_rule` phase change. Fixes [#​2468](https://redirect.github.com/bazelbuild/rules_python/issues/2468). <!----> - (gazelle) Gazelle no longer ignores `setup.py` files by default. To restore this behavior, apply the `# gazelle:python_ignore_files setup.py` directive. <!----> - Don't re-fetch whl_library, python_repository, etc. repository rules whenever `PATH` changes. Fixes [#​2551](https://redirect.github.com/bazelbuild/rules_python/issues/2551). [pep-695]: https://peps.python.org/pep-0695/ {#v1-1-0-added} ##### Added - (gazelle) Added `include_stub_packages` flag to `modules_mapping`. When set to `True`, this automatically includes corresponding stub packages for third-party libraries that are present and used (e.g., `boto3` → `boto3-stubs`), improving type-checking support. - (pypi) Freethreaded packages are now fully supported in the {obj}`experimental_index_url` usage or the regular `pip.parse` usage. To select the free-threaded interpreter in the repo phase, please use the documented [env](/environment-variables.html) variables. Fixes [#​2386](https://redirect.github.com/bazelbuild/rules_python/issues/2386). - (toolchains) Use the latest astrahl-sh toolchain release [20241206] for Python versions: - 3.9.21 - 3.10.16 - 3.11.11 - 3.12.8 - 3.13.1 - (rules) Attributes for type definition files (`.pyi` files) and type-checking only dependencies added. See {obj}`py_library.pyi_srcs` and `py_library.pyi_deps` (and the same named attributes for `py_binary` and `py_test`). - (pypi) pypi-generated targets set `pyi_srcs` to include `*.pyi` files. - (providers) {obj}`PyInfo` has new fields to aid static analysis tools: {obj}`direct_original_sources`, {obj}`direct_pyi_files`, {obj}`transitive_original_sources`, {obj}`transitive_pyi_files`. [20241206]: https://redirect.github.com/astral-sh/python-build-standalone/releases/tag/20241206 {#v1-1-0-removed} ##### Removed - `find_requirements` in `//python:defs.bzl` has been removed. {#v1-0-0} </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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 these updates again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR was generated by [Mend Renovate](https://mend.io/renovate/). View the [repository job log](https://developer.mend.io/github/bazel-contrib/toolchains_llvm). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xMDcuMCIsInVwZGF0ZWRJblZlciI6IjM5LjEwNy4wIiwidGFyZ2V0QnJhbmNoIjoibWFzdGVyIiwibGFiZWxzIjpbXX0=--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information