Skip to content

Commit aff962b

Browse files
committed
fix: should be all green now
1 parent e8dd2d9 commit aff962b

File tree

4 files changed

+203
-142
lines changed

4 files changed

+203
-142
lines changed

json2xml/dicttoxml.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
import logging
55
import numbers
66
from collections.abc import Callable, Sequence
7+
from decimal import Decimal
8+
from fractions import Fraction
79
from random import SystemRandom
810
from typing import Any, Union, cast
911

@@ -58,6 +60,9 @@ def get_unique_id(element: str) -> str:
5860
int,
5961
float,
6062
bool,
63+
complex,
64+
Decimal,
65+
Fraction,
6166
numbers.Number,
6267
Sequence[Any],
6368
datetime.datetime,

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ include = ["json2xml"]
4545

4646
[project.optional-dependencies]
4747
test = [
48-
"pytest==7.0.1",
48+
"pytest>=8.4.1",
4949
]
5050

5151
[tool.pytest.ini_options]

requirements-dev.in

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# When installing dev dependencies also install the user dependencies
22
-r requirements.in
33
xmltodict>=0.14.2
4-
pytest==8.4.1
5-
pytest-cov==6.2.1
6-
pytest-xdist==3.8.0
7-
coverage==7.10.3
8-
ruff==0.12.8
9-
setuptools==80.9.0
4+
pytest>=8.4.1
5+
pytest-cov>=7.0.0
6+
pytest-xdist>=3.8.0
7+
coverage>=7.10.3
8+
ruff>=0.12.8
9+
setuptools>=80.9.0
1010
# Note: ty is run via uvx, not installed as a dependency

0 commit comments

Comments
 (0)