From 5804425a33f4e0f6473269fcd2cfa71f542c5fb5 Mon Sep 17 00:00:00 2001 From: Quentin Lhoest Date: Mon, 3 May 2021 16:48:38 +0200 Subject: [PATCH 1/3] set to python 3.8 to fix upload --- .github/workflows/release-conda.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release-conda.yml b/.github/workflows/release-conda.yml index 9c158d63392..7566de22e16 100644 --- a/.github/workflows/release-conda.yml +++ b/.github/workflows/release-conda.yml @@ -25,6 +25,7 @@ jobs: auto-update-conda: true auto-activate-base: false activate-environment: "build-datasets" + python-version: 3.8 channels: huggingface,conda-forge - name: Setup conda env From d488aa0cfdeaeeb852a42664bbf29e4027e1baf3 Mon Sep 17 00:00:00 2001 From: Quentin Lhoest Date: Mon, 3 May 2021 16:48:53 +0200 Subject: [PATCH 2/3] use --single-version-externally-managed tag to fix build --- .github/conda/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/conda/build.sh b/.github/conda/build.sh index a40f1097a86..a6609066d90 100644 --- a/.github/conda/build.sh +++ b/.github/conda/build.sh @@ -1 +1 @@ -$PYTHON setup.py install # Python command to install the script. +$PYTHON setup.py install --single-version-externally-managed --record=record.txt From e906218af182717520fbb8cd07818bacb15fc4fc Mon Sep 17 00:00:00 2001 From: Quentin Lhoest Date: Mon, 3 May 2021 16:49:05 +0200 Subject: [PATCH 3/3] fix huggingface_hub version --- .github/conda/meta.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/conda/meta.yaml b/.github/conda/meta.yaml index 02c99e06876..8eaf6b03bd7 100644 --- a/.github/conda/meta.yaml +++ b/.github/conda/meta.yaml @@ -25,7 +25,7 @@ requirements: - multiprocess - importlib_metadata - fsspec - - huggingface_hub + - huggingface_hub <0.1.0 - packaging run: - python @@ -41,7 +41,7 @@ requirements: - multiprocess - importlib_metadata - fsspec - - huggingface_hub + - huggingface_hub <0.1.0 - packaging test: