-
-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add aiohttp tests to CI #1415
Add aiohttp tests to CI #1415
Conversation
CodSpeed Performance ReportMerging #1415 will not alter performanceComparing Summary
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1415 +/- ##
=======================================
Coverage 96.11% 96.11%
=======================================
Files 31 31
Lines 5871 5871
Branches 348 348
=======================================
Hits 5643 5643
Misses 202 202
Partials 26 26
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks!
Would you consider testing against maintained aiohttp releases as well?
I see two options:
- Install aiohttp from PyPI tarball. It has tests, maybe tarball could be combined with wheels to avoid compilation steps.
- Install from GitHub maintained branch.
For any approach editing workflow file for updating a list of supported aiohttp versions is totally fine.
I don't know which is better. Maybe fast aiohttp installation time could be a priority.
It could be implemented in the following PR, sure.
What is your opinion?
I think both options are acceptable if they achieve the same result. Downloading tarball and whl from pypi may be better since it can avoid compiling and building steps. |
So, one reason you probably want to stick to checking out the aiohttp code, is when yarl decides to break something in aiohttp on-purpose, you won't be able to get the tests passing on a released version of aiohttp. By checking out the code from the repo, we can adjust the tests on aiohttp to allow the new behaviour and then rerun the tests here against the new aiohttp commit. |
/home/docs/checkouts/readthedocs.org/user_builds/yarl/checkouts/1415/docs/changes.rst:19: WARNING: py:mod reference target not found: aiohttp [ref.mod] Changelog message isn't formatting |
I'd go with |
Thanks @Cycloctane |
What do these changes do?
Test aiohttp with new changes in yarl to prevent unexpected breaking changes.
Are there changes in behavior for the user?
Related issue number
fixes #534
Checklist