Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
martis42 committed Jan 18, 2024
1 parent 1ba22a0 commit 8615b71
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion test/aspect/BUILD
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
load("@rules_python//python:defs.bzl", "py_library", "py_test")
load("@rules_python//python:defs.bzl", "py_binary", "py_library", "py_test")

py_test(
name = "result_test",
Expand Down Expand Up @@ -29,3 +29,8 @@ py_library(
name = "python_files",
srcs = glob(["**/*.py"]),
)

py_binary(
name = "foo",
srcs = ["foo.py"],
)
2 changes: 1 addition & 1 deletion test/aspect/MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -97,4 +97,4 @@ bazel_dep(
dev_dependency = True,
)

register_toolchains("@bazel_tools//tools/python:autodetecting_toolchain")
# register_toolchains("@bazel_tools//tools/python:autodetecting_toolchain")
4 changes: 4 additions & 0 deletions test/aspect/foo.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import sys

print(sys.version)
print(sys.executable)

0 comments on commit 8615b71

Please sign in to comment.