-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Migrate to using propcache for property caching #9394
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #9394 +/- ##
==========================================
+ Coverage 98.57% 98.58% +0.01%
==========================================
Files 107 107
Lines 35076 35012 -64
Branches 4153 4146 -7
==========================================
- Hits 34575 34517 -58
+ Misses 334 330 -4
+ Partials 167 165 -2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
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.
Looks good, except for that __all__
change that I'm unsure about.
Thanks |
Few options I can think of... not sure what is best
|
Yeah, we're kind of using |
I agree, lets leave it in |
Backport to 3.11: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply e9edd04 on top of patchback/backports/3.11/e9edd04475ef6bfb4a9a8535b2617443e7bc71d2/pr-9394 Backporting merged PR #9394 into master
🤖 @patchback |
I would, since it's not even underscored 🤷♂️ |
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]> (cherry picked from commit e9edd04)
…erty caching (#9434) Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко)
What do these changes do?
aio-libs/yarl#1070 (comment)
Replaces
reify
with a shared implementation calledpropcache
that will be maintained in a single place foryarl
andaiohttp
The
propcache
package is derived from the property caching code inyarl
and has been broken out to avoid maintaining it for multiple projects.Are there changes in behavior for the user?
The
propcache
dep is now requiredRelated issue number
aio-libs/yarl#1070 (comment)