Skip to content

Commit 4026595

Browse files
authored
What's Changed feat: add main.py stub to zip files by @oxidase in https://github.com/oxidase/rules_poetry/pull/50 feat: add platform attribute to py_zip by @oxidase in https://github.com/oxidase/rules_poetry/pull/51 Full Changelog: oxidase/rules_poetry@v0.3.1...v0.3.2
1 parent 65cfe57 commit 4026595

File tree

5 files changed

+66
-1
lines changed

5 files changed

+66
-1
lines changed
+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
module(
2+
name = "rules_poetry",
3+
version = "0.3.2",
4+
compatibility_level = 1,
5+
)
6+
7+
bazel_dep(name = "bazel_skylib", version = "1.5.0")
8+
bazel_dep(name = "platforms", version = "0.0.8")
9+
10+
internal_deps = use_extension("@rules_poetry//python:extensions.bzl", "internal_deps")
11+
use_repo(internal_deps, "rules_poetry_deps", "rules_poetry_pip")
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
===================================================================
2+
--- a/MODULE.bazel
3+
+++ b/MODULE.bazel
4+
@@ -1,7 +1,7 @@
5+
module(
6+
name = "rules_poetry",
7+
- version = "0",
8+
+ version = "0.3.2",
9+
compatibility_level = 1,
10+
)
11+
12+
bazel_dep(name = "bazel_skylib", version = "1.5.0")
+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
matrix:
2+
platform:
3+
- centos7
4+
- debian10
5+
- ubuntu2004
6+
- macos
7+
bazel:
8+
- 7.x
9+
tasks:
10+
verify_targets:
11+
name: Verify build targets
12+
platform: ${{ platform }}
13+
bazel: ${{ bazel }}
14+
build_targets:
15+
- '@rules_poetry//python/...'
16+
- '@rules_poetry//lib/...'
17+
bcr_test_module:
18+
module_path: "examples/transitions"
19+
matrix:
20+
platform:
21+
- debian11
22+
- macos
23+
- ubuntu2004
24+
bazel:
25+
- 7.x
26+
tasks:
27+
run_test_module:
28+
name: Run test module
29+
platform: ${{ platform }}
30+
bazel: ${{ bazel }}
31+
test_targets:
32+
- //...
+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"url": "https://github.com/oxidase/rules_poetry/releases/download/v0.3.2/rules_poetry-0.3.2.tar.gz",
3+
"integrity": "sha256-PhhGo5JJvT1or6wnSfYPdPx+artTIZqrlpSC2jTSxOE=",
4+
"strip_prefix": "rules_poetry-0.3.2",
5+
"patches": {
6+
"module_dot_bazel_version.patch": "sha256-lOfham5AH7qrCZClvx6ioGKvkixFNFgLWq33OZmkVoQ="
7+
},
8+
"patch_strip": 1
9+
}

modules/rules_poetry/metadata.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"0.1.0",
1515
"0.2.0",
1616
"0.3.0",
17-
"0.3.1"
17+
"0.3.1",
18+
"0.3.2"
1819
],
1920
"yanked_versions": {}
2021
}

0 commit comments

Comments
 (0)