From bb8439540adc9ee0b69cd5becacb4eb5c7807af1 Mon Sep 17 00:00:00 2001 From: Mike Bennett Date: Fri, 11 Nov 2022 17:31:56 +0000 Subject: [PATCH 1/3] Bump minimum required Pydantic to 1.9.2 to make sure we avoid the accidental breaking change in 1.9.1 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 2b3c4a3..954b556 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ VERSION = "local_test_version" REQUIREMENTS = [ - "pydantic >= 1.9.0, <2.0.0", + "pydantic >= 1.9.2, <2.0.0", "requests >=2.28.0, <3.0.0", "Pillow >=9.1.1, <10.0.0" ] From 0a21fb031c11ec41ad555227e33fe109eb32eec5 Mon Sep 17 00:00:00 2001 From: Mike Bennett Date: Fri, 11 Nov 2022 17:32:11 +0000 Subject: [PATCH 2/3] Remove redundant requirements.dev.txt --- requirements.dev.txt | 7 ------- 1 file changed, 7 deletions(-) delete mode 100644 requirements.dev.txt diff --git a/requirements.dev.txt b/requirements.dev.txt deleted file mode 100644 index 4002b1b..0000000 --- a/requirements.dev.txt +++ /dev/null @@ -1,7 +0,0 @@ -autopep8>=1.6.0,<2.0.0 -isort>=5.10.1,<6.0.0 -flake8>=4.0.1,<5.0.0 -flake8-docstrings>=1.6.0,<2.0.0 -flake8-isort>=4.1.1,<5.0.0 -tox>=3.25.0,<4.0.0 -Pillow>=9.1.1 \ No newline at end of file From 3f05639cb326c0b28775d643db6f8d440d76df0a Mon Sep 17 00:00:00 2001 From: Mike Bennett Date: Fri, 11 Nov 2022 17:32:33 +0000 Subject: [PATCH 3/3] Update workflows to not use removed requirements.dev.txt in the cache key --- .github/workflows/ci.yml | 2 +- .github/workflows/docs.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6bc0d31..c9d4f3d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,7 +24,7 @@ jobs: - uses: actions/cache@v2 with: path: ${{ env.pythonLocation }} - key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.dev.txt') }} + key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }} - name: Install dependencies run: | diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 4d3e694..700f3fa 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -17,7 +17,7 @@ jobs: - uses: actions/cache@v2 with: path: ~/.cache/pip-docs - key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }}-${{ hashFiles('requirements.dev.txt') }} + key: ${{ env.pythonLocation }}-${{ hashFiles('setup.py') }} - name: Install dependencies run: |