From 4c4f910b9e4dbaa1acade577c641033ff47013d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Cumplido?= Date: Tue, 2 Sep 2025 10:03:41 +0200 Subject: [PATCH] GH-43904: [CI][Python] Stop uploading nightly wheels to gemfury --- dev/tasks/macros.jinja | 26 ---------------------- dev/tasks/python-sdist/github.yml | 1 - dev/tasks/python-wheels/github.linux.yml | 1 - dev/tasks/python-wheels/github.osx.yml | 1 - dev/tasks/python-wheels/github.windows.yml | 1 - 5 files changed, 30 deletions(-) diff --git a/dev/tasks/macros.jinja b/dev/tasks/macros.jinja index a8e9604779c8..8196df179b2c 100644 --- a/dev/tasks/macros.jinja +++ b/dev/tasks/macros.jinja @@ -123,32 +123,6 @@ env: CROSSBOW_GITHUB_TOKEN: {{ '${{ secrets.CROSSBOW_GITHUB_TOKEN || secrets.GITHUB_TOKEN }}' }} {% endmacro %} -{%- macro github_upload_gemfury(pattern) -%} - {%- if arrow.is_default_branch() -%} - - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: "ruby" - - name: Install gemfury client - run: | - gem install gemfury - - name: Upload package to Gemfury - shell: bash - run: | - if $(fury versions --as=${CROSSBOW_GEMFURY_ORG} --api-token=${CROSSBOW_GEMFURY_TOKEN} pyarrow | grep --fixed-strings -q "{{ arrow.no_rc_version }}"); then - echo "Version {{ arrow.no_rc_version }} already exists. Avoid pushing version." - else - fury push \ - --api-token=${CROSSBOW_GEMFURY_TOKEN} \ - --as=${CROSSBOW_GEMFURY_ORG} \ - {{ pattern }} - fi - env: - CROSSBOW_GEMFURY_TOKEN: {{ '${{ secrets.CROSSBOW_GEMFURY_TOKEN }}' }} - CROSSBOW_GEMFURY_ORG: {{ '${{ secrets.CROSSBOW_GEMFURY_ORG }}' }} - {% endif %} -{% endmacro %} - {%- macro github_upload_wheel_scientific_python(pattern) -%} {%- if arrow.is_default_branch() -%} - name: Upload wheel to Anaconda scientific-python diff --git a/dev/tasks/python-sdist/github.yml b/dev/tasks/python-sdist/github.yml index 8a141c4099cd..0ed13f921895 100644 --- a/dev/tasks/python-sdist/github.yml +++ b/dev/tasks/python-sdist/github.yml @@ -43,4 +43,3 @@ jobs: PYARROW_VERSION: {{ arrow.no_rc_version }} {{ macros.github_upload_releases("arrow/python/dist/*.tar.gz")|indent }} - {{ macros.github_upload_gemfury("arrow/python/dist/*.tar.gz")|indent }} diff --git a/dev/tasks/python-wheels/github.linux.yml b/dev/tasks/python-wheels/github.linux.yml index 916182214273..676765dd4432 100644 --- a/dev/tasks/python-wheels/github.linux.yml +++ b/dev/tasks/python-wheels/github.linux.yml @@ -133,7 +133,6 @@ jobs: ubuntu-verify-rc {{ macros.github_upload_releases("arrow/python/repaired_wheels/*.whl")|indent }} - {{ macros.github_upload_gemfury("arrow/python/repaired_wheels/*.whl")|indent }} {{ macros.github_upload_wheel_scientific_python("arrow/python/repaired_wheels/*.whl")|indent }} {% if arrow.is_default_branch() %} diff --git a/dev/tasks/python-wheels/github.osx.yml b/dev/tasks/python-wheels/github.osx.yml index b353d7f06f2f..f6f4cc2c96ae 100644 --- a/dev/tasks/python-wheels/github.osx.yml +++ b/dev/tasks/python-wheels/github.osx.yml @@ -140,5 +140,4 @@ jobs: arch -{{ arch }} arrow/ci/scripts/python_wheel_unix_test.sh $(pwd)/arrow {{ macros.github_upload_releases("arrow/python/repaired_wheels/*.whl")|indent }} - {{ macros.github_upload_gemfury("arrow/python/repaired_wheels/*.whl")|indent }} {{ macros.github_upload_wheel_scientific_python("arrow/python/repaired_wheels/*.whl")|indent }} diff --git a/dev/tasks/python-wheels/github.windows.yml b/dev/tasks/python-wheels/github.windows.yml index 063ec1d632cc..77e2a04e3a0a 100644 --- a/dev/tasks/python-wheels/github.windows.yml +++ b/dev/tasks/python-wheels/github.windows.yml @@ -90,7 +90,6 @@ jobs: archery docker run %TEST_IMAGE_PREFIX%-wheel-windows-test {{ macros.github_upload_releases("arrow/python/repaired_wheels/*.whl")|indent }} - {{ macros.github_upload_gemfury("arrow/python/repaired_wheels/*.whl")|indent }} {{ macros.github_upload_wheel_scientific_python("arrow/python/repaired_wheels/*.whl")|indent }} {% if arrow.is_default_branch() %}