-
Notifications
You must be signed in to change notification settings - Fork 564
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
Minor code review suggestions #642
Merged
f0rmiga
merged 2 commits into
bazelbuild:f0rmiga/cpython-toolchain
from
alexeagle:suggest_618
Mar 8, 2022
Merged
Minor code review suggestions #642
f0rmiga
merged 2 commits into
bazelbuild:f0rmiga/cpython-toolchain
from
alexeagle:suggest_618
Mar 8, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f0rmiga
approved these changes
Mar 8, 2022
Thanks! |
f0rmiga
added a commit
that referenced
this pull request
Mar 9, 2022
* feat: cpython toolchains for linux and macos Signed-off-by: Thulio Ferraz Assis <[email protected]> * feat: compile zstd if missing Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: buildifier Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: make python_repositories reproducible Signed-off-by: Thulio Ferraz Assis <[email protected]> * rename: python_repositories -> python_repository Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: linter Signed-off-by: Thulio Ferraz Assis <[email protected]> * feat: make interpreter files publicly visible Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: add files to py_runtime Signed-off-by: Thulio Ferraz Assis <[email protected]> * Account for some platforms not having all versions * Added windows support to hermetic toolchains (#628) * Added windows support to hermetic toolchains * Update python/repositories.bzl Co-authored-by: Thulio Ferraz Assis <[email protected]> * Update python/repositories.bzl Co-authored-by: Thulio Ferraz Assis <[email protected]> * Update python/repositories.bzl Co-authored-by: Thulio Ferraz Assis <[email protected]> * Update python/repositories.bzl Co-authored-by: Thulio Ferraz Assis <[email protected]> Co-authored-by: Thulio Ferraz Assis <[email protected]> * refactor: simplify logic for release urls Also, added a helper target to print the release hashes. Signed-off-by: Thulio Ferraz Assis <[email protected]> * feat: Provide a host platform alias (#635) * feat: Provide a host platform alias This lets users and repository rules access the interpreter for whatever host the repository is running on. * Apply suggestions from code review Co-authored-by: Thulio Ferraz Assis <[email protected]> * fix: files excludes Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: macOS dislikes --recursive Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: buildifier issues Signed-off-by: Thulio Ferraz Assis <[email protected]> * Allow previous indygreg releases (#636) This gives us more python patch versions * fix: put back zstd support for older releases Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: hash calculator Signed-off-by: Thulio Ferraz Assis <[email protected]> * feat: use hermetic interpreter with pip_parse and pip_install Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: add missing attrs back for zstd Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: expose zstd attributes Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: normalize OS names Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: linting issues Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: support windows in the aliases Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: linting issues Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: windows python.exe instead of python3.exe Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: use consts for OS names Signed-off-by: Thulio Ferraz Assis <[email protected]> * feat: always use latest toolchain for test Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: expose versions.bzl Signed-off-by: Thulio Ferraz Assis <[email protected]> * refactor: move toolchain tests out of private Signed-off-by: Thulio Ferraz Assis <[email protected]> * feat: acceptance tests for the toolchains Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: rewrite test in py to work on windows Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: README example Co-authored-by: UebelAndre <[email protected]> * fix: use toolchain to run acceptance tests Signed-off-by: Thulio Ferraz Assis <[email protected]> * feat: use matrix for acceptance tests Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: support acceptance_tests on windows Signed-off-by: Thulio Ferraz Assis <[email protected]> * feat: alias for pip Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix?: include call to windows cmd Signed-off-by: Thulio Ferraz Assis <[email protected]> * Fix windows acceptance tests (#641) * Fix windows acceptance tests * test * todo: remove Co-authored-by: Thulio Ferraz Assis <[email protected]> * refactor: polishing Windows testing support Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: unset py2_runtime Signed-off-by: Thulio Ferraz Assis <[email protected]> * rename: host -> resolved_interpreter Signed-off-by: Thulio Ferraz Assis <[email protected]> * doc: add reference to quirks in python-build-standalone Signed-off-by: Thulio Ferraz Assis <[email protected]> * feat: allow a distutils.cfg to be passed Signed-off-by: Thulio Ferraz Assis <[email protected]> * fix: buildifier (again) Signed-off-by: Thulio Ferraz Assis <[email protected]> * Minor code review suggestions (#642) * Minor code review suggestions * Apply suggestions from code review Co-authored-by: Thulio Ferraz Assis <[email protected]> * fix: depset concat Signed-off-by: Thulio Ferraz Assis <[email protected]> Co-authored-by: Alex Eagle <[email protected]> Co-authored-by: UebelAndre <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.