Skip to content

Update dependency rules_python to v1.9.2 - #361

Merged
avdv merged 6 commits into
mainfrom
renovate/rules_python-1.x
Oct 12, 2026
Merged

avdv merged 6 commits into
mainfrom
renovate/rules_python-1.x

Conversation

@renovate

@renovate renovate Bot commented Jul 30, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
rules_python bazel_dep patch 1.9.1 → 1.9.2

Release Notes

bazel-contrib/rules_python (rules_python)

v1.9.2

Compare Source

For more detailed setup instructions, see https://rules-python.readthedocs.io/en/latest/getting-started.html

For the user-facing changelog see here

Using Bzlmod

Add to your MODULE.bazel file:

bazel_dep(name = "rules_python", version = "1.9.2")

python = use_extension("@rules_python//python/extensions:python.bzl", "python")
python.toolchain(
    python_version = "3.13",
)

pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
    hub_name = "pypi",
    python_version = "3.13",
    requirements_lock = "//:requirements_lock.txt",
)

use_repo(pip, "pypi")

Using WORKSPACE

Paste this snippet into your WORKSPACE file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")

http_archive(
    name = "rules_python",
    sha256 = "98880e2942e66fbe23202bd4174c089a54a203c32fc1cbc1c6c86df9f97ad7e3",
    strip_prefix = "rules_python-1.9.2",
    url = "https://github.com/bazel-contrib/rules_python/releases/download/1.9.2/rules_python-1.9.2.tar.gz",
)

load("@rules_python//python:repositories.bzl", "py_repositories")

py_repositories()
Gazelle plugin

Paste this snippet into your WORKSPACE file:

load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
http_archive(
    name = "rules_python_gazelle_plugin",
    sha256 = "98880e2942e66fbe23202bd4174c089a54a203c32fc1cbc1c6c86df9f97ad7e3",
    strip_prefix = "rules_python-1.9.2/gazelle",
    url = "https://github.com/bazel-contrib/rules_python/releases/download/1.9.2/rules_python-1.9.2.tar.gz",
)

# To compile the rules_python gazelle extension from source,

# we must fetch some third-party go dependencies that it uses.

load("@rules_python_gazelle_plugin//:deps.bzl", _py_gazelle_deps = "gazelle_deps")

_py_gazelle_deps()

What's Changed

Full Changelog: bazel-contrib/rules_python@1.9.1...1.9.2


Configuration

📅 Schedule: (UTC)

  • 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 becomes conflicted, or you tick the rebase/retry checkbox.

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


  • If you want to rebase/retry this PR, check this box

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

@renovate
renovate Bot force-pushed the renovate/rules_python-1.x branch from 60289fb to c809d78 Compare August 28, 2026 07:49
@renovate
renovate Bot force-pushed the renovate/rules_python-1.x branch from ae25d8f to 7e2e99f Compare October 12, 2026 19:29
@renovate
renovate Bot force-pushed the renovate/rules_python-1.x branch from 576ef04 to 669ba9b Compare October 12, 2026 20:44
renovate Bot added 3 commits October 12, 2026 20:44
Flake lock file updates:

• Updated input 'bazel-central-registry':
    'github:bazelbuild/bazel-central-registry/c3c92baccea1b9fc91054ef91f8e600162c7c4d5?narHash=sha256-0QSI%2B/bL4O6vLRm4yrlW7Lfu9U0GEnFKeEVDUClD4lU%3D' (2026-10-12)
  → 'github:bazelbuild/bazel-central-registry/62e77c867bc0c9d98511efe1dc9ff97cc2d8338d?narHash=sha256-ecpOm4iAwjCxL7asXJxZT2ksgEVEIZhH8wpyHy7oI9w%3D' (2026-10-12)
@renovate

renovate Bot commented Oct 12, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

avdv added 2 commits October 12, 2026 23:07
Although https://bazel.build/external/lockfile#best-practices recommends to run `bazel mod tidy`, this
does not sufficiently update the lockfile and Bazel prints to run `mod deps` instead.
@avdv
avdv merged commit 6d2903a into main Oct 12, 2026
3 of 7 checks passed
@avdv
avdv deleted the renovate/rules_python-1.x branch October 12, 2026 21:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant