@@ -4,7 +4,7 @@ build-backend = "poetry.core.masonry.api"
44
55[tool .poetry ]
66name = " odin"
7- version = " 2.10 "
7+ version = " 2.11rc1 "
88description = " Data-structure definition/validation/traversal, mapping and serialisation toolkit for Python"
99authors = [" Tim Savage <tim@savage.company>" ]
1010license = " BSD-3-Clause"
@@ -21,9 +21,10 @@ classifiers = [
2121 " Topic :: Software Development :: Libraries :: Python Modules" ,
2222 " Programming Language :: Python" ,
2323 " Programming Language :: Python :: 3" ,
24- " Programming Language :: Python :: 3.8" ,
25- " Programming Language :: Python :: 3.9" ,
2624 " Programming Language :: Python :: 3.10" ,
25+ " Programming Language :: Python :: 3.11" ,
26+ " Programming Language :: Python :: 3.12" ,
27+ " Programming Language :: Python :: 3.13" ,
2728 " Programming Language :: Python :: Implementation :: CPython" ,
2829 " Programming Language :: Python :: Implementation :: PyPy" ,
2930]
@@ -34,15 +35,15 @@ packages = [
3435include = [" src/odin/py.typed" ]
3536
3637[tool .poetry .dependencies ]
37- python = " ^3.8 "
38+ python = " ^3.10 "
3839pyyaml = {version = " *" , optional = true }
3940toml = {version = " *" , optional = true }
4041pint = {version = " *" , optional = true }
4142arrow = {version = " *" , optional = true }
4243msgpack = {version = " *" , optional = true }
4344rich = {version = " *" , optional = true }
4445
45- [tool .poetry .dev- dependencies ]
46+ [tool .poetry .group . dev . dependencies ]
4647pytest = " ^7.0"
4748pytest-cov = " *"
4849sphinx = " *"
@@ -60,8 +61,8 @@ rich = ["rich"]
6061line-length = 88
6162indent-width = 4
6263
63- # Assume Python 3.8
64- target-version = " py38 "
64+ # Assume Python 3.10
65+ target-version = " py310 "
6566
6667[tool .ruff .lint ]
6768select = [" N" , " F" , " I" , " UP" , " PL" , " A" , " G" , " S" , " E" , " SIM" , " B" ]
@@ -78,6 +79,9 @@ ignore = [
7879 " PLR2004" , # Magic value used in comparison, ...
7980 " S311" , # Standard pseudo-random generators are not suitable for cryptographic purposes
8081]
82+ "tests/annotated_resources/**.py" = [
83+ " UP" , # Allow the use of older types
84+ ]
8185
8286[tool .ruff .lint .pycodestyle ]
8387max-line-length = 117
0 commit comments