Bug 1687377 - python-docutils FTBFS with Python 3.8.0a2
Summary: python-docutils FTBFS with Python 3.8.0a2
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-docutils
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Miro Hrončok
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-06-23 20:07 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-06-23 20:07:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
build.log from copr (193.37 KB, text/plain)
2019-03-11 12:18 UTC, Miro Hrončok
no flags Details
root.log from copr (30.56 KB, text/plain)
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.

Comment 8 Miro Hrončok 2019-06-06 12:46:26 UTC
Shall I just commit the test skip?

Comment 9 Kevin Fenzi 2019-06-17 20:07:37 UTC
Yes, please do.


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