diff --git a/pyproject.toml b/pyproject.toml index 21b1b99..c67e622 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,16 +20,16 @@ packages = [{ include = "pagexml" }] [tool.poetry.dependencies] python = ">=3.8 <4.0" fuzzy-search = "^2.0.0a" -matplotlib = "^3.7.0" -numpy = "^1.22.3" +matplotlib = ">=3.7.0" +numpy = ">=1.22.3" pandas = ">=1.5.3 <3.0.0" py7zr = "^0.20.2" python-dateutil = "^2.8.2" -scipy = "^1.7.0" +pyyaml = "^6.0" +scipy = ">=1.7.0" seaborn = "^0.13.0" tqdm = "^4.64.1" xmltodict = "^0.13.0" -pyyaml = "^6.0" [tool.poetry.dev-dependencies] diff --git a/tests/physical_document_model_test.py b/tests/physical_document_model_test.py index 77fb646..3d38d7e 100644 --- a/tests/physical_document_model_test.py +++ b/tests/physical_document_model_test.py @@ -51,7 +51,7 @@ def test_list_of_line_point_coords_to_hull_of_coords(self): self.assertIn(point, hull_coords.points) def test_valid_points_from_str(self): - coords = Coords('1216,1119 1205,1109 1202,1109 1198,1112 1195,1112 1191,1116 1164,1116 1160,1119 1147,1119' + coords = pdm.Coords('1216,1119 1205,1109 1202,1109 1198,1112 1195,1112 1191,1116 1164,1116 1160,1119 1147,1119' ' 1143,1123 1126,1123 1123,1126 1102,1126 1098,1130 1074,1130 1071,1133 1016,1133 1012,1136' ' 964,1136 961,1140 957,1140 954,1143 940,1143 937,1147 930,1147 926,1150 916,1150 912,1154' ' 899,1154 895,1157 888,1157 885,1160 882,1160 878,1164 875,1164 857,1181 847,1181 840,1188'