Alex Eagle

Results 412 comments of Alex Eagle

rules_py would be in addition to rules_python, not replacing it. In that model, it's just these type-checking actions which would run inside a standard virtualenv created by those rules, but...

Dropping some notes here about my option 2 above: - rules_py assumes the use of a hermetic, downloaded Python interpreter. However the indygreg Mac arm64 interpreter is built assuming a...

@gregmagolan is there some way we could get pnpm to run in a "bazel-like" mode so it's easier to know why it repros only under Bazel? If every JS rule...

https://github.com/aspect-build/rules_js/commit/7377f2d0387cc2a9251137929b1c53ccdb3fbcf0 added the doc to show how to make pnpm show the same result outside of Bazel.

It's landed in rules_js now https://github.com/aspect-build/rules_js/tree/main/e2e/bzlmod @kormide want to take a stab at rolling out to some of the dependents like rules_ts ?

I guess we could print a warning at least, before closing this.

As it stands now, are the two actually orthogonal? In contributing to bazel-mypy-integration I'm tripping over ``` ERROR: /home/alexeagle/Projects/bazel-mypy-integration/examples/third_party/BUILD:3:10: MirrorAndLint third_party/__linting_system/main/third_party/main.py failed: (Exit 127): main_linter_exe failed: error executing command bazel-out/k8-fastbuild/bin/third_party/main_linter_exe...

when I forget to link packages ``` ERROR: /home/alexeagle/.cache/bazel/_bazel_alexeagle/1112fa9a04c6878cb3f2bf123baf106a/external/npm/@types/node/BUILD.bazel:33:6: no such target '//:direct_link__at_types_node': target 'direct_link__at_types_node' not declared in package '' defined by /home/alexeagle/Projects/bazel-examples/next.js/BUILD.bazel and referenced by '@npm//@types/node:node' ```

I guess this is blocked on having a better story for how dependencies are installed, basically resolve the FIXME https://github.com/aspect-build/rules_js/blob/main/e2e/bzlmod/MODULE.bazel#L27 before we advertise bzlmod as a recommended way to install.