Skip to content

Support of Py3.14#1730

Merged
JrooTJunior merged 7 commits intoaiogram:dev-3.xfrom
andrew000:py3.14
Oct 10, 2025
Merged

Support of Py3.14#1730
JrooTJunior merged 7 commits intoaiogram:dev-3.xfrom
andrew000:py3.14

Conversation

@andrew000
Copy link
Contributor

Changes:

  • Bump .pre-commit-config.yaml
  • Bump mongo feature deps
  • Bump proxy feature dep
  • Bump test feature deps
  • Bump dev feature deps
  • Set aiohttp max version <3.14
  • Fix test_isolation.py tests
  • Fix test_storages.py tests
  • Add Py version limit <3.15 (breaking changes possible)
  • Add new uvloop starter to Dispatcher.run_polling
  • Remove old uvloop set_event_loop_policy
  • Remove pytest-lazy-fixture

Type of change

  • New feature (non-breaking change which adds functionality)

Bump .pre-commit-config.yaml
Bump `mongo` feature deps
Bump `proxy` feature dep
Bump `test` feature deps
Bump `dev` feature deps

Set `aiohttp` max version `<3.14`

Fix `test_isolation.py` tests
Fix `test_storages.py` tests

Add Py version limit `<3.15` (breaking changes possible)
Add new `uvloop` starter to `Dispatcher.run_polling`

Remove old `uvloop` `set_event_loop_policy`
Remove `pytest-lazy-fixture`
@github-actions github-actions bot added the 3.x Issue or PR for stable 3.x version label Oct 9, 2025
@github-actions
Copy link

github-actions bot commented Oct 9, 2025

✔️ Changelog found.

Thank you for adding a description of the changes

@codecov
Copy link

codecov bot commented Oct 9, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (0c6a705) to head (c6a0a7b).
⚠️ Report is 1 commits behind head on dev-3.x.

Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff            @@
##           dev-3.x     #1730   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          591       591           
  Lines        13980     13985    +5     
=========================================
+ Hits         13980     13985    +5     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

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

Files with missing lines Coverage Δ
aiogram/__init__.py 100.00% <ø> (ø)
aiogram/dispatcher/dispatcher.py 100.00% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@andrew000
Copy link
Contributor Author

I'm ready

"motor-types~=1.0.0b4",
"black==25.9.0",
"isort==6.1.0",
"ruff==0.14.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should pin ruff version, because new rule additions or deletions can only be in major versions, all minor versions are just bugfixes, I think it's better to leave ruff~=0.14.0 (ruff >= 0.14.0 , < 0.15.0).

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's dev dependency. We can update it in any time without deploying new release or something

@JrooTJunior JrooTJunior merged commit 4caf568 into aiogram:dev-3.x Oct 10, 2025
23 checks passed
@andrew000 andrew000 deleted the py3.14 branch December 2, 2025 22:50
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