diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index 97cda0caae..77d63b5854 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -50,17 +50,14 @@ jobs: pip-${{ runner.os }} # pre-commit needs all dev dependencies, since it also checks the test and example files - # TODO: remove 'poetry config installer.modern-installation false' once we use a pydata-sphinx-theme - # version where https://github.com/pydata/pydata-sphinx-theme/issues/1253 is resolved. - # The same needs to be removed in the README. - name: Install library, with all optional groups run: | git config --global url."https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys-internal/ansys-api-acp".insteadOf "https://github.com/ansys-internal/ansys-api-acp" git config --global url."https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys-internal/ansys-tools-filetransfer".insteadOf "https://github.com/ansys-internal/ansys-tools-filetransfer" git config --global url."https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys-internal/ansys-api-tools-filetransfer".insteadOf "https://github.com/ansys-internal/ansys-api-tools-filetransfer" git config --global url."https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys-internal/ansys-tools-local-product-launcher".insteadOf "https://github.com/ansys-internal/ansys-tools-local-product-launcher" - pip install poetry - poetry config installer.modern-installation false + pip install -U pip + pip install 'poetry!=1.7.0' poetry install --with dev,test - name: Install custom API branch if needed @@ -104,7 +101,8 @@ jobs: run: | git config --global url."https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys-internal/ansys-api-acp".insteadOf "https://github.com/ansys-internal/ansys-api-acp" git config --global url."https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys-internal/ansys-tools-local-product-launcher".insteadOf "https://github.com/ansys-internal/ansys-tools-local-product-launcher" - pip install poetry + pip install -U pip + pip install 'poetry!=1.7.0' poetry build - name: Validate packages @@ -149,7 +147,8 @@ jobs: git config --global url."https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys-internal/ansys-tools-filetransfer".insteadOf "https://github.com/ansys-internal/ansys-tools-filetransfer" git config --global url."https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys-internal/ansys-api-tools-filetransfer".insteadOf "https://github.com/ansys-internal/ansys-api-tools-filetransfer" git config --global url."https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys-internal/ansys-tools-local-product-launcher".insteadOf "https://github.com/ansys-internal/ansys-tools-local-product-launcher" - pip install poetry + pip install -U pip + pip install 'poetry!=1.7.0' poetry install --with test - name: Install custom API branch if needed @@ -230,7 +229,8 @@ jobs: git config --global url."https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys-internal/ansys-tools-filetransfer".insteadOf "https://github.com/ansys-internal/ansys-tools-filetransfer" git config --global url."https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys-internal/ansys-api-tools-filetransfer".insteadOf "https://github.com/ansys-internal/ansys-api-tools-filetransfer" git config --global url."https://${{ secrets.PYANSYS_CI_BOT_TOKEN }}@github.com/ansys-internal/ansys-tools-local-product-launcher".insteadOf "https://github.com/ansys-internal/ansys-tools-local-product-launcher" - pip install poetry + pip install -U pip + pip install 'poetry!=1.7.0' poetry install --with dev - name: Install custom API branch if needed