Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLDR-735 update dependencies #17

Merged
merged 1 commit into from
Jul 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading