You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2020/12/18 17:37:24 UTC

[GitHub] [arrow] n8henrie commented on pull request #8386: ARROW-10224: [Python] Add support for Python 3.9 except macOS wheel and Windows wheel

n8henrie commented on pull request #8386:
URL: https://github.com/apache/arrow/pull/8386#issuecomment-748222957


   @kou You're likely well aware, but if looking for e.g. `manylinux2014` for 3.9:
   
   ```console
   $ curl -s 'https://api.github.com/repos/ursa-labs/crossbow/releases' | jq -r '.[]["assets"] | .[]["browser_download_url"]' | grep manylinux2014-cp39
   https://github.com/ursa-labs/crossbow/releases/download/nightly-2020-12-18-0-azure-wheel-manylinux2014-cp39/pyarrow-2.1.0.dev412-cp39-cp39-manylinux2014_x86_64.whl
   https://github.com/ursa-labs/crossbow/releases/download/nightly-2020-12-18-0-azure-wheel-manylinux2014-cp39/pyarrow-2.1.0.dev412.tar.gz
   ```
   
   Looks like the api [has a limit of 100 results per call](https://docs.github.com/en/free-pro-team@latest/rest/reference/repos#list-releases), which doesn't go back far enough. Instead of dealing with pagination, it seems like `gh` may have a higher limit:
   
   ```console
   $ gh release list --repo=ursa-labs/crossbow --limit=1000 | grep manylinux2014-c
   p39
   nightly-2020-12-18-0-azure-wheel-manylinux2014-cp39             nightly-2020-12-18-0-azure-wheel-manylinux2014-cp39     2020-12-18T07:26:20Z
   nightly-2020-12-17-0-azure-wheel-manylinux2014-cp39             nightly-2020-12-17-0-azure-wheel-manylinux2014-cp39     2020-12-17T07:33:01Z
   actions-807-azure-wheel-manylinux2014-cp39              actions-807-azure-wheel-manylinux2014-cp39      2020-12-17T01:23:13Z
   actions-804-azure-wheel-manylinux2014-cp39              actions-804-azure-wheel-manylinux2014-cp39      2020-12-16T23:00:37Z
   actions-799-azure-wheel-manylinux2014-cp39              actions-799-azure-wheel-manylinux2014-cp39      2020-12-16T08:54:37Z
   nightly-2020-12-16-0-azure-wheel-manylinux2014-cp39             nightly-2020-12-16-0-azure-wheel-manylinux2014-cp39     2020-12-16T06:58:23Z
   actions-794-azure-wheel-manylinux2014-cp39              actions-794-azure-wheel-manylinux2014-cp39      2020-12-15T21:35:42Z
   nightly-2020-12-15-0-azure-wheel-manylinux2014-cp39             nightly-2020-12-15-0-azure-wheel-manylinux2014-cp39     2020-12-15T06:22:33Z
   nightly-2020-12-14-0-azure-wheel-manylinux2014-cp39             nightly-2020-12-14-0-azure-wheel-manylinux2014-cp39     2020-12-14T07:19:20Z
   actions-783-azure-wheel-manylinux2014-cp39              actions-783-azure-wheel-manylinux2014-cp39      2020-12-12T22:57:41Z
   actions-772-azure-wheel-manylinux2014-cp39              actions-772-azure-wheel-manylinux2014-cp39      2020-12-11T07:19:59Z
   actions-767-azure-wheel-manylinux2014-cp39              actions-767-azure-wheel-manylinux2014-cp39      2020-12-10T20:02:41Z
   actions-759-azure-wheel-manylinux2014-cp39              actions-759-azure-wheel-manylinux2014-cp39      2020-12-10T04:27:52Z
   actions-758-azure-wheel-manylinux2014-cp39              actions-758-azure-wheel-manylinux2014-cp39      2020-12-09T23:30:31Z
   ```
   
   From the name of the release you can construct the URL:
   
   ```plaintext
   https://github.com/ursa-labs/crossbow/releases/actions-783-azure-wheel-manylinux2014-cp39
   ```
   
   And from there you can find:
   
   ```plaintext
   https://github.com/ursa-labs/crossbow/releases/download/actions-783-azure-wheel-manylinux2014-cp39/pyarrow-2.1.0.dev363-cp39-cp39-manylinux2014_x86_64.whl
   ```
   
   From here you can install directly with pip:
   
   ```console
   $ python -m pip install https://github.com/ursa-labs/crossbow/releases/download/actions-783-azure-wheel-manylinux2014-cp39/pyarrow-2.1.0.dev363-cp39-cp39-manylinux2014_x86_64.whl
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org