From ac2638780357cd02fef53ad97c9f2a6b948ccbc8 Mon Sep 17 00:00:00 2001 From: Mark Cottman-Fields Date: Sun, 17 Nov 2024 22:14:04 +1000 Subject: [PATCH] ci fixes --- .github/workflows/docs.yml | 2 +- .github/workflows/test-package.yml | 2 +- requirements.in | 2 +- requirements.txt | 5 ++--- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index ba2d816..dc5d758 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -36,7 +36,7 @@ jobs: - name: Install dependencies run: > pip install -U - -e . + . -r requirements.txt pdoc diff --git a/.github/workflows/test-package.yml b/.github/workflows/test-package.yml index aaaf8ba..32416a3 100644 --- a/.github/workflows/test-package.yml +++ b/.github/workflows/test-package.yml @@ -136,7 +136,7 @@ jobs: - name: Set up Python 3.10 uses: actions/setup-python@v5 with: - python-version: 3.10 + python-version: '3.10' cache: pip allow-prereleases: true diff --git a/requirements.in b/requirements.in index 495aa83..b89a8f6 100644 --- a/requirements.in +++ b/requirements.in @@ -1,5 +1,5 @@ # ocr -keras-ocr @ git+https://github.com/faustomorales/keras-ocr.git@e8d34a46f07d50158e1d86d6c617e99bfe99e2f8 +keras-ocr @ https://github.com/faustomorales/keras-ocr/archive/e8d34a46f07d50158e1d86d6c617e99bfe99e2f8.zip tensorflow==2.9.0 numpy==1.23.0 matplotlib==3.6.0 diff --git a/requirements.txt b/requirements.txt index bc0cb4a..0929d63 100644 --- a/requirements.txt +++ b/requirements.txt @@ -477,9 +477,8 @@ keras-applications==1.0.8 \ --hash=sha256:5579f9a12bcde9748f4a12233925a59b93b73ae6947409ff34aa2ba258189fe5 \ --hash=sha256:df4323692b8c1174af821bf906f1e442e63fa7589bf0f1230a0b6bdc5a810c95 # via efficientnet -# WARNING: pip install will require the following package to be hashed. -# Consider using a hashable URL like https://github.com/jazzband/pip-tools/archive/SOMECOMMIT.zip -keras-ocr @ git+https://github.com/faustomorales/keras-ocr.git@e8d34a46f07d50158e1d86d6c617e99bfe99e2f8 +keras-ocr @ https://github.com/faustomorales/keras-ocr/archive/e8d34a46f07d50158e1d86d6c617e99bfe99e2f8.zip \ + --hash=sha256:0604b59b9f784ed74a43f9e472bf90a4f12c2a3897be89e61d6083e69dbf3488 # via leaf-focus (pyproject.toml) keras-preprocessing==1.1.2 \ --hash=sha256:7b82029b130ff61cc99b55f3bd27427df4838576838c5b2f65940e4fcec99a7b \