-
-
Notifications
You must be signed in to change notification settings - Fork 226
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
Tests fail after 2022-05-14 #255
Comments
Hi @bmwiedemann |
2022 is no leap year. Maybe some part of the code uses 365 as number of days in a year, when in reality it is closer to 365.2425 |
The problem is still there with current deepdiff-5.6.0 - is there a chance to get a fix in the next 4 months or should we just disable the test? |
Thanks for the reminder.
I will fix it!
Sep Dehpour
… On Jan 10, 2022, at 7:19 AM, Bernhard M. Wiedemann ***@***.***> wrote:
The problem is still there with current deepdiff-5.6.0 - is there a chance to get a fix in the next 4 months or should we just disable the test?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.
|
only 6 weeks left... |
Ok fixing it now. Thanks for the reminder! |
@bmwiedemann DeepDiff 5.8.0 is published and this issues is resolved. |
Describe the bug
TestDeepDistance.test_get_numeric_types_distance fails after 2022-05-14 10:00 UTC
To Reproduce
Build with a date after 2022-05-14, e.g. in Debian or openSUSE do
Expected behavior
Tests should keep passing for at least 20 years, if possible.
OS, DeepDiff version and Python version (please complete the following information):
Additional context
As part of my work on reproducible builds for openSUSE, I check that software still gives identical build results in the future.
The usual offset is +15 years, because that is how long I expect some software will be used in some places.
This showed up failing tests in our package build.
See https://reproducible-builds.org/ for why this matters.
The text was updated successfully, but these errors were encountered: