From a618e0b28e7dd38fc0ea6333ac3847b2d1a23ae7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 3 Jun 2024 20:15:11 -0500 Subject: [PATCH 1/5] =?UTF-8?q?=F0=9F=91=B7=20Trigger=20CI=20without=20cac?= =?UTF-8?q?he=20to=20debug=20Python=203.8=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 70e64094a4..dbfbc2a328 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -51,7 +51,7 @@ jobs: id: cache with: path: ${{ env.pythonLocation }} - key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml', 'requirements-tests.txt') }} + key: ${{ runner.os }}-python-${{ env.pythonLocation }}-${{ hashFiles('pyproject.toml', 'requirements-tests.txt') }}-v01 - name: Install Dependencies if: steps.cache.outputs.cache-hit != 'true' run: pip install -r requirements-tests.txt From 6a4c0043513e451fadfaed48b8183ccacc7e957a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 3 Jun 2024 20:18:21 -0500 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=93=8C=20Pin=20typing-extensions=20fo?= =?UTF-8?q?r=20now?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements-tests.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/requirements-tests.txt b/requirements-tests.txt index 648f99b1c9..d758317d37 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -10,3 +10,6 @@ httpx ==0.24.1 # TODO: upgrade when deprecating Python 3.7 dirty-equals ==0.6.0 jinja2 ==3.1.3 +# Pin typing-extensions until Python 3.8 is deprecated or the issue with dirty-equals +# is fixed, maybe fixed after dropping Python 3.7 and upgrading dirty-equals +typing-extensions ==4.11.0 From 83965b22fac7a11792eefc6c69e18975c38d0722 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 3 Jun 2024 20:24:23 -0500 Subject: [PATCH 3/5] =?UTF-8?q?=F0=9F=93=8C=20Pin=20typing-extensions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- requirements-tests.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-tests.txt b/requirements-tests.txt index d758317d37..75db186f31 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -12,4 +12,4 @@ dirty-equals ==0.6.0 jinja2 ==3.1.3 # Pin typing-extensions until Python 3.8 is deprecated or the issue with dirty-equals # is fixed, maybe fixed after dropping Python 3.7 and upgrading dirty-equals -typing-extensions ==4.11.0 +typing-extensions ==4.7.0 From 5f8fd6feae62a1b85bf695760aeaaafb9172a1ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 3 Jun 2024 20:28:41 -0500 Subject: [PATCH 4/5] =?UTF-8?q?=F0=9F=93=8C=20Pin=20typing-extensions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index dbfbc2a328..a28882e885 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -60,7 +60,7 @@ jobs: run: pip install --upgrade "pydantic>=1.10.0,<2.0.0" - name: Install Pydantic v2 if: matrix.pydantic-version == 'pydantic-v2' - run: pip install --upgrade "pydantic>=2.0.2,<3.0.0" + run: pip install --upgrade "pydantic>=2.0.2,<3.0.0" "typing-extensions==4.7.0" - name: Lint # Do not run on Python 3.7 as mypy behaves differently if: matrix.python-version != '3.7' && matrix.pydantic-version == 'pydantic-v2' From a8b20ce302e354305b06ce2259ec0acb8e49f360 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebasti=C3=A1n=20Ram=C3=ADrez?= Date: Mon, 3 Jun 2024 20:29:53 -0500 Subject: [PATCH 5/5] =?UTF-8?q?=F0=9F=93=8C=20Pin=20typing-extensions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 2 +- requirements-tests.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a28882e885..a1c9b36e1c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -60,7 +60,7 @@ jobs: run: pip install --upgrade "pydantic>=1.10.0,<2.0.0" - name: Install Pydantic v2 if: matrix.pydantic-version == 'pydantic-v2' - run: pip install --upgrade "pydantic>=2.0.2,<3.0.0" "typing-extensions==4.7.0" + run: pip install --upgrade "pydantic>=2.0.2,<3.0.0" "typing-extensions==4.6.1" - name: Lint # Do not run on Python 3.7 as mypy behaves differently if: matrix.python-version != '3.7' && matrix.pydantic-version == 'pydantic-v2' diff --git a/requirements-tests.txt b/requirements-tests.txt index 75db186f31..3c2578e9c5 100644 --- a/requirements-tests.txt +++ b/requirements-tests.txt @@ -12,4 +12,4 @@ dirty-equals ==0.6.0 jinja2 ==3.1.3 # Pin typing-extensions until Python 3.8 is deprecated or the issue with dirty-equals # is fixed, maybe fixed after dropping Python 3.7 and upgrading dirty-equals -typing-extensions ==4.7.0 +typing-extensions ==4.6.1