Skip to content

Commit

Permalink
Publish bazelbuild/rules_python@0.16.2 (#356)
Browse files Browse the repository at this point in the history
Co-authored-by: Thulio Ferraz Assis <thulio@aspect.dev>
  • Loading branch information
publish-to-bcr-bot[bot] and Thulio Ferraz Assis committed Jan 10, 2023
1 parent c41220e commit 26d67a3
Show file tree
Hide file tree
Showing 5 changed files with 61 additions and 1 deletion.
27 changes: 27 additions & 0 deletions modules/rules_python/0.16.2/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
module(
name = "rules_python",
version = "0.16.2",
compatibility_level = 1,
)

bazel_dep(name = "platforms", version = "0.0.4")

internal_deps = use_extension("@rules_python//python:extensions.bzl", "internal_deps")
internal_deps.install()
use_repo(
internal_deps,
"pypi__build",
"pypi__click",
"pypi__colorama",
"pypi__importlib_metadata",
"pypi__installer",
"pypi__more_itertools",
"pypi__packaging",
"pypi__pep517",
"pypi__pip",
"pypi__pip_tools",
"pypi__setuptools",
"pypi__tomli",
"pypi__wheel",
"pypi__zipp",
)
13 changes: 13 additions & 0 deletions modules/rules_python/0.16.2/patches/module_dot_bazel_version.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
Index: MODULE.bazel
===================================================================
--- MODULE.bazel
+++ MODULE.bazel
@@ -1,7 +1,7 @@
module(
name = "rules_python",
- version = "0.0.0",
+ version = "0.16.2",
compatibility_level = 1,
)

bazel_dep(name = "platforms", version = "0.0.4")
10 changes: 10 additions & 0 deletions modules/rules_python/0.16.2/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
bcr_test_module:
module_path: "examples/bzlmod"
matrix:
platform: ["debian11", "macos", "ubuntu2004", "windows"]
tasks:
run_tests:
name: "Run test module"
platform: ${{ platform }}
test_targets:
- "//..."
9 changes: 9 additions & 0 deletions modules/rules_python/0.16.2/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"integrity": "sha256-SKg4puGYPkiEsmgSssdIo1rShP0znrjipvOt+VMH+80=",
"strip_prefix": "rules_python-0.16.2",
"url": "https://github.com/bazelbuild/rules_python/archive/refs/tags/0.16.2.tar.gz",
"patches": {
"module_dot_bazel_version.patch": "sha256-rwhXbGpA76s5uXIND9gUdC4N/syL8/srYOKw7E3kVaY="
},
"patch_strip": 0
}
3 changes: 2 additions & 1 deletion modules/rules_python/metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
"0.14.0",
"0.15.0",
"0.15.1",
"0.16.1"
"0.16.1",
"0.16.2"
],
"yanked_versions": {
"0.14.0": "rules_python 0.14.0 is broken due to https://github.com/bazelbuild/bazel-central-registry/issues/287, please upgrade to version >= 0.15.0"
Expand Down

0 comments on commit 26d67a3

Please sign in to comment.