diff --git a/pyproject.toml b/pyproject.toml index 0c4905f..c6f91f7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "xmlable" -version = "2.0.1" +version = "2.0.2" authors = [ { name = "Oliver Killane", email = "oliverkillane.business@gmail.com" }, ] @@ -19,8 +19,8 @@ classifiers = [ "Operating System :: OS Independent", ] dependencies = [ - "lxml==4.9.3", - "lxml-stubs==0.4.0", + "lxml==5.2.1", + "lxml-stubs==0.5.1", "termcolor==2.4.0", "pyhumps==3.8.0", ] @@ -31,7 +31,7 @@ dependencies = [ "Source" = "https://github.com/OliverKillane/xmlable" [project.optional-dependencies] -dev = ["black==23.11.0", "mypy==1.7.1", "pytest==7.4.3"] +dev = ["black==24.4.0", "mypy==1.9.0", "pytest==8.1.1"] [tool.pytest.ini_options] minversion = "6.0" diff --git a/src/xmlable/_errors.py b/src/xmlable/_errors.py index 9ff78d4..677228f 100644 --- a/src/xmlable/_errors.py +++ b/src/xmlable/_errors.py @@ -3,6 +3,7 @@ - Clear messages - Trace for parsing """ + from dataclasses import dataclass from typing import Any, Iterable from termcolor import colored diff --git a/src/xmlable/_xmlify.py b/src/xmlable/_xmlify.py index 881f4a7..88c6ef3 100644 --- a/src/xmlable/_xmlify.py +++ b/src/xmlable/_xmlify.py @@ -8,6 +8,7 @@ a filled xml - Create a parser for parsing the xml """ + from humps import pascalize from dataclasses import fields, is_dataclass from typing import Any, dataclass_transform diff --git a/src/xmlable/_xobject.py b/src/xmlable/_xobject.py index f25553b..8d46e90 100644 --- a/src/xmlable/_xobject.py +++ b/src/xmlable/_xobject.py @@ -3,6 +3,7 @@ - Produced by @xmlify decorated classes, and by gen_xobject - Associated xsd, xml and parsing """ + from humps import pascalize from dataclasses import dataclass from types import NoneType, UnionType