Bug 1203317 - mercurial-extension-hg-evolve tests fail in 2038
mercurial-extension-hg-evolve tests fail in 2038
Status: NEW
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other
Current
Other All
: P5 - None : Normal (vote)
: ---
Assigned To: Müller
E-mail List
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2022-09-12 01:35 UTC by Bernhard Wiedemann
Modified: 2022-09-12 01:44 UTC (History)
1 user (show)

See Also:
Found By: Development
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Wiedemann 2022-09-12 01:35:49 UTC
To Reproduce
osc co openSUSE:Factory/mercurial-extension-hg-evolve && cd $_
osc build --vm-type=kvm --noservice --clean \
  --build-opt=--vm-custom-opt="-rtc base=2038-01-20T00:00:00" \
  --alternative-project=home:bmwiedemann:reproducible openSUSE_Tumbleweed

Actual Results:
    $ hg amend -D
 +  hg: parse error: date exceeds 32 bits: 2168745807


This might need an upstream fix.

See also https://en.wikipedia.org/wiki/Year_2038_problem
Comment 1 Bernhard Wiedemann 2022-09-12 01:44:59 UTC
This probably needs a fix in
https://foss.heptapod.net/mercurial/mercurial-devel/-/blob/branch/default/mercurial/utils/dateutil.py#L300

maybe a leftover from python2 (now obsolete)