forked from apache/arrow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apacheGH-40216: [CI][Packaging][Python] Upload pyarrow nightly wheels…
… to scientific python channel on Anaconda (apache#43862) ### Rationale for this change As discussed on the main issue is interesting for discoverability to have the wheels uploaded to the nightly channel. ### What changes are included in this PR? Added macro to upload wheel to scientific python channel ### Are these changes tested? Via archery ### Are there any user-facing changes? No but nightly wheels will be available on scientific python channel * GitHub Issue: apache#40216 Authored-by: Raúl Cumplido <[email protected]> Signed-off-by: Jacob Wujciak-Jens <[email protected]>
- Loading branch information
Showing
6 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -183,6 +183,18 @@ env: | |
{% endif %} | ||
{% endmacro %} | ||
|
||
{%- macro github_upload_wheel_scientific_python(pattern) -%} | ||
{%- if arrow.is_default_branch() -%} | ||
- name: Upload wheel to Anaconda scientific-python | ||
shell: bash | ||
run: | | ||
python3 -m pip install git+https://github.com/Anaconda-Platform/[email protected] | ||
anaconda -t ${CROSSBOW_SCIENTIFIC_PYTHON_UPLOAD_TOKEN} upload --force -u scientific-python-nightly-wheels --label dev {{ pattern }} | ||
env: | ||
CROSSBOW_SCIENTIFIC_PYTHON_UPLOAD_TOKEN: {{ '${{ secrets.CROSSBOW_SCIENTIFIC_PYTHON_UPLOAD_TOKEN }}' }} | ||
{% endif %} | ||
{% endmacro %} | ||
|
||
{%- macro azure_checkout_arrow() -%} | ||
- script: | | ||
git clone --no-checkout --branch {{ arrow.branch }} {{ arrow.remote }} arrow | ||
|
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,6 +29,7 @@ groups: | |
|
||
wheel: | ||
- wheel-* | ||
- python-sdist | ||
|
||
linux: | ||
- almalinux-* | ||
|