-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
replace freezegun with time_machine #7656
Conversation
@Dreamsorcerer looks like |
Ah, that's annoying. Not really sure what the best approach is... |
Although, it looks like it's only used in 3 tests, so maybe we can just skip the tests on pypy for now... |
definitely a possibility, but I would also need to remove the dependency from the |
No, look at the mypy line in that file. You can do the same kind of thing to exclude installation on pypy. |
f1ea4e2
to
5b5b0da
Compare
@Dreamsorcerer I think I added the needed changes 😅 |
@Dreamsorcerer if you have time to take a look again, it would be great 🙂 |
Codecov Report
@@ Coverage Diff @@
## master #7656 +/- ##
=======================================
Coverage 97.36% 97.36%
=======================================
Files 106 106
Lines 31648 31655 +7
Branches 3620 3623 +3
=======================================
+ Hits 30813 30820 +7
Misses 632 632
Partials 203 203
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
@Dreamsorcerer anything left to do here? |
Sorry, just busy with 3.9 release tasks. |
Backport to 3.9: 💔 cherry-picking failed — conflicts found❌ Failed to cleanly apply a7bc5e9 on top of patchback/backports/3.9/a7bc5e9eeae7c5c90898411962e9a74bf10a9cef/pr-7656 Backporting merged PR #7656 into master
🤖 @patchback |
If you could handle that backport, that'd be great. |
sure, I will give it a try |
(cherry picked from commit a7bc5e9)
What do these changes do?
freezegun
dependency withtime-machine
, because it seems likefreezegun
became an unmaintained projectAre there changes in behavior for the user?
Related issue number
Fixes #7655
Checklist
CONTRIBUTORS.txt
CHANGES
folder<issue_id>.<type>
for example (588.bugfix)issue_id
change it to the pr id after creating the pr.feature
: Signifying a new feature..bugfix
: Signifying a bug fix..doc
: Signifying a documentation improvement..removal
: Signifying a deprecation or removal of public API..misc
: A ticket has been closed, but it is not of interest to users.