Skip to content

Commit

Permalink
version 2.5.0 (#95)
Browse files Browse the repository at this point in the history
* ⬆️ loosen and update requirement

* version 2.5.0
  • Loading branch information
ianardee authored Aug 11, 2022
1 parent 96ba747 commit 1119ba8
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 8 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Mindee Python API Library Changelog

## v2.5.0 (2022-08-11)
### Changes
* :lipstick: improve string output of documents
* :arrow_up: general dependencies upgrade (#92)
* :sparkles: add functions for working with centroids (#93)
* :sparkles: Add bank checks documents (beta, US only) (#94)

## v2.4.0 (2022-06-20)
### Fixes
* :bug: :memo: custom docs names refer to the API, not the type.
Expand Down
2 changes: 1 addition & 1 deletion mindee/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.4.0
2.5.0
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,5 @@ pytz==2022.1
# via mindee (setup.py)
requests==2.28.1
# via mindee (setup.py)
urllib3==1.26.10
urllib3==1.26.11
# via requests
4 changes: 2 additions & 2 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ include_package_data = True
python_requires = >=3.7
install_requires =
pikepdf==5.1.2
pytz~=2022.1
pytz>=2022.1
requests~=2.28

[options.package_data]
Expand All @@ -43,7 +43,7 @@ mindee =
dev =
black==22.3.0
mypy==0.960
pip-tools==6.5.1
pip-tools~=6.8.0
pylint==2.12.2
setuptools==49.6.0
isort==5.10.1
Expand Down
10 changes: 6 additions & 4 deletions tests/test_pkg_versions.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""Test to check if style packages are in same versions as pre-commit config."""

import configparser
import re
from pathlib import Path


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

# Get pre-commit versions
pre_commit_versions = {}
Expand Down

0 comments on commit 1119ba8

Please sign in to comment.