Update aiohttp to ~=3.13.0 and bump test deps#266
Conversation
- Pin aiohttp~=3.13.0 in pyproject.toml, requirements.txt, and requirements_dev.txt - Bump pytest-asyncio minimum to >=1.4.0 - Ensures compatibility with aioresponses>=0.7.8 Co-authored-by: Copilot <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #266 +/- ##
=======================================
Coverage 92.51% 92.51%
=======================================
Files 6 6
Lines 708 708
Branches 30 30
=======================================
Hits 655 655
Misses 46 46
Partials 7 7 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
aioresponses 0.7.8 is not compatible with aiohttp 3.14.0, so we pin it to the minor for now. --> #265 |
|
We should only pin in in requirements_dev.txt, to run the test suite, not for the package itself. Long-term maybe we should rewrite the tests and get rid of aioresponses |
|
Unit tests do not use the _dev file imo? |
|
Oh, you are right, deps are installed with |
| ] | ||
| dependencies = [ | ||
| "aiohttp>=3.10", | ||
| "aiohttp~=3.13.0", |
There was a problem hiding this comment.
| "aiohttp~=3.13.0", | |
| "aiohttp>=3.13.0", |
| @@ -1,5 +1,5 @@ | |||
| aioresponses>=0.7.8 | |||
| pytest-asyncio>=1.3.0 | |||
| pytest-asyncio>=1.4.0 | |||
There was a problem hiding this comment.
This will be bumped by dependabot
| pytest-asyncio>=1.4.0 | |
| pytest-asyncio>=1.3.0 |
Summary
Update dependency pins to ensure compatibility between aiohttp 3.13.x and aioresponses 0.7.8.
Changes
aiohttp~=3.13.0inpyproject.toml,requirements.txt, andrequirements_dev.txtpytest-asynciominimum to>=1.4.0inrequirements_test.txtTesting
All 135 unit tests pass locally with these dependency versions.