Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1693603 - python-freezegun FTBFS with Python 3.8: test_uuid failures
Summary: python-freezegun FTBFS with Python 3.8: test_uuid failures
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-freezegun
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Kevin Fenzi
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-03-28 09:52 UTC by Miro Hrončok
Modified: 2020-01-15 17:16 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:


Attachments (Terms of Use)
Full log from Copr (deleted)
2019-03-28 09:52 UTC, Miro Hrončok
no flags Details


Links
System ID Priority Status Summary Last Updated
Github spulec freezegun issues 293 None None None 2019-03-28 10:02:12 UTC

Description Miro Hrončok 2019-03-28 09:52:51 UTC
Created attachment 1548948 [details]
Full log from Copr

+ nosetests-3.8 tests/
.........................S.......................S.....S.S......................................FF..
======================================================================
FAIL: Test that we can go back in time after setting a future date.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/builddir/build/BUILD/python3-python-freezegun-0.3.11-4.fc31/tests/test_uuid.py", line 28, in test_uuid1_future
    assert_equal(time_from_uuid(uuid.uuid1()), future_target)
AssertionError: FakeDatetime(2019, 3, 28, 1, 36, 13, 24883) != datetime.datetime(2056, 2, 6, 14, 3, 21)
    'FakeDatetime(2019, 3, 28, 1, 36, 13, 24883) != datetime.datetime(2056, 2, 6, 14, 3, 21)' = '%s != %s' % _common_shorten_repr(FakeDatetime(2019, 3, 28, 1, 36, 13, 24883), datetime.datetime(2056, 2, 6, 14, 3, 21))
    'FakeDatetime(2019, 3, 28, 1, 36, 13, 24883) != datetime.datetime(2056, 2, 6, 14, 3, 21)' = self._formatMessage('FakeDatetime(2019, 3, 28, 1, 36, 13, 24883) != datetime.datetime(2056, 2, 6, 14, 3, 21)', 'FakeDatetime(2019, 3, 28, 1, 36, 13, 24883) != datetime.datetime(2056, 2, 6, 14, 3, 21)')
>>  raise self.failureException('FakeDatetime(2019, 3, 28, 1, 36, 13, 24883) != datetime.datetime(2056, 2, 6, 14, 3, 21)')
    

======================================================================
FAIL: Test that we can go forward in time after setting some time in the past.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.8/site-packages/nose/case.py", line 197, in runTest
    self.test(*self.arg)
  File "/builddir/build/BUILD/python3-python-freezegun-0.3.11-4.fc31/tests/test_uuid.py", line 42, in test_uuid1_past
    assert_equal(time_from_uuid(uuid.uuid1()), past_target)
AssertionError: FakeDatetime(2019, 3, 28, 1, 36, 13, 50604) != datetime.datetime(1978, 7, 6, 23, 6, 31)
    'FakeDatetime(2019, 3, 28, 1, 36, 13, 50604) != datetime.datetime(1978, 7, 6, 23, 6, 31)' = '%s != %s' % _common_shorten_repr(FakeDatetime(2019, 3, 28, 1, 36, 13, 50604), datetime.datetime(1978, 7, 6, 23, 6, 31))
    'FakeDatetime(2019, 3, 28, 1, 36, 13, 50604) != datetime.datetime(1978, 7, 6, 23, 6, 31)' = self._formatMessage('FakeDatetime(2019, 3, 28, 1, 36, 13, 50604) != datetime.datetime(1978, 7, 6, 23, 6, 31)', 'FakeDatetime(2019, 3, 28, 1, 36, 13, 50604) != datetime.datetime(1978, 7, 6, 23, 6, 31)')
>>  raise self.failureException('FakeDatetime(2019, 3, 28, 1, 36, 13, 50604) != datetime.datetime(1978, 7, 6, 23, 6, 31)')
    

Name                    Stmts   Miss  Cover   Missing
-----------------------------------------------------
freezegun/__init__.py       8      0   100%
freezegun/_async.py        12      1    92%   12
freezegun/api.py          505    110    78%   39, 44-46, 50-51, 61-65, 76-77, 81-83, 101-102, 134, 175, 187, 334-337, 379, 407, 422, 494, 505, 510, 513-515, 546, 619, 621, 623, 630-632, 637, 651, 656, 670, 817-1479
-----------------------------------------------------
TOTAL                     525    111    79%
----------------------------------------------------------------------
Ran 100 tests in 0.654s

FAILED (SKIP=4, failures=2)

Version-Release number of selected component: python-freezegun-0.3.11-4.fc31

Comment 1 Fedora Admin XMLRPC Client 2019-12-18 16:43:09 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.

Comment 2 Fedora Admin XMLRPC Client 2020-01-15 17:16:48 UTC
This package has changed maintainer in the Fedora.
Reassigning to the new maintainer of this component.


Note You need to log in before you can comment on or make changes to this bug.