Skip to content

Commit b38d903

Browse files
authored
TLDR-735 update dependencies (#17)
1 parent f5d7401 commit b38d903

File tree

4 files changed

+15
-7
lines changed

4 files changed

+15
-7
lines changed

.github/workflows/test_on_push.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Install dependencies
2323
run: |
2424
python3 -m pip install --upgrade pip
25-
pip3 install .[dev,torch]
25+
pip3 install .[dev,torch,doctr]
2626
- name: Run lint
2727
run: |
2828
pip3 install .[lint]

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
Changelog
22
=========
33

4+
v0.3.7 (2024-07-22)
5+
-------------------
6+
* Move `doctr` dependencies to a separate group
7+
* Upgrade `numpy` version
8+
49
v0.3.6 (2023-12-26)
510
-------------------
611
* Fix image orientation correction in `SkewCorrector`

VERSION

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.3.6
1+
0.3.7

pyproject.toml

+8-5
Original file line numberDiff line numberDiff line change
@@ -27,21 +27,24 @@ license = {file = "LICENSE"}
2727
dynamic = ["version"]
2828
requires-python = ">=3.6"
2929
dependencies = [
30-
"numpy>=1.22.0,<=1.26.0",
30+
"numpy>=1.22.0,<2.0",
3131
"opencv-python>=4.5.5.64,<=4.6.0.66",
32-
"pyclipper==1.3.0.post4", # for doctr
3332
"pytesseract>=0.3",
34-
"scikit_learn>=1.0.2,<=1.3.1",
35-
"shapely==2.0.1", # for doctr
36-
"tqdm>=4", # for doctr
33+
"scikit_learn>=1.0.2,<=1.3.1"
3734
]
3835

3936
[project.optional-dependencies]
4037
torch = [
4138
"torch~=1.11.0",
4239
"torchvision~=0.12.0"
4340
]
41+
doctr = [
42+
"pyclipper==1.3.0.post4",
43+
"shapely==2.0.1",
44+
"tqdm>=4"
45+
]
4446
dev = [
47+
"importlib_metadata==7.2.1",
4548
"build==0.10.0",
4649
"twine==4.0.2"
4750
]

0 commit comments

Comments
 (0)