Skip to content

Commit 2556b3f

Browse files
committed
trying support for Python 3.13
1 parent ed43da1 commit 2556b3f

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

pyproject.toml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ classifiers = [
2626
"Programming Language :: Python :: 3.10",
2727
"Programming Language :: Python :: 3.11",
2828
"Programming Language :: Python :: 3.12",
29+
"Programming Language :: Python :: 3.13",
2930
"Programming Language :: Python :: 3 :: Only",
3031
"Programming Language :: Python :: Implementation :: CPython",
3132
"Programming Language :: Python :: Implementation :: PyPy",
@@ -41,17 +42,17 @@ Changelog = "https://github.com/anikolaienko/py-automapper/blob/main/CHANGELOG.m
4142

4243
[project.optional-dependencies]
4344
dev = [
44-
"tortoise-orm~=0.20.1",
45-
"pydantic~=2.7.1",
46-
"SQLAlchemy~=2.0.30",
47-
"twine~=5.0.0",
45+
"tortoise-orm~=0.23.0",
46+
"pydantic~=2.10.6",
47+
"SQLAlchemy~=2.0.38",
48+
"twine~=6.1.0",
4849
"Sphinx~=7.1.2"
4950
]
5051
test = [
5152
"pre-commit~=3.5.0",
52-
"pytest~=8.2.0",
53+
"pytest~=8.3.5",
5354
"pytest-cov~=5.0.0",
54-
"mypy~=1.10.0"
55+
"mypy~=1.14.1"
5556
]
5657

5758
[tool.pytest.ini_options]

tests/extensions/test_tortoise_extention.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from typing import Any
12
from unittest import TestCase
23

34
import pytest
@@ -10,13 +11,13 @@ class UserInfo(Model):
1011
id = fields.IntField(pk=True)
1112
full_name = fields.TextField()
1213
public_name = fields.TextField()
13-
hobbies = fields.JSONField()
14+
hobbies: Any = fields.JSONField()
1415

1516

1617
class PublicUserInfo(Model):
1718
id = fields.IntField(pk=True)
1819
public_name = fields.TextField()
19-
hobbies = fields.JSONField()
20+
hobbies: Any = fields.JSONField()
2021

2122

2223
class TortoiseORMExtensionTest(TestCase):

0 commit comments

Comments
 (0)