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 1687377 - python-docutils FTBFS with Python 3.8.0a2
Summary: python-docutils FTBFS with Python 3.8.0a2
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-docutils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-03-11 12:18 UTC by Miro Hrončok
Modified: 2019-04-15 14:39 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-15 00:33:34 UTC


Attachments (Terms of Use)
build.log from copr (deleted)
2019-03-11 12:18 UTC, Miro Hrončok
no flags Details
root.log from copr (deleted)
2019-03-11 12:18 UTC, Miro Hrončok
no flags Details

Description Miro Hrončok 2019-03-11 12:18:18 UTC
Created attachment 1542849 [details]
build.log from copr

======================================================================
FAIL: test_odt_basic (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 152, in test_odt_basic
    self.process_test('odt_basic.txt', 'odt_basic.odt',
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 118, in process_test
    self.assertEqual(content1, content2, msg)
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 140, in assertEqual
    DocutilsTestSupport.StandardTestCase.assertEqual(self,
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/DocutilsTestSupport.py", line 122, in assertEqual
    raise self.failureException(
AssertionError: content.xml not equal: expected len: 1961  actual len: 1961
======================================================================
FAIL: test_odt_custom_headfoot (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 181, in test_odt_custom_headfoot
    self.process_test('odt_custom_headfoot.txt', 'odt_custom_headfoot.odt',
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 118, in process_test
    self.assertEqual(content1, content2, msg)
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 140, in assertEqual
    DocutilsTestSupport.StandardTestCase.assertEqual(self,
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/DocutilsTestSupport.py", line 122, in assertEqual
    raise self.failureException(
AssertionError: content.xml not equal: expected len: 1922  actual len: 1922
======================================================================
FAIL: test_odt_nested_class (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 157, in test_odt_nested_class
    self.process_test('odt_nested_class.txt',
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 118, in process_test
    self.assertEqual(content1, content2, msg)
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 140, in assertEqual
    DocutilsTestSupport.StandardTestCase.assertEqual(self,
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/DocutilsTestSupport.py", line 122, in assertEqual
    raise self.failureException(
AssertionError: content.xml not equal: expected len: 1978  actual len: 1978
======================================================================
FAIL: test_odt_tables1 (test_writers.test_odt.DocutilsOdtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 171, in test_odt_tables1
    self.process_test('odt_tables1.txt', 'odt_tables1.odt',
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 118, in process_test
    self.assertEqual(content1, content2, msg)
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/test_writers/test_odt.py", line 140, in assertEqual
    DocutilsTestSupport.StandardTestCase.assertEqual(self,
  File "/builddir/build/BUILD/docutils-0.14/python3/test3/DocutilsTestSupport.py", line 122, in assertEqual
    raise self.failureException(
AssertionError: content.xml not equal: expected len: 46128  actual len: 46128
----------------------------------------------------------------------
Ran 1337 tests in 8.581s
FAILED (failures=4)

Comment 1 Miro Hrončok 2019-03-11 12:18:48 UTC
Created attachment 1542850 [details]
root.log from copr

Comment 2 Victor Stinner 2019-03-14 13:55:40 UTC
I reported the bug upstream: https://sourceforge.net/p/docutils/bugs/359/

It's caused by https://bugs.python.org/issue34160 change.

Comment 3 Miro Hrončok 2019-03-14 16:47:23 UTC
Note: this is just a bad test, not an actual issue with doctest. Worst case scenario, we can exclude those tests.

Comment 4 Miro Hrončok 2019-03-14 18:12:14 UTC
s/doctest/docutils/

Comment 5 Kevin Fenzi 2019-04-15 00:33:34 UTC
I think we will wait for the final. I dont see any response to your upstream bug yet tho. ;(

Comment 6 Miro Hrončok 2019-04-15 05:26:11 UTC
I need to track this. We cannot wait for the final, the plan is to start with a side tag with first beta.

Comment 7 Kevin Fenzi 2019-04-15 14:39:50 UTC
Ah, sorry about that... must have read it too fast yesterday.


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