Skip to content

Removal of PyInfo from Bazel causes semantic change #2414

@comius

Description

@comius

🐞 bug report

Description

I upgraded Bazel to use rules_python 0.39.0 -> all the tests pass.
I removed python providers from Bazel -> smoke tests started failing.

🔬 Minimal Reproduction

Checkout bazelbuild/bazel#24343
bazel build //src/test/shell/bazel:bazel_example_test --test_filter=test_native_python

🔥 Exception or Error

https://storage.googleapis.com/bazel-untrusted-buildkite-artifacts/01932fe0-131a-4503-8eac-2516742f6f27/src/test/shell/bazel/bazel_example_test/shard_1_of_3/test_attempts/attempt_1.log

Example in: https://github.com/bazelbuild/bazel/blob/master/examples/py_native/bin.py


-- Test log: -----------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/Bazel.runfiles_vczmqfyg/runfiles/_main/examples/py_native/bin.py", line 4, in 
    from fib import Fib
ModuleNotFoundError: No module named 'fib'

My thoughs

It looks like that part of information was in Builtin providers that now gets lost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy