Skip to content

Navigation Menu

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

Repositories generated by pip_parse contain a BUILD and a BUILD.bazel #440

Copy link
Copy link
Closed
@person142

Description

@person142
Issue body actions

Affected Rule

pip_parse

Is this a regression?

No

Description

The repositories generated by pip_parse contain a BUILD file and a BUILD.bazel file; the former shouldn't be there. For example lsing the contents of an attrs repository gives:

BUILD
BUILD.bazel
WORKSPACE
attr
attrs-20.3.0.dist-info

In addition, the BUILD.bazel file doesn't exclude the BUILD file in the glob (only the BUILD.bazel), so it gets injected into the built artifacts.

🔬 Minimal Reproduction

Inspect the contents of a repository generated by pip_parse.

🔥 Exception or Error

None

🌍 Your Environment

Operating System:

Seen on both Linux/macOS

Output of bazel version:

$ bazelisk version
Bazelisk version: v1.5.0
Build label: 3.3.1
Build target: bazel-out/darwin-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Tue Jun 30 15:14:05 2020 (1593530045)
Build timestamp: 1593530045
Build timestamp as int: 1593530045

Rules_python version:

7aaf7627485c84c4ecd976f7b3fa940f60bb007c

Anything else relevant?

No

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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.