-
-
Notifications
You must be signed in to change notification settings - Fork 170
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 #1169
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #1169 +/- ##
==========================================
- Coverage 95.62% 95.57% -0.05%
==========================================
Files 30 25 -5
Lines 4981 4864 -117
Branches 464 443 -21
==========================================
- Hits 4763 4649 -114
+ Misses 192 189 -3
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. |
10effdf
to
0707c4f
Compare
https://github.com/aio-libs/propcache/actions/runs/11197845167/job/31128986852#step:10:31 publish of propcache 1.0.0 failed |
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) <[email protected]>
798e5d7
to
0cdbdb9
Compare
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.
FYI, the pre-commit deps are cached until you change them in the config file. So in the future it might make be a need to use pins even.
Thanks |
I need to retest this on production with all the latest one more time before merging. Then I can do a release. Maybe tomorrow depending on how much time my day job takes up and how jet lagged I am |
testing in production passed |
Adds a new python package: py3-propcache. The primary reason for adding this, was due to a new buildtime dependency introduced by the following (existing) package: #30252. Theres more info about the buildtime [dependency introduction here](aio-libs/yarl#1169). Signed-off-by: Mark McCormick <[email protected]>
Package update. This also required introducing a new buildtime dependency: py3-propcache. See [upstream commit](aio-libs/yarl#1169) for info on when this was introduced. ----- <p align="center"> <img src="https://raw.githubusercontent.com/wolfi-dev/.github/b535a42419ce0edb3c144c0edcff55a62b8ec1f8/profile/wolfi-logo-light-mode.svg" /> </p> --------- Signed-off-by: wolfi-bot <[email protected]> Signed-off-by: Mark McCormick <[email protected]> Co-authored-by: wolfi-bot <[email protected]> Co-authored-by: Mark McCormick <[email protected]>
What do these changes do?
#1070 (comment)
Replaces
cached_property
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
#1070 (comment)