8000 [bzlmod bug/regression] `entry_point` no longer working with blzmod · Issue #958 · bazel-contrib/rules_python · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
[bzlmod bug/regression] entry_point no longer working with blzmod  #958
Closed
@xinbinhuang

Description

@xinbinhuang

🐞 bug report

Affected Rule

The issue is caused by the rule:

entry_point when using with blzmod

Is this a regression?

Yes

Description

entry_point rule no longer working when used with blzmod

🔬 Minimal Reproduction

You can find a reproducible example at this repo: https://github.com/xinbinhuang/rules_python_bug

🔥 Exception or Error

~ $ bazel run "//:flake8"    
ERROR: /workspace/BUILD.bazel:3:6: no such package '@[unknown repo 'pip_flake8' requested from @]//': The repository '@[unknown repo 'pip_flake8' requested from @]' could not be resolved: No repository visible as '@pip_flake8' from main repository and referenced by '//:flake8'
ERROR: Analysis of target '//:flake8' failed; build aborted: Analysis failed
INFO: Elapsed time: 4.436s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (1 packages loaded, 0 targets configured)
ERROR: Build failed. Not running target

🌍 Your Environment

Operating System:

  
mac/linux
  

Output of bazel version:

  
6.0.0
  

Rules_python version:

  
0.16.1
  

Anything else relevant?

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

      0