{{{
======================================================================
ERROR: test_parsing_year_less_than_70
(utils_tests.test_http.HttpDateProcessingTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python3.7/unittest/case.py", line 59, in testPartExecutor
yield
File "/usr/lib/python3.7/unittest/case.py", line 615, in run
testMethod()
File "/build/python-django-2.2~beta1/tests/utils_tests/test_http.py",
line 301, in test_parsing_year_less_than_70
self.assertEqual(datetime.utcfromtimestamp(parsed), datetime(2050, 11,
6, 8, 49, 37))
OverflowError: timestamp out of range for platform time_t
}}}
This affects (at least) 2.2 beta 1 and was added in
https://github.com/django/django/commit/6b7f1c2530784ed6c6c1826688faaa08e3f786d9.
Original filed by Andreas Beckmann at https://bugs.debian.org/924784
--
Ticket URL: <https://code.djangoproject.com/ticket/30264>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* version: master => 2.2
* component: Testing framework => Core (Other)
* severity: Normal => Release blocker
* stage: Unreviewed => Accepted
Comment:
We should either skip the test on 32-bit or pick a smaller value.
--
Ticket URL: <https://code.djangoproject.com/ticket/30264#comment:1>
* status: new => assigned
* owner: nobody => felixxm
--
Ticket URL: <https://code.djangoproject.com/ticket/30264#comment:2>
* has_patch: 0 => 1
Comment:
[https://github.com/django/django/pull/11097 PR]
--
Ticket URL: <https://code.djangoproject.com/ticket/30264#comment:3>
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/30264#comment:4>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"c9888bc8ecb8943ef08090e3325dcbdac825eafc" c9888bc8]:
{{{
#!CommitTicketReference repository=""
revision="c9888bc8ecb8943ef08090e3325dcbdac825eafc"
Fixed #30264 -- Fixed crash of test_parsing_year_less_than_70() on 32-bit
systems.
Thanks Andreas Beckmann and Chris Lamb for the report.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30264#comment:5>
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"505785a71ddcc66f0dbf2b9b903881e894a17a17" 505785a]:
{{{
#!CommitTicketReference repository=""
revision="505785a71ddcc66f0dbf2b9b903881e894a17a17"
[2.2.x] Fixed #30264 -- Fixed crash of test_parsing_year_less_than_70() on
32-bit systems.
Thanks Andreas Beckmann and Chris Lamb for the report.
Backport of c9888bc8ecb8943ef08090e3325dcbdac825eafc from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/30264#comment:6>