Skip to content

chore: bump pydantic upper bound from <2.11 to <2.12#1659

Merged
JrooTJunior merged 3 commits intoaiogram:dev-3.xfrom
chirizxc:pydantic-2.11.0
Mar 29, 2025
Merged

chore: bump pydantic upper bound from <2.11 to <2.12#1659
JrooTJunior merged 3 commits intoaiogram:dev-3.xfrom
chirizxc:pydantic-2.11.0

Conversation

@chirizxc
Copy link
Contributor

@chirizxc chirizxc commented Mar 28, 2025

Description

Bump pydantic upper bound from <2.11 to <2.12.

Upgrading pydantic to version 2.11 significantly reduces resource consumption

pydantic blog post: https://pydantic.dev/articles/pydantic-v2-11-release

@github-actions github-actions bot added the 3.x Issue or PR for stable 3.x version label Mar 28, 2025
@github-actions
Copy link

github-actions bot commented Mar 28, 2025

✔️ Changelog found.

Thank you for adding a description of the changes

@chirizxc
Copy link
Contributor Author

Memory usage in echo_bot.py decreased by 39% (142 MiB -> 87 MiB).

@RootShinobi
Copy link
Contributor

+1🌚

@codecov
Copy link

codecov bot commented Mar 29, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (78748d3) to head (6d26dc3).
Report is 1 commits behind head on dev-3.x.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           dev-3.x     #1659   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          511       511           
  Lines        12531     12531           
=========================================
  Hits         12531     12531           
Flag Coverage Δ
unittests 100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@JrooTJunior
Copy link
Member

Thanks for you contribution.

I have made adjustments to the changelog record, as well as changed the pull request description to make it clearer for other developers.

@JrooTJunior JrooTJunior merged commit 7e8dcc6 into aiogram:dev-3.x Mar 29, 2025
23 checks passed
@chirizxc chirizxc deleted the pydantic-2.11.0 branch March 29, 2025 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x Issue or PR for stable 3.x version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants