File tree Expand file tree Collapse file tree 5 files changed +17
-8
lines changed Expand file tree Collapse file tree 5 files changed +17
-8
lines changed Original file line number Diff line number Diff line change 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.
Original file line number Diff line number Diff line change 1- 2.4 .0
1+ 2.5 .0
Original file line number Diff line number Diff line change @@ -24,5 +24,5 @@ pytz==2022.1
2424 # via mindee (setup.py)
2525requests == 2.28.1
2626 # via mindee (setup.py)
27- urllib3 == 1.26.10
27+ urllib3 == 1.26.11
2828 # via requests
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ include_package_data = True
3131python_requires = >=3.7
3232install_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 =
4343dev =
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
Original file line number Diff line number Diff line change 11"""Test to check if style packages are in same versions as pre-commit config."""
22
33import configparser
4+ import re
45from 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 = {}
You can’t perform that action at this time.
0 commit comments