From 17dc7c1177424fbd838c54a1f646c91e7f6581c7 Mon Sep 17 00:00:00 2001 From: rtosholdings-bot Date: Thu, 5 Oct 2023 11:21:28 -0400 Subject: [PATCH] fix anaconda-client break --- .github/workflows/python_package.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/python_package.yml b/.github/workflows/python_package.yml index 5a0fc58..b828fac 100644 --- a/.github/workflows/python_package.yml +++ b/.github/workflows/python_package.yml @@ -209,6 +209,8 @@ jobs: needs: [pypi_build, conda_build] runs-on: ubuntu-latest env: + # pin to py3.11, as anaconda-client broken on py3.12 (see https://github.com/Anaconda-Platform/anaconda-client/issues/689) + python_version: 3.11 ANACONDA_USER: rtosholdings ANACONDA_TOKEN: ${{ secrets.anaconda_token }} steps: @@ -218,6 +220,7 @@ jobs: uses: conda-incubator/setup-miniconda@v2 with: activate-environment: "conda_deploy" + python-version: ${{ env.python_version }} miniforge-version: latest use-mamba: true auto-update-conda: false