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 in 2038 #20285
Comments
|
OIDs were defined to use 32bit timestamps, there is not much we can do about it except deviating from the spec which was originally taken from MongoDB. |
|
You could also follow python (.pyc file timestamps) and define it as |
|
See also the fix for OIDs in BSON: https://github.com/py-bson/bson/pull/117/files |
|
@bmwiedemann How does the test look like? I probably need to set one for Linux in #20338 Thank you in advance! |
…g#20338) * Revert "fixes nim-lang#20285; prevent oid time overflow at year 2038" This reverts commit dfcdb6e. * increase time to 64 bits and clean up * add testcase * inline consts * add a changelog * fixes nim-lang#20285; prevent oid time overflow at year 2038
What happened?
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 +16 years, because that is how long I expect some software will be used in some places.
This showed up failing tests in our
nimpackage build.See https://reproducible-builds.org/ for why this matters.
Nim Version
nim-1.6.6
Current Standard Output Logs
The text was updated successfully, but these errors were encountered: