aiogram icon indicating copy to clipboard operation
aiogram copied to clipboard

Bump pydantic upper bound to 2.13, for python 3.14 support

Open chirizxc opened this issue 4 months ago • 11 comments

https://github.com/aiogram/aiogram/blob/dev-3.x/pyproject.toml#L46

https://github.com/pydantic/pydantic/releases/tag/v2.12.0a1

chirizxc avatar Aug 07 '25 06:08 chirizxc

Pydantic 2.13 and Python 3.14 are not yet released, so we can't be sure that it won't be broken until the final release is released, so I prefer to wait for stable releases and then update the version constraints.

JrooTJunior avatar Aug 17 '25 15:08 JrooTJunior

what about now?

justtempusername avatar Oct 05 '25 23:10 justtempusername

Version 2.12 has not been released yet...

You can check it on PyPi or official GitHub releases page of the pydantic (https://github.com/pydantic/pydantic/releases, pre-releases is not for us, needed only stable releases)

JrooTJunior avatar Oct 05 '25 23:10 JrooTJunior

https://github.com/pydantic/pydantic/releases/tag/v2.12.0

chirizxc avatar Oct 07 '25 18:10 chirizxc

Updated in the #1729, so thats mean it can be installed from git branch dev-3.x and soon will be released to the PyPI

JrooTJunior avatar Oct 07 '25 21:10 JrooTJunior

Aiohttp should be bumped too I assume: https://github.com/aio-libs/aiohttp/releases/tag/v3.13.0

Nazar1ky avatar Oct 09 '25 09:10 Nazar1ky

Aiohttp should be bumped too I assume: https://github.com/aio-libs/aiohttp/releases/tag/v3.13.0

#1730

andrew000 avatar Oct 10 '25 05:10 andrew000

Updated in the #1729, so thats mean it can be installed from git branch dev-3.x and soon will be released to the PyPI

Could you please clarify when the release with Python 3.14 support is expected to be published on PyPI?

smalyu avatar Nov 17 '25 20:11 smalyu

Updated in the #1729, so thats mean it can be installed from git branch dev-3.x and soon will be released to the PyPI

Could you please clarify when the release with Python 3.14 support is expected to be published on PyPI?

I think on next TG Bot API update (on my mind)

andrew000 avatar Nov 18 '25 09:11 andrew000

Bump

TimNekk avatar Nov 19 '25 19:11 TimNekk

I think on next TG Bot API update (on my mind)

Would it be wrong to make a release without awaiting TG Bot API updates (any current incompatibilities?)? I mean, new major Python version is a big enough event to make a distinct release just with requirements bumpage.

soucelover avatar Dec 05 '25 17:12 soucelover

As aiogram v3.23.0 with complete support of Python 3.14 has came out, this issue can be closed. The upper bound of Pydantic requirement was bumped up to v2.13.

Thx, @JrooTJunior and other contributors for the update.

soucelover avatar Dec 11 '25 17:12 soucelover