Skip to content

Commit 1119ba8

Browse files
authored
version 2.5.0 (#95)
* ⬆️ loosen and update requirement * version 2.5.0
1 parent 96ba747 commit 1119ba8

File tree

5 files changed

+17
-8
lines changed

5 files changed

+17
-8
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Mindee Python API Library Changelog
22

3+
## v2.5.0 (2022-08-11)
4+
### Changes
5+
* :lipstick: improve string output of documents
6+
* :arrow_up: general dependencies upgrade (#92)
7+
* :sparkles: add functions for working with centroids (#93)
8+
* :sparkles: Add bank checks documents (beta, US only) (#94)
9+
310
## v2.4.0 (2022-06-20)
411
### Fixes
512
* :bug: :memo: custom docs names refer to the API, not the type.

mindee/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.0
1+
2.5.0

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ pytz==2022.1
2424
# via mindee (setup.py)
2525
requests==2.28.1
2626
# via mindee (setup.py)
27-
urllib3==1.26.10
27+
urllib3==1.26.11
2828
# via requests

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ include_package_data = True
3131
python_requires = >=3.7
3232
install_requires =
3333
pikepdf==5.1.2
34-
pytz~=2022.1
34+
pytz>=2022.1
3535
requests~=2.28
3636

3737
[options.package_data]
@@ -43,7 +43,7 @@ mindee =
4343
dev =
4444
black==22.3.0
4545
mypy==0.960
46-
pip-tools==6.5.1
46+
pip-tools~=6.8.0
4747
pylint==2.12.2
4848
setuptools==49.6.0
4949
isort==5.10.1

tests/test_pkg_versions.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"""Test to check if style packages are in same versions as pre-commit config."""
22

33
import configparser
4+
import re
45
from pathlib import Path
56

67

@@ -12,10 +13,11 @@ def test_style_pkg_versions():
1213
"""Check black, flake8, isort and pydocstyle versions consistency."""
1314
config = configparser.ConfigParser()
1415
config.read(Path(__file__).parent.parent.joinpath("setup.cfg"))
15-
requirements_versions = {
16-
line.strip().split("==")[0]: line.strip().split("==")[1]
17-
for line in config["options.extras_require"]["dev"].split()
18-
}
16+
line_sep = re.compile(r"(==|~=)")
17+
requirements_versions = {}
18+
for line in config["options.extras_require"]["dev"].split():
19+
split_line = line_sep.split(line.strip())
20+
requirements_versions[split_line[0]] = split_line[2]
1921

2022
# Get pre-commit versions
2123
pre_commit_versions = {}

0 commit comments

Comments
 (0)