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 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: 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