From 7dfd173b33b280722c741e8daca03cf7fac3fde9 Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Thu, 31 Mar 2022 23:25:26 -0500 Subject: [PATCH 1/2] MNT: Skip existing wheels during nightly wheel upload Add the '--skip-existing' option for anaconda upload to > Skip errors on package batch upload if it already exists This will keep the nightlies.yml workflow from erroring out if no new wheels were generated, or if a workflow is manually rerun. Co-authored-by: Elliott Sales de Andrade --- .github/workflows/nightlies.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/nightlies.yml b/.github/workflows/nightlies.yml index 438fe26cb1ce..2ae1e39026db 100644 --- a/.github/workflows/nightlies.yml +++ b/.github/workflows/nightlies.yml @@ -61,4 +61,5 @@ jobs: run: | anaconda --token ${{ secrets.ANACONDA_ORG_UPLOAD_TOKEN }} upload \ --user scipy-wheels-nightly \ + --skip-existing \ dist/matplotlib-*.whl From 4599e81a16484769f053cb708bc2bf530fb64ddb Mon Sep 17 00:00:00 2001 From: Matthew Feickert Date: Thu, 31 Mar 2022 23:44:27 -0500 Subject: [PATCH 2/2] MNT: Pin anaconda-client to latest known working commit As anaconda-client does not have any stable releases on PyPI that support the API desired for uploads, pin it to the last commit on https://github.com/Anaconda-Platform/anaconda-client known to install and work (which is the merge commit of Anaconda-Platform/anaconda-client PR 589). This is done for API stability. --- .github/workflows/nightlies.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nightlies.yml b/.github/workflows/nightlies.yml index 2ae1e39026db..7e661ddf0070 100644 --- a/.github/workflows/nightlies.yml +++ b/.github/workflows/nightlies.yml @@ -54,7 +54,7 @@ jobs: run: | python -m pip install --upgrade pip setuptools wheel # c.f. https://github.com/Anaconda-Platform/anaconda-client/issues/540 - python -m pip install git+https://github.com/Anaconda-Server/anaconda-client + python -m pip install git+https://github.com/Anaconda-Server/anaconda-client@be1e14936a8e947da94d026c990715f0596d7043 python -m pip list - name: Upload wheels to Anaconda Cloud as nightlies pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy