Bug 1717659
| Summary: | python-parameterized fails to build with Python 3.8 | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Miro Hrončok <mhroncok> |
| Component: | python-parameterized | Assignee: | Igor Raits <igor.raits> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | igor.raits, pviktori |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/python-parameterized/ | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-07-10 14:38:32 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1686977 | ||
|
Description
Miro Hrončok
2019-06-05 21:44:25 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)
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. 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. I've added Petr's patch. |