Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1717659 - python-parameterized fails to build with Python 3.8
Summary: python-parameterized fails to build with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-parameterized
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Igor Raits
QA Contact: Fedora Extras Quality Assurance
URL: https://copr.fedorainfracloud.org/cop...
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-06-05 21:44 UTC by Miro Hrončok
Modified: 2019-07-10 14:38 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-07-10 14:38:32 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github wolever parameterized pull 75 0 None None None 2019-06-21 13:40:44 UTC

Description Miro Hrončok 2019-06-05 21:44:25 UTC
python-parameterized fails to build with Python 3.8.0b1. See https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-parameterized/ for actual logs. This report is automated and not very verbose, but I'll get back here with details.

Comment 1 Miro Hrončok 2019-06-05 21:54:12 UTC
======================================================================
FAIL: stuff
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/parameterized.py", line 392, in standalone_func
    return func(*(a + p.args), **p.kwargs)
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/test.py", line 145, in test_custom_doc_func
    self._assert_docstring("stuff")
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/test.py", line 135, in _assert_docstring
    raise AssertionError("uh oh, unittest changed a local variable name")
AssertionError: uh oh, unittest changed a local variable name

======================================================================
FAIL: Documentation [with foo='foo', bar=12]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/parameterized.py", line 392, in standalone_func
    return func(*(a + p.args), **p.kwargs)
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/test.py", line 175, in test_default_values_get_correct_value
    self._assert_docstring("Documentation [with foo=%r, bar=%r]" %(foo, bar))
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/test.py", line 135, in _assert_docstring
    raise AssertionError("uh oh, unittest changed a local variable name")
AssertionError: uh oh, unittest changed a local variable name

======================================================================
FAIL: [with foo='foo']
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/parameterized.py", line 392, in standalone_func
    return func(*(a + p.args), **p.kwargs)
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/test.py", line 155, in test_empty_docstring
    self._assert_docstring("[with foo=%r]" %(foo, ))
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/test.py", line 135, in _assert_docstring
    raise AssertionError("uh oh, unittest changed a local variable name")
AssertionError: uh oh, unittest changed a local variable name

======================================================================
FAIL: Documentation [with foo='foo'].
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/parameterized.py", line 392, in standalone_func
    return func(*(a + p.args), **p.kwargs)
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/test.py", line 162, in test_multiline_documentation
    self._assert_docstring(
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/test.py", line 135, in _assert_docstring
    raise AssertionError("uh oh, unittest changed a local variable name")
AssertionError: uh oh, unittest changed a local variable name

======================================================================
FAIL: Documentation [with foo='foo'].
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/parameterized.py", line 392, in standalone_func
    return func(*(a + p.args), **p.kwargs)
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/test.py", line 150, in test_single_line_docstring
    self._assert_docstring("Documentation [with foo=%r]." %(foo, ))
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/test.py", line 135, in _assert_docstring
    raise AssertionError("uh oh, unittest changed a local variable name")
AssertionError: uh oh, unittest changed a local variable name

======================================================================
FAIL: Döcumentation [with foo='foo'].
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/parameterized.py", line 392, in standalone_func
    return func(*(a + p.args), **p.kwargs)
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/test.py", line 170, in test_unicode_docstring
    self._assert_docstring(u"Döcumentation [with foo=%r]." %(foo, ))
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/test.py", line 135, in _assert_docstring
    raise AssertionError("uh oh, unittest changed a local variable name")
AssertionError: uh oh, unittest changed a local variable name

======================================================================
FAIL: Documentation [with foo='foo', bar=12]
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/parameterized.py", line 392, in standalone_func
    return func(*(a + p.args), **p.kwargs)
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/test.py", line 182, in test_with_leading_newline
    self._assert_docstring("Documentation [with foo=%r, bar=%r]" %(foo, bar), rstrip=True)
  File "/builddir/build/BUILD/parameterized-0.6.1/parameterized/test.py", line 135, in _assert_docstring
    raise AssertionError("uh oh, unittest changed a local variable name")
AssertionError: uh oh, unittest changed a local variable name

----------------------------------------------------------------------
Ran 48 tests in 0.149s

FAILED (SKIP=1, failures=7)

Comment 2 Miro Hrončok 2019-06-10 16:42:48 UTC
This issue is blocking the Python 3.8 rebuilds. If this package won't build with 3.8, it won't be installable, along with all its dependent packages, after the side tag is merged.
Furthermore, as it fails to install, its dependent packages will fail to install and/or build as well. The fix should be pushed on the master branch and no release bump is required.

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.8: https://copr.fedorainfracloud.org/coprs/g/python/python3.8/

This issue needs to be resolved by next week, if other rebuilds of Python 3.8 beta 1 go well. If this is unrealistic for you, let us know how much time you need.

If you don't have free cycles to dedicate fixing your package, notify us and we'll try to provide some pointers. Let us know if we can push a fix directly without a pull request, in the case we happen to have one before you do.

We recommend always consulting with upstream, chances are this is already fixed there.

Comment 3 Miro Hrončok 2019-06-17 09:41:01 UTC
This issue is blocking the Python 3.8 rebuilds. This package is part of the first 500 packages we build to bootstrap everything else. pungi needs it to build and we need pungi to do composes.

Unless this is resolved, we cannot merge the side tag.

Comment 4 Miro Hrončok 2019-07-10 14:38:32 UTC
I've added Petr's patch.


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