Skip to content

Commit d80e6ff

Browse files
authored
GH-43904: [CI][Python] Stop uploading nightly wheels to gemfury (#47470)
### Rationale for this change We started uploading nightly wheels to the scientific python channel on anaconda: https://anaconda.org/scientific-python-nightly-wheels/pyarrow Which are the documented nightlies: https://arrow.apache.org/docs/dev/developers/python.html#installing-nightly-packages We updated the documentation and have been deprecating with a long release cycle. Uploading wheels to gemfury sometimes fail due to trying to upload the same version of the wheels. ### What changes are included in this PR? Stop uploading nightly wheels to gemfury. ### Are these changes tested? No ### Are there any user-facing changes? Yes, nightly wheels will not be available on gemfury anymore. * GitHub Issue: #43904 Authored-by: Raúl Cumplido <[email protected]> Signed-off-by: Raúl Cumplido <[email protected]>
1 parent 57b4b4b commit d80e6ff

File tree

5 files changed

+0
-30
lines changed

5 files changed

+0
-30
lines changed

dev/tasks/macros.jinja

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -123,32 +123,6 @@ env:
123123
CROSSBOW_GITHUB_TOKEN: {{ '${{ secrets.CROSSBOW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}' }}
124124
{% endmacro %}
125125

126-
{%- macro github_upload_gemfury(pattern) -%}
127-
{%- if arrow.is_default_branch() -%}
128-
- name: Set up Ruby
129-
uses: ruby/setup-ruby@v1
130-
with:
131-
ruby-version: "ruby"
132-
- name: Install gemfury client
133-
run: |
134-
gem install gemfury
135-
- name: Upload package to Gemfury
136-
shell: bash
137-
run: |
138-
if $(fury versions --as=${CROSSBOW_GEMFURY_ORG} --api-token=${CROSSBOW_GEMFURY_TOKEN} pyarrow | grep --fixed-strings -q "{{ arrow.no_rc_version }}"); then
139-
echo "Version {{ arrow.no_rc_version }} already exists. Avoid pushing version."
140-
else
141-
fury push \
142-
--api-token=${CROSSBOW_GEMFURY_TOKEN} \
143-
--as=${CROSSBOW_GEMFURY_ORG} \
144-
{{ pattern }}
145-
fi
146-
env:
147-
CROSSBOW_GEMFURY_TOKEN: {{ '${{ secrets.CROSSBOW_GEMFURY_TOKEN }}' }}
148-
CROSSBOW_GEMFURY_ORG: {{ '${{ secrets.CROSSBOW_GEMFURY_ORG }}' }}
149-
{% endif %}
150-
{% endmacro %}
151-
152126
{%- macro github_upload_wheel_scientific_python(pattern) -%}
153127
{%- if arrow.is_default_branch() -%}
154128
- name: Upload wheel to Anaconda scientific-python

dev/tasks/python-sdist/github.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,3 @@ jobs:
4343
PYARROW_VERSION: {{ arrow.no_rc_version }}
4444

4545
{{ macros.github_upload_releases("arrow/python/dist/*.tar.gz")|indent }}
46-
{{ macros.github_upload_gemfury("arrow/python/dist/*.tar.gz")|indent }}

dev/tasks/python-wheels/github.linux.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,6 @@ jobs:
133133
ubuntu-verify-rc
134134
135135
{{ macros.github_upload_releases("arrow/python/repaired_wheels/*.whl")|indent }}
136-
{{ macros.github_upload_gemfury("arrow/python/repaired_wheels/*.whl")|indent }}
137136
{{ macros.github_upload_wheel_scientific_python("arrow/python/repaired_wheels/*.whl")|indent }}
138137

139138
{% if arrow.is_default_branch() %}

dev/tasks/python-wheels/github.osx.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,5 +140,4 @@ jobs:
140140
arch -{{ arch }} arrow/ci/scripts/python_wheel_unix_test.sh $(pwd)/arrow
141141
142142
{{ macros.github_upload_releases("arrow/python/repaired_wheels/*.whl")|indent }}
143-
{{ macros.github_upload_gemfury("arrow/python/repaired_wheels/*.whl")|indent }}
144143
{{ macros.github_upload_wheel_scientific_python("arrow/python/repaired_wheels/*.whl")|indent }}

dev/tasks/python-wheels/github.windows.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ jobs:
9090
archery docker run %TEST_IMAGE_PREFIX%-wheel-windows-test
9191
9292
{{ macros.github_upload_releases("arrow/python/repaired_wheels/*.whl")|indent }}
93-
{{ macros.github_upload_gemfury("arrow/python/repaired_wheels/*.whl")|indent }}
9493
{{ macros.github_upload_wheel_scientific_python("arrow/python/repaired_wheels/*.whl")|indent }}
9594

9695
{% if arrow.is_default_branch() %}

0 commit comments

Comments
 (0)