Skip to content

With 9.0.0rc1-6 --nobuild_python_zip seems to be now be a noop on windows #28348

@carpenterjc

Description

@carpenterjc

Description of the bug:

If you are using build --nobuild_python_zip to avoid producing the python zipfiles on windows, instead you now need to use build --@rules_python//python/config_settings:build_python_zip=false.

There is no warning that it is ignored and no documentation on the change.

Which category does this issue belong to?

No response

What's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.

With any project that uses python executables on Windows.
You can have can run on windows with build --@rules_python//python/config_settings:build_python_zip=false and you can see no zip file is created, however when you do this with build --nobuild_python_zip zip files are produced.

Which operating system are you running Bazel on?

windows

What is the output of bazel info release?

release 9.0.0rc6

If bazel info release returns development version or (@non-git), tell us how you built Bazel.

No response

What's the output of git remote get-url origin; git rev-parse HEAD ?


If this is a regression, please try to identify the Bazel commit where the bug was introduced with bazelisk --bisect.

No response

Have you found anything relevant by searching the web?

No response

Any other information, logs, or outputs that you want to share?

No response

Metadata

Metadata

Assignees

Labels

P1I'll work on this now. (Assignee required)type: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions