From d1aa60e963910ca87db6d5ab8a79b4b51d395cbb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Apr 2024 09:33:36 +0000 Subject: [PATCH 1/3] update deps(deps): bump the python-packages group with 5 updates Bumps the python-packages group with 5 updates: | Package | From | To | | --- | --- | --- | | [lxml](https://github.com/lxml/lxml) | `4.9.3` | `5.2.1` | | [lxml-stubs](https://github.com/lxml/lxml-stubs) | `0.4.0` | `0.5.1` | | [black](https://github.com/psf/black) | `23.11.0` | `24.4.0` | | [mypy](https://github.com/python/mypy) | `1.7.1` | `1.9.0` | | [pytest](https://github.com/pytest-dev/pytest) | `7.4.3` | `8.1.1` | Updates `lxml` from 4.9.3 to 5.2.1 - [Release notes](https://github.com/lxml/lxml/releases) - [Changelog](https://github.com/lxml/lxml/blob/master/CHANGES.txt) - [Commits](https://github.com/lxml/lxml/compare/lxml-4.9.3...lxml-5.2.1) Updates `lxml-stubs` from 0.4.0 to 0.5.1 - [Release notes](https://github.com/lxml/lxml-stubs/releases) - [Commits](https://github.com/lxml/lxml-stubs/compare/0.4.0...0.5.1) Updates `black` from 23.11.0 to 24.4.0 - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.11.0...24.4.0) Updates `mypy` from 1.7.1 to 1.9.0 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](https://github.com/python/mypy/compare/v1.7.1...1.9.0) Updates `pytest` from 7.4.3 to 8.1.1 - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/7.4.3...8.1.1) --- updated-dependencies: - dependency-name: lxml dependency-type: direct:production update-type: version-update:semver-major dependency-group: python-packages - dependency-name: lxml-stubs dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-packages - dependency-name: black dependency-type: direct:production update-type: version-update:semver-major dependency-group: python-packages - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-packages - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-major dependency-group: python-packages ... Signed-off-by: dependabot[bot] --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 0c4905f..0ae20e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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" From 8a27383ba3e9d55b4f3352744ab353fd21d831ad Mon Sep 17 00:00:00 2001 From: Oliver Killane Date: Wed, 17 Apr 2024 21:56:05 +0100 Subject: [PATCH 2/3] reran formatting --- src/xmlable/_errors.py | 1 + src/xmlable/_xmlify.py | 1 + src/xmlable/_xobject.py | 1 + 3 files changed, 3 insertions(+) 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 From 2323d77c57fc7166a749ae5cda65a2a9ea2ef338 Mon Sep 17 00:00:00 2001 From: Oliver Killane Date: Wed, 17 Apr 2024 22:02:37 +0100 Subject: [PATCH 3/3] bump version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0ae20e1..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" }, ]