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

Remove python2 from tfjs-converter #6575

Merged
merged 10 commits into from
Jun 29, 2022

Conversation

mattsoulanille
Copy link
Member

@mattsoulanille mattsoulanille commented Jun 28, 2022

Remove python2 from tfjs-converter and publish only a python3 wheel. Remove the custom Python Bazel toolchain that builds Python from source and replace it with the rules_python toolchain that downloads pre-built python3 binaries.

To see the logs from the Cloud Build CI, please join either our discussion or announcement mailing list.


This change is Reviewable

@mattsoulanille mattsoulanille marked this pull request as ready for review June 28, 2022 23:30
@mattsoulanille mattsoulanille requested a review from pyu10055 June 28, 2022 23:30
Copy link
Collaborator

@pyu10055 pyu10055 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Matt for finally removing the python2 deps.
One thing to notice, the main reason we used PyEnquirer for interactive CLI is due to its python 2 support. As we removing python 2 deps, we can move to an newer version, that will resolve some of other older deps.
questionary is the newer compatible version, we can tackle that in a future PR.
https://github.com/tmbo/questionary

Reviewed 11 of 11 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 1 approvals obtained

@mattsoulanille mattsoulanille requested a review from Linchenn June 28, 2022 23:43
@mattsoulanille mattsoulanille merged commit 9c42487 into tensorflow:master Jun 29, 2022
@mattsoulanille mattsoulanille deleted the rules_python_0.9.0 branch June 29, 2022 16:50
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.

3 participants