Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Downgrade rules python to 0.27.1 #226

Merged
merged 2 commits into from
Feb 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 30 additions & 1 deletion .github/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"extends": [
"config:recommended",
":rebaseStalePrs",
"schedule:weekends",
"schedule:monthly",
":semanticCommits"
],
"labels": [
Expand All @@ -20,5 +20,34 @@
"pip_requirements",
"poetry",
"pre-commit"
],
"packageRules": [
{
"matchPackagePatterns": [
"rules_python"
],
"matchManagers": [
"bazel",
"bazel-module"
],
"enabled": false
},
{
"matchManagers": [
"bazel",
"bazel-module"
],
"groupName": "Bazel dependencies",
"groupSlug": "bazel_deps"
},
{
"matchManagers": [
"pip_requirements",
"poetry",
"pre-commit"
],
"groupName": "Quality tooling dependencies",
"groupSlug": "quality_deps"
}
]
}
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ bazel_dep(
# Keep in sync with //examples/MODULE.bazel
# Keep in sync with //test/aspect/MODULE.bazel
# Keep in sync with //test/apply_fixes/execution_logic.py
version = "0.28.0",
version = "0.27.1",
)

non_module_dependencies = use_extension(
Expand Down
2 changes: 1 addition & 1 deletion examples/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ local_path_override(
bazel_dep(
name = "rules_python",
# Keep in sync with //examples/WORKSPACE
version = "0.28.0",
version = "0.27.1",
dev_dependency = True,
)

Expand Down
6 changes: 3 additions & 3 deletions examples/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
maybe(
http_archive,
name = "rules_python",
sha256 = "d70cd72a7a4880f0000a6346253414825c19cdd40a28289bdf67b8e6480edff8",
strip_prefix = "rules_python-0.28.0",
urls = ["https://github.com/bazelbuild/rules_python/releases/download/0.28.0/rules_python-0.28.0.tar.gz"],
sha256 = "e85ae30de33625a63eca7fc40a94fea845e641888e52f32b6beea91e8b1b2793",
strip_prefix = "rules_python-0.27.1",
urls = ["https://github.com/bazelbuild/rules_python/releases/download/0.27.1/rules_python-0.27.1.tar.gz"],
)

load("@rules_python//python:repositories.bzl", "python_register_toolchains")
Expand Down
6 changes: 3 additions & 3 deletions test/apply_fixes/execution_logic.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
maybe(
http_archive,
name = "rules_python",
sha256 = "d70cd72a7a4880f0000a6346253414825c19cdd40a28289bdf67b8e6480edff8",
strip_prefix = "rules_python-0.28.0",
urls = ["https://github.com/bazelbuild/rules_python/releases/download/0.28.0/rules_python-0.28.0.tar.gz"],
sha256 = "e85ae30de33625a63eca7fc40a94fea845e641888e52f32b6beea91e8b1b2793",
strip_prefix = "rules_python-0.27.1",
urls = ["https://github.com/bazelbuild/rules_python/releases/download/0.27.1/rules_python-0.27.1.tar.gz"],
)

load("@rules_python//python:repositories.bzl", "python_register_toolchains")
Expand Down
2 changes: 1 addition & 1 deletion test/aspect/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ local_path_override(
# Keep in sync with //test/aspect/WORKSPACE
bazel_dep(
name = "rules_python",
version = "0.28.0",
version = "0.27.1",
dev_dependency = True,
)

Expand Down
6 changes: 3 additions & 3 deletions test/aspect/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe")
maybe(
http_archive,
name = "rules_python",
sha256 = "d70cd72a7a4880f0000a6346253414825c19cdd40a28289bdf67b8e6480edff8",
strip_prefix = "rules_python-0.28.0",
urls = ["https://github.com/bazelbuild/rules_python/releases/download/0.28.0/rules_python-0.28.0.tar.gz"],
sha256 = "e85ae30de33625a63eca7fc40a94fea845e641888e52f32b6beea91e8b1b2793",
strip_prefix = "rules_python-0.27.1",
urls = ["https://github.com/bazelbuild/rules_python/releases/download/0.27.1/rules_python-0.27.1.tar.gz"],
)

load("@rules_python//python:repositories.bzl", "python_register_multi_toolchains")
Expand Down
6 changes: 3 additions & 3 deletions third_party/dependencies.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ def dependencies():
maybe(
http_archive,
name = "rules_python",
sha256 = "d70cd72a7a4880f0000a6346253414825c19cdd40a28289bdf67b8e6480edff8",
strip_prefix = "rules_python-0.28.0",
urls = ["https://github.com/bazelbuild/rules_python/releases/download/0.28.0/rules_python-0.28.0.tar.gz"],
sha256 = "e85ae30de33625a63eca7fc40a94fea845e641888e52f32b6beea91e8b1b2793",
strip_prefix = "rules_python-0.27.1",
urls = ["https://github.com/bazelbuild/rules_python/releases/download/0.27.1/rules_python-0.27.1.tar.gz"],
)

# Keep in sync with MODULE.bazel
Expand Down
Loading