From 8853e82ec60f60d26eec7bcf4341d58eb25f7eaf Mon Sep 17 00:00:00 2001 From: Tsung-Ju Lii Date: Mon, 29 Jul 2024 17:07:02 +0800 Subject: [PATCH] try --- .github/workflows/cd.yml | 2 -- .github/workflows/ci.yml | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/cd.yml b/.github/workflows/cd.yml index 7ddeb6ca..dfc528f5 100644 --- a/.github/workflows/cd.yml +++ b/.github/workflows/cd.yml @@ -75,8 +75,6 @@ jobs: - name: Test run: | - pip install -I --force-reinstall setuptools==71.0.0 - pip install pyhive==0.7.0 poetry install -E all poetry run coverage run --source=metaphor -m pytest poetry run coverage xml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5e167aa..87b46601 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,8 +43,8 @@ jobs: - name: Lint & Type Check run: | - pip install -I --force-reinstall setuptools==71.0.0 - pip install pyhive==0.7.0 + echo "setuptools<72" > constraints.txt + PIP_CONSTRAINT=constraints.txt poetry run pip install pyhive==0.7.0 poetry install -E all poetry run flake8 poetry run black --check .