Skip to content

Commit

Permalink
TLDR-735 update dependencies (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
NastyBoget authored Jul 22, 2024
1 parent f5d7401 commit b38d903
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test_on_push.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install dependencies
run: |
python3 -m pip install --upgrade pip
pip3 install .[dev,torch]
pip3 install .[dev,torch,doctr]
- name: Run lint
run: |
pip3 install .[lint]
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changelog
=========

v0.3.7 (2024-07-22)
-------------------
* Move `doctr` dependencies to a separate group
* Upgrade `numpy` version

v0.3.6 (2023-12-26)
-------------------
* Fix image orientation correction in `SkewCorrector`
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.6
0.3.7
13 changes: 8 additions & 5 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,24 @@ license = {file = "LICENSE"}
dynamic = ["version"]
requires-python = ">=3.6"
dependencies = [
"numpy>=1.22.0,<=1.26.0",
"numpy>=1.22.0,<2.0",
"opencv-python>=4.5.5.64,<=4.6.0.66",
"pyclipper==1.3.0.post4", # for doctr
"pytesseract>=0.3",
"scikit_learn>=1.0.2,<=1.3.1",
"shapely==2.0.1", # for doctr
"tqdm>=4", # for doctr
"scikit_learn>=1.0.2,<=1.3.1"
]

[project.optional-dependencies]
torch = [
"torch~=1.11.0",
"torchvision~=0.12.0"
]
doctr = [
"pyclipper==1.3.0.post4",
"shapely==2.0.1",
"tqdm>=4"
]
dev = [
"importlib_metadata==7.2.1",
"build==0.10.0",
"twine==4.0.2"
]
Expand Down

0 comments on commit b38d903

Please sign in to comment.