Skip to content

Add GraalPy support #693

Closed
Closed

Description

@timfel

Description:
I would like to add support for installing GraalPy via setup-python. We are starting to ask people to include support for GraalPy in their packages, and they (reasonably) request to be able to test against GraalPy using their existing workflows using setup-python.

Are you willing to submit a PR?
I have prepared the changes for setup-python, mimicking the PyPy support code. The tests using local mock data pass.

Activity

  1. dmitry-shibanov commented on Jun 28, 2023

    @dmitry-shibanov
    Contributor

    Hello @timfel. Thank you for your feature request. We'll investigate it.

  2. timfel commented on Jun 28, 2023

    @timfel
    ContributorAuthor

    Hello @timfel. Thank you for your feature request. We'll investigate it.

    Thanks. I opened a PR to implement this at #694

  3. linked a pull request that will close this issueAdd GraalPy support #694on Jul 13, 2023
  4. linked a pull request that will close this issueAdd GraalPy support #694on Jul 13, 2023
  5. dmitry-shibanov commented on Oct 10, 2023

    @dmitry-shibanov
    Contributor

    Hello @timfel. We've merged the pull request. Could you please try to use actions/setup-python@main and confirm that it works as expected for you. For now I'm going to reopen the issue until the new version of action is released.

  6. timfel commented on Oct 11, 2023

    @timfel
    ContributorAuthor

    Thanks @dmitry-shibanov. I tried it and it it works as expected

  7. kurtmckee commented on Dec 11, 2023

    @kurtmckee
    Contributor

    I tested this using the following configuration:

    - uses: "actions/setup-python@v5"
      with:
        python-version: |
          graalpy-23.1
          pypy-3.10
          3.11

    Link to run, which failed on Windows

    For Linux and macOS, graalpy-23.1 resolved to version 23.1.1.

    However, on Windows, setup-python reported that no "23.1" version existed:

    Run actions/setup-python@v5
      with:
        python-version: graalpy-23.1
      pypy-3.10
      3.11
      
        check-latest: false
        token: ***
        update-environment: true
        allow-prereleases: false
    Installed versions
      GraalPy version 23.1 was not found in the local cache
      Error: GraalPy version 23.1 with arch x64 not found
    

    This is the complete list of files for the GraalPy 23.1.1 release at the time of writing:

    graalpy-23.1.1-linux-aarch64.tar.gz
    graalpy-23.1.1-linux-aarch64.tar.gz.sha256
    graalpy-23.1.1-linux-amd64.tar.gz
    graalpy-23.1.1-linux-amd64.tar.gz.sha256
    graalpy-23.1.1-macos-aarch64.tar.gz
    graalpy-23.1.1-macos-aarch64.tar.gz.sha256
    graalpy-23.1.1-macos-amd64.tar.gz
    graalpy-23.1.1-macos-amd64.tar.gz.sha256
    graalpy-23.1.1-windows-amd64.zip
    graalpy-23.1.1-windows-amd64.zip.sha256
    graalpy-community-23.1.1-linux-aarch64.tar.gz
    graalpy-community-23.1.1-linux-aarch64.tar.gz.sha256
    graalpy-community-23.1.1-linux-amd64.tar.gz
    graalpy-community-23.1.1-linux-amd64.tar.gz.sha256
    graalpy-community-23.1.1-macos-aarch64.tar.gz
    graalpy-community-23.1.1-macos-aarch64.tar.gz.sha256
    graalpy-community-23.1.1-macos-amd64.tar.gz
    graalpy-community-23.1.1-macos-amd64.tar.gz.sha256
    graalpy-community-jvm-23.1.1-linux-aarch64.tar.gz
    graalpy-community-jvm-23.1.1-linux-aarch64.tar.gz.sha256
    graalpy-community-jvm-23.1.1-linux-amd64.tar.gz
    graalpy-community-jvm-23.1.1-linux-amd64.tar.gz.sha256
    graalpy-community-jvm-23.1.1-macos-aarch64.tar.gz
    graalpy-community-jvm-23.1.1-macos-aarch64.tar.gz.sha256
    graalpy-community-jvm-23.1.1-macos-amd64.tar.gz
    graalpy-community-jvm-23.1.1-macos-amd64.tar.gz.sha256
    graalpy-jvm-23.1.1-linux-aarch64.tar.gz
    graalpy-jvm-23.1.1-linux-aarch64.tar.gz.sha256
    graalpy-jvm-23.1.1-linux-amd64.tar.gz
    graalpy-jvm-23.1.1-linux-amd64.tar.gz.sha256
    graalpy-jvm-23.1.1-macos-aarch64.tar.gz
    graalpy-jvm-23.1.1-macos-aarch64.tar.gz.sha256
    graalpy-jvm-23.1.1-macos-amd64.tar.gz
    graalpy-jvm-23.1.1-macos-amd64.tar.gz.sha256
    graalpy-jvm-23.1.1-windows-amd64.zip
    graalpy-jvm-23.1.1-windows-amd64.zip.sha256
    

    It appears that there is an x64-compatible Windows release available, and I expected this to result in GraalPy getting installed for Windows.

    Is this perhaps an issue with Windows releases using .zip as their file extension?

  8. timfel commented on Dec 11, 2023

    @timfel
    ContributorAuthor

    @kurtmckee The windows support of graalpy 23.1 is highly experimental, so we excluded it on purpose. The 24 release due out April 24 will improve the situation at which point we'll update the action

  9. kurtmckee commented on Dec 11, 2023

    @kurtmckee
    Contributor

    Okay, thanks for the quick response!

  10. dmitry-shibanov commented on Dec 25, 2023

    @dmitry-shibanov
    Contributor

    Hello everyone. For now I'm going to close the issue because the support for GraalPy was released in 4.8.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestNew feature or request to improve the current logicneeds eyes

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions