mirth-client 4.1.0__tar.gz → 4.2.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,8 @@
1
- Metadata-Version: 2.3
1
+ Metadata-Version: 2.4
2
2
  Name: mirth-client
3
- Version: 4.1.0
3
+ Version: 4.2.0
4
4
  Summary: Basic Python interface for Mirth Connect
5
+ License-File: LICENSE
5
6
  Author: Joel Collins
6
7
  Author-email: joel.collins@renalregistry.nhs.uk
7
8
  Requires-Python: >=3.9,<4.0
@@ -11,14 +12,15 @@ Classifier: Programming Language :: Python :: 3.10
11
12
  Classifier: Programming Language :: Python :: 3.11
12
13
  Classifier: Programming Language :: Python :: 3.12
13
14
  Classifier: Programming Language :: Python :: 3.13
15
+ Classifier: Programming Language :: Python :: 3.14
14
16
  Provides-Extra: docs
15
- Requires-Dist: Sphinx (>=3.5.3,<6.0.0) ; extra == "docs"
16
- Requires-Dist: httpx (>=0.23,<0.28.1)
17
+ Requires-Dist: Sphinx (>=3.5.3,<8.0.0) ; extra == "docs"
18
+ Requires-Dist: httpx (>=0.23,<0.28.2)
17
19
  Requires-Dist: pydantic (>=1.8.2,<3.0.0)
18
20
  Requires-Dist: semver (>=2.13,<4.0)
19
21
  Requires-Dist: sphinx-rtd-theme (>=0.5.1,<2.1.0) ; extra == "docs"
20
22
  Requires-Dist: typing-extensions (>=3.10,<5.0)
21
- Requires-Dist: xmltodict (>=0.12,<0.14)
23
+ Requires-Dist: xmltodict (>=0.12,<1.1)
22
24
  Description-Content-Type: text/markdown
23
25
 
24
26
  # python-mirth-client
@@ -3,7 +3,6 @@ Pydantic models for parsing Mirth XML responses
3
3
  and converting returned data into Python objects
4
4
  """
5
5
 
6
- import xml
7
6
  from collections import OrderedDict
8
7
  from datetime import datetime
9
8
  from typing import (
@@ -24,6 +23,7 @@ import xmltodict
24
23
  import typing
25
24
  import pydantic
26
25
  from packaging import version
26
+ from xml.parsers.expat import ExpatError
27
27
 
28
28
  if typing.TYPE_CHECKING or version.parse(pydantic.__version__) >= version.parse("2.0"):
29
29
  from pydantic.v1 import (
@@ -226,7 +226,7 @@ class XMLBaseModel(MirthBaseModel):
226
226
  ValueError,
227
227
  TypeError,
228
228
  UnicodeDecodeError,
229
- xml.parsers.expat.ExpatError, # pylint: disable=no-member
229
+ ExpatError, # pylint: disable=no-member
230
230
  ) as e:
231
231
  raise ValidationError([ErrorWrapper(e, loc="__obj__")], cls) from e
232
232
  return super().parse_raw( # type: ignore
@@ -6,31 +6,31 @@ packages = [
6
6
  {include = "mirth_client"},
7
7
  ]
8
8
  readme = "README.md"
9
- version = "4.1.0"
9
+ version = "4.2.0"
10
10
 
11
11
  [tool.poetry.dependencies]
12
- Sphinx = {version = ">=3.5.3,<6.0.0", optional = true}
13
- httpx = ">=0.23,<0.28.1"
12
+ Sphinx = {version = ">=3.5.3,<8.0.0", optional = true}
13
+ httpx = ">=0.23,<0.28.2"
14
14
  pydantic = ">=1.8.2,<3.0.0"
15
15
  python = "^3.9"
16
16
  semver = ">=2.13,<4.0"
17
17
  sphinx-rtd-theme = {version = ">=0.5.1,<2.1.0", optional = true}
18
18
  typing-extensions = ">=3.10,<5.0"
19
- xmltodict = ">=0.12,<0.14"
19
+ xmltodict = ">=0.12,<1.1"
20
20
 
21
21
  [tool.poetry.extras]
22
22
  docs = ["Sphinx", "sphinx-rtd-theme"]
23
23
 
24
24
  [tool.poetry.group.dev.dependencies]
25
25
  bandit = "^1.7.0"
26
- importlib-metadata = "<7" # Workaround for https://github.com/PyCQA/bandit/issues/951
27
- isort = "^5.7.0"
28
- lxml = "^5.2.2"
26
+ importlib-metadata = "<9" # Workaround for https://github.com/PyCQA/bandit/issues/951
27
+ isort = ">=5.7,<7.0"
28
+ lxml = ">=5.2.2,<7.0.0"
29
29
  mypy = "^1.1"
30
- pytest = "^7.0.0"
31
- pytest-cov = "^4.0.0"
32
- tox = "^3.23.0"
33
- ruff = "^0.12.0"
30
+ pytest = ">=7,<9"
31
+ pytest-cov = ">=4,<8"
32
+ tox = ">=3.23,<5.0"
33
+ ruff = ">=0.12,<0.16"
34
34
 
35
35
  [build-system]
36
36
  build-backend = "poetry.core.masonry.api"
File without changes
File without changes