Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 5 additions & 17 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ jobs:
(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') && ( ! endsWith(github.ref, 'dev0')))
runs-on: ubuntu-24.04
env:
IS_PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
IS_SCHEDULE_DISPATCH: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
outputs:
sdist_file: ${{ steps.save-path.outputs.sdist_name }}
Expand Down Expand Up @@ -118,7 +117,6 @@ jobs:
python: ["cp313t", "3.13"]

env:
IS_PUSH: ${{ github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v') }}
IS_SCHEDULE_DISPATCH: ${{ github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' }}
steps:
- name: Checkout pandas
Expand Down Expand Up @@ -204,21 +202,11 @@ jobs:
path: ./wheelhouse/*.whl

- name: Upload wheels & sdist
if: ${{ success() && (env.IS_SCHEDULE_DISPATCH == 'true' || env.IS_PUSH == 'true') }}
shell: bash -el {0}
env:
PANDAS_STAGING_UPLOAD_TOKEN: ${{ secrets.PANDAS_STAGING_UPLOAD_TOKEN }}
PANDAS_NIGHTLY_UPLOAD_TOKEN: ${{ secrets.PANDAS_NIGHTLY_UPLOAD_TOKEN }}
# trigger an upload to
# https://anaconda.org/scientific-python-nightly-wheels/pandas
# for cron jobs or "Run workflow" (restricted to main branch).
# Tags will upload to
# https://anaconda.org/multibuild-wheels-staging/pandas
# The tokens were originally generated at anaconda.org
run: |
source ci/upload_wheels.sh
set_upload_vars
upload_wheels
if: ${{ success() && env.IS_SCHEDULE_DISPATCH == 'true' }}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The removal of || IS_PUSH here just means that we no longer will push a tagged commit to the nightly channel? (which I suppose is fine, although strictly speaking then there is a brief moment that the nightly channel is behind on PyPI 🤷 )

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The removal of || IS_PUSH here just means that we no longer will push a tagged commit to the nightly channel?

I suppose so, yes. IMO the day lag between indexes should hopefully be OK. Not sure if other projects have a policy of also publishing their stable releases on the nightly index.

uses: scientific-python/upload-nightly-action@0.6.2
with:
artifacts_path: dist
anaconda_nightly_upload_token: ${{secrets.PANDAS_NIGHTLY_UPLOAD_TOKEN}}

publish:
if: >
Expand Down
42 changes: 0 additions & 42 deletions ci/upload_wheels.sh

This file was deleted.

8 changes: 0 additions & 8 deletions doc/source/development/maintaining.rst
Original file line number Diff line number Diff line change
Expand Up @@ -433,14 +433,6 @@ which will be triggered when the tag is pushed.
3. Download the source distribution and wheels from the `wheel staging area <https://anaconda.org/scientific-python-nightly-wheels/pandas>`_.
Be careful to make sure that no wheels are missing (e.g. due to failed builds).

Running scripts/download_wheels.sh with the version that you want to download wheels/the sdist for should do the trick.
This script will make a ``dist`` folder inside your clone of pandas and put the downloaded wheels and sdist there::

scripts/download_wheels.sh <VERSION>

ATTENTION: this is currently not downloading *all* wheels, and you have to
manually download the remainings wheels and sdist!

4. Create a `new GitHub release <https://github.com/pandas-dev/pandas/releases/new>`_:

- Tag: ``<version>``
Expand Down
30 changes: 0 additions & 30 deletions scripts/download_wheels.sh

This file was deleted.

Loading