-
Notifications
You must be signed in to change notification settings - Fork 3.9k
ARROW-6920: [Packaging] Build python 3.8 wheels #5685
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
Closed
Closed
Changes from 24 commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
2ab6732
ARROW-6920: [Packaging] Build python 3.8 wheels
sjhewitt e9f1408
Set up Python 3.8
kou c818840
Remove m suffix
kou f403b6f
Use the latest multibuild
kou 99251ea
Use "conda activate/deactivate"
kou 1c8427e
Use conda without call
kou 2ef6213
Use "call conda.bat activate/deactivate"
kou 655f88c
Use Azure Pipelines instead of Travis CI
kou 7ace0cb
Ensure using the latest image
kou c4526d8
Use more recent numpy
kou da300ac
Don't use TTY
kou 10dac67
move plasma subprocesses to top level functions
terencehonles e047d54
Don't use local function
kou 5e5977e
Don't link to other Python libraries on non Windows
kou 52761b4
libpython.so may not exist
kou 260fa79
Add a missing empty line
kou f0c8e69
Link to libpython only on Windows
kou 99cad41
Use the uploaded image
kou 344eecd
Use apache/arrow-dev again
kou 5293f2b
Pin base image and remove needless virtualenvs
kou cd9ae83
Install TensorFlow for Python 2.7 manually
kou f3f9bfa
Install tensorflow for 32 bit unicode width py27
kszucs 43833a3
Add Python 3.8 support to package metadata
kou 908a396
Check Docker version for debug
kou feac494
Add a TODO comment
kou File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,91 @@ | ||
| # Licensed to the Apache Software Foundation (ASF) under one | ||
| # or more contributor license agreements. See the NOTICE file | ||
| # distributed with this work for additional information | ||
| # regarding copyright ownership. The ASF licenses this file | ||
| # to you under the Apache License, Version 2.0 (the | ||
| # "License"); you may not use this file except in compliance | ||
| # with the License. You may obtain a copy of the License at | ||
| # | ||
| # http://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # Unless required by applicable law or agreed to in writing, software | ||
| # distributed under the License is distributed on an "AS IS" BASIS, | ||
| # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
| # See the License for the specific language governing permissions and | ||
| # limitations under the License. | ||
|
|
||
| jobs: | ||
| - job: linux | ||
| pool: | ||
| vmImage: ubuntu-latest | ||
| timeoutInMinutes: 360 | ||
| steps: | ||
| - task: CondaEnvironment@1 | ||
| inputs: | ||
| packageSpecs: 'click github3.py jinja2 jira pygit2 ruamel.yaml setuptools_scm toolz' | ||
| installOptions: '-c conda-forge' | ||
| updateConda: false | ||
|
|
||
| - script: | | ||
| set -ex | ||
| git clone --no-checkout {{ arrow.remote }} arrow | ||
| git -C arrow fetch -t {{ arrow.remote }} {{ arrow.branch }} | ||
| git -C arrow checkout FETCH_HEAD | ||
| git -C arrow submodule update --init --recursive | ||
| displayName: Clone arrow | ||
|
|
||
| - script: | | ||
| set -ex | ||
| docker -v | ||
| docker-compose -v | ||
| cd arrow | ||
| BUILD_IMAGE=centos-python-{{ wheel_tag }} | ||
| docker-compose pull $BUILD_IMAGE | ||
| # docker-compose build $BUILD_IMAGE | ||
| docker-compose run \ | ||
| -e SETUPTOOLS_SCM_PRETEND_VERSION={{ arrow.no_rc_version }} \ | ||
| -e PYTHON_VERSION="{{ python_version }}" \ | ||
| -e UNICODE_WIDTH="{{ unicode_width }}" \ | ||
| $BUILD_IMAGE | ||
| displayName: Build wheel | ||
|
|
||
| # auditwheel does always exit with 0 so it is mostly for debugging | ||
| # purposes | ||
| - script: | | ||
| set -ex | ||
| cd arrow | ||
| docker run \ | ||
| -v $(pwd):/arrow quay.io/pypa/{{ wheel_tag }}_x86_64 \ | ||
| /bin/bash -c \ | ||
| "auditwheel show /arrow/python/{{ wheel_tag }}/dist/*.whl" | ||
| displayName: Audit wheel | ||
|
|
||
| - script: | | ||
| set -ex | ||
| cd arrow | ||
| test_args="" | ||
| {%- if test_remove_system_libs %} | ||
| test_args="${test_args} --remove-system-libs" | ||
| {%- endif %} | ||
| {%- for image in test_docker_images %} | ||
| docker run \ | ||
| --shm-size 2G \ | ||
| -v $(pwd):/arrow \ | ||
| -e WHEEL_TAG="{{ wheel_tag }}" \ | ||
| {{ image }} \ | ||
| /arrow/dev/tasks/python-wheels/manylinux-test.sh ${test_args} | ||
| {%- endfor %} | ||
| displayName: Test wheel | ||
|
|
||
| - script: | | ||
| set -ex | ||
| python arrow/dev/tasks/crossbow.py \ | ||
| --queue-path . \ | ||
| --queue-remote {{ queue.remote_url }} \ | ||
| upload-artifacts \ | ||
| --pattern "arrow/python/{{ wheel_tag }}/dist/*" \ | ||
| --sha {{ task.branch }} \ | ||
| --tag {{ task.tag }} | ||
| env: | ||
| CROSSBOW_GITHUB_TOKEN: $(CROSSBOW_GITHUB_TOKEN) | ||
| displayName: Upload packages as a GitHub release | ||
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for porting it to azure!