Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade rules_pkg to 0.3.0 to remove Python 2 dependency. #3620

Merged
merged 1 commit into from
Jan 31, 2023

Conversation

rickeylev
Copy link
Contributor

Earlier versions have build_tar using python_version=PY2, which newer
versions of Bazel will no longer support.

Fixes #3619

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

Issue Number: 3619

What is the new behavior?

rules_pkg version 3.0 is used, which doesn't use a Python 2 binary.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

Earlier versions have `build_tar` using `python_version=PY2`, which
newer versions of Bazel will no longer support.

Fixes bazel-contrib#3619
@rickeylev
Copy link
Contributor Author

I can't repro the CI failure, nor does it make much sense. With the Bazel CI, I see an error that looks similar (IO error downloading something else), so I'm inclined to say its a CI problem, not PR problem

@alexeagle alexeagle merged commit 4b8bcf2 into bazel-contrib:stable Jan 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flag --incompatible_python_disable_py2 will break rules_nodejs in Bazel 7.0
2 participants