From f9891ee5585fb4e9c314cd25e5179c1f559f462c Mon Sep 17 00:00:00 2001 From: Brett Langdon Date: Mon, 15 Feb 2021 14:32:17 -0500 Subject: [PATCH] disable poetry new installer (#6) https://github.com/python-poetry/poetry/issues/3010 --- .github/workflows/build.yml | 2 ++ .github/workflows/test.yml | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1761a57..bab9bb8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,6 +37,8 @@ jobs: with: python-version: 3.9 - run: pip install "poetry~=1.1.4" + - run: poetry config experimental.new-installer false + name: Disable new installer - run: poetry check - run: poetry install - run: poetry build --format sdist diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f87ab94..aebb6d4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -23,6 +23,8 @@ jobs: with: python-version: "3.9" - run: pip install "poetry~=1.1.4" + - run: poetry config experimental.new-installer false + name: Disable new installer - run: poetry install - run: poetry run mypy --py2 sysaudit/ tests/ name: Mypy Check Python2 @@ -39,6 +41,8 @@ jobs: with: python-version: ${{ matrix.python-version }} - run: pip install "poetry~=1.1.4" + - run: poetry config experimental.new-installer false + name: Disable new installer - run: poetry check - run: poetry install - run: poetry run pytest tests/ @@ -51,6 +55,8 @@ jobs: with: python-version: "3.9" - run: pip install "poetry~=1.1.4" + - run: poetry config experimental.new-installer false + name: Disable new installer - run: poetry install - run: poetry run sphinx-build -a -W -n -E docs/ docs/_build - uses: actions/upload-artifact@v2