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

feat: cpython toolchains #618

Merged
merged 48 commits into from
Mar 9, 2022
Merged

feat: cpython toolchains #618

merged 48 commits into from
Mar 9, 2022

Commits on Mar 2, 2022

  1. feat: cpython toolchains for linux and macos

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    e86473f View commit details
    Browse the repository at this point in the history
  2. feat: compile zstd if missing

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    eabb3e2 View commit details
    Browse the repository at this point in the history
  3. fix: buildifier

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    371573d View commit details
    Browse the repository at this point in the history
  4. fix: make python_repositories reproducible

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    768f2d4 View commit details
    Browse the repository at this point in the history
  5. rename: python_repositories -> python_repository

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    a0717d9 View commit details
    Browse the repository at this point in the history
  6. fix: linter

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    44e6c2d View commit details
    Browse the repository at this point in the history
  7. feat: make interpreter files publicly visible

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    72b1ff1 View commit details
    Browse the repository at this point in the history
  8. fix: add files to py_runtime

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    327275f View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0e91655 View commit details
    Browse the repository at this point in the history
  10. Added windows support to hermetic toolchains (#628)

    * Added windows support to hermetic toolchains
    
    * Update python/repositories.bzl
    
    Co-authored-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    
    * Update python/repositories.bzl
    
    Co-authored-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    
    * Update python/repositories.bzl
    
    Co-authored-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    
    * Update python/repositories.bzl
    
    Co-authored-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    
    Co-authored-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    UebelAndre and f0rmiga committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    4a8b718 View commit details
    Browse the repository at this point in the history
  11. refactor: simplify logic for release urls

    Also, added a helper target to print the release hashes.
    
    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    d7ac042 View commit details
    Browse the repository at this point in the history
  12. 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 <3149049+f0rmiga@users.noreply.github.com>
    alexeagle and f0rmiga authored Mar 2, 2022
    Configuration menu
    Copy the full SHA
    346c78c View commit details
    Browse the repository at this point in the history
  13. fix: files excludes

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 2, 2022
    Configuration menu
    Copy the full SHA
    fbc7934 View commit details
    Browse the repository at this point in the history

Commits on Mar 3, 2022

  1. fix: macOS dislikes --recursive

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    936821f View commit details
    Browse the repository at this point in the history
  2. fix: buildifier issues

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    01df1f1 View commit details
    Browse the repository at this point in the history
  3. Allow previous indygreg releases (#636)

    This gives us more python patch versions
    alexeagle authored Mar 3, 2022
    Configuration menu
    Copy the full SHA
    e5664e2 View commit details
    Browse the repository at this point in the history
  4. fix: put back zstd support for older releases

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    66c8e5c View commit details
    Browse the repository at this point in the history
  5. fix: hash calculator

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 3, 2022
    Configuration menu
    Copy the full SHA
    a2b0eeb View commit details
    Browse the repository at this point in the history

Commits on Mar 4, 2022

  1. feat: use hermetic interpreter with pip_parse and pip_install

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    d121436 View commit details
    Browse the repository at this point in the history
  2. fix: add missing attrs back for zstd

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    d61f2f7 View commit details
    Browse the repository at this point in the history
  3. fix: expose zstd attributes

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    77383e3 View commit details
    Browse the repository at this point in the history
  4. fix: normalize OS names

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    3e349ea View commit details
    Browse the repository at this point in the history
  5. fix: linting issues

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    fb22d57 View commit details
    Browse the repository at this point in the history
  6. fix: support windows in the aliases

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    cf7ce1d View commit details
    Browse the repository at this point in the history
  7. fix: linting issues

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    d7cec7f View commit details
    Browse the repository at this point in the history
  8. fix: windows python.exe instead of python3.exe

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    f42657f View commit details
    Browse the repository at this point in the history
  9. fix: use consts for OS names

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    e550a77 View commit details
    Browse the repository at this point in the history
  10. feat: always use latest toolchain for test

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    4a5a50b View commit details
    Browse the repository at this point in the history
  11. fix: expose versions.bzl

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    4373058 View commit details
    Browse the repository at this point in the history
  12. refactor: move toolchain tests out of private

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    4c7fce1 View commit details
    Browse the repository at this point in the history
  13. feat: acceptance tests for the toolchains

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    97b909a View commit details
    Browse the repository at this point in the history
  14. fix: rewrite test in py to work on windows

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    3d7e6a6 View commit details
    Browse the repository at this point in the history
  15. fix: README example

    Co-authored-by: UebelAndre <github@uebelandre.com>
    f0rmiga and UebelAndre authored Mar 4, 2022
    Configuration menu
    Copy the full SHA
    00ca705 View commit details
    Browse the repository at this point in the history
  16. fix: use toolchain to run acceptance tests

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    651ce7f View commit details
    Browse the repository at this point in the history
  17. feat: use matrix for acceptance tests

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    9549c4a View commit details
    Browse the repository at this point in the history
  18. fix: support acceptance_tests on windows

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    2258d33 View commit details
    Browse the repository at this point in the history
  19. feat: alias for pip

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    fd9f983 View commit details
    Browse the repository at this point in the history
  20. fix?: include call to windows cmd

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 4, 2022
    Configuration menu
    Copy the full SHA
    102439b View commit details
    Browse the repository at this point in the history

Commits on Mar 7, 2022

  1. Fix windows acceptance tests (#641)

    * Fix windows acceptance tests
    
    * test
    
    * todo: remove
    
    Co-authored-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    UebelAndre and f0rmiga authored Mar 7, 2022
    Configuration menu
    Copy the full SHA
    8a6bcdd View commit details
    Browse the repository at this point in the history
  2. refactor: polishing Windows testing support

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    93be625 View commit details
    Browse the repository at this point in the history
  3. fix: unset py2_runtime

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    f509b46 View commit details
    Browse the repository at this point in the history
  4. rename: host -> resolved_interpreter

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    7eacdf1 View commit details
    Browse the repository at this point in the history
  5. doc: add reference to quirks in python-build-standalone

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    9200d66 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    3d2c89c View commit details
    Browse the repository at this point in the history
  7. feat: allow a distutils.cfg to be passed

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    8c85ec5 View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2022

  1. fix: buildifier (again)

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    13ab11e View commit details
    Browse the repository at this point in the history
  2. Minor code review suggestions (#642)

    * Minor code review suggestions
    
    * Apply suggestions from code review
    
    Co-authored-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    alexeagle and f0rmiga authored Mar 8, 2022
    Configuration menu
    Copy the full SHA
    ceb2c35 View commit details
    Browse the repository at this point in the history
  3. fix: depset concat

    Signed-off-by: Thulio Ferraz Assis <3149049+f0rmiga@users.noreply.github.com>
    f0rmiga committed Mar 8, 2022
    Configuration menu
    Copy the full SHA
    acd6666 View commit details
    Browse the repository at this point in the history