Skip to content

Commit e6e4e0d

Browse files
authored
Try 3.10 and 3.11 (#137)
* Try 3.10 and 3.11 * Bump numpy * unpin opencv * CHANGELOG
1 parent b939083 commit e6e4e0d

File tree

4 files changed

+10
-5
lines changed

4 files changed

+10
-5
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
fail-fast: false
3838
matrix:
3939
os: [ubuntu-latest, macos-latest]
40-
python-version: ["3.7", "3.8", "3.9"]
40+
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
4141

4242
steps:
4343
- uses: actions/checkout@v3

CHANGELOG.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# [Unreleased](https://github.com/Saransh-cpp/OCRed)
22

3-
# [v0.3.1](https://github.com/Saransh-cpp/OCRed/tree/v0.3.1)
3+
# [v0.4.0](https://github.com/Saransh-cpp/OCRed/tree/v0.4.0)
4+
5+
## Features
6+
7+
- Add support for Python `3.10` and `3.11` ([#137](https://github.com/Saransh-cpp/OCRed/pull/137))
48

59
## Bug fixes
610

@@ -18,6 +22,7 @@
1822

1923
## Maintenance
2024

25+
- Revamp pre-commit configuration (https://github.com/Saransh-cpp/OCRed/commit/b9390834f5950b36fe873eaccf76f666c6bcbf4f)
2126
- Update pre-commit configuration ([#75](https://github.com/Saransh-cpp/OCRed/pull/75))
2227
- Back to the `__future__` ([#74](https://github.com/Saransh-cpp/OCRed/pull/74))
2328

noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import nox
44

5-
ALL_PYTHONS = ["3.7", "3.8", "3.9"]
5+
ALL_PYTHONS = ["3.7", "3.8", "3.9", "3.10", "3.11"]
66

77
nox.options.sessions = ["lint", "tests", "doctests"]
88

pyproject.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ dynamic = [
4040
]
4141
dependencies = [
4242
"easyocr>=1.4.1",
43-
"numpy>=1.19.4",
44-
"opencv-python==4.5.3.56",
43+
"numpy>=1.19.3",
44+
"opencv-python>=4.5.3.56",
4545
"packaging",
4646
"pillow<10.0.0",
4747
"pytesseract>=0.3.8",

0 commit comments

Comments
 (0)