From 3c8b2ce16b9194aa2c81913a6b399a1c7c453422 Mon Sep 17 00:00:00 2001 From: Fokko Driesprong Date: Mon, 21 Aug 2023 13:40:58 +0200 Subject: [PATCH] Python: Pin poetry to 1.5.1 --- .github/workflows/python-ci.yml | 5 +++-- python/Makefile | 7 +++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index fab8f08a718c..e31d0f90d364 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -44,7 +44,8 @@ jobs: steps: - uses: actions/checkout@v3 - name: Install poetry - run: pip install poetry + working-directory: ./python + run: make install-poetry - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python }} @@ -53,7 +54,7 @@ jobs: ./python/poetry.lock - name: Install working-directory: ./python - run: make install + run: make install-dependencies - name: Linters working-directory: ./python run: make lint diff --git a/python/Makefile b/python/Makefile index df5f7005d9c2..db33d09b0438 100644 --- a/python/Makefile +++ b/python/Makefile @@ -15,10 +15,13 @@ # specific language governing permissions and limitations # under the License. -install: - pip install poetry +install-poetry: + pip install poetry==1.5.1 + +install-dependencies: poetry install -E pyarrow -E hive -E s3fs -E glue -E adlfs -E duckdb -E ray -E sql-postgres -E gcsfs +install: | install-poetry install-dependencies check-license: ./dev/check-license