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 1710335 - python-pyramid fails to build with Python 3.8
Summary: python-pyramid fails to build with Python 3.8
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-pyramid
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Fedora Infrastructure SIG
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-05-15 11:06 UTC by Miro Hrončok
Modified: 2019-05-24 13:14 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-05-24 13:14:25 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full log from Copr (461.31 KB, text/plain)
2019-05-15 11:06 UTC, Miro Hrončok
no flags Details

Description Miro Hrončok 2019-05-15 11:06:37 UTC
Created attachment 1568955 [details]
Full log from Copr

python-pyramid 1.10.4-1.fc31 fails %check with Python 3.8.0a4:


======================================================================
FAIL: test_add_view_custom_predicate_bests_standard_predicate (tests.test_config.test_views.TestViewsConfigurationMixin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python3-python-pyramid-1.10.4-1.fc31/tests/test_config/test_views.py", line 1982, in test_add_view_custom_predicate_bests_standard_predicate
    self.assertEqual(len(w), 1)
AssertionError: 5 != 1

======================================================================
FAIL: test_add_view_with_check_csrf_predicates_match (tests.test_config.test_views.TestViewsConfigurationMixin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python3-python-pyramid-1.10.4-1.fc31/tests/test_config/test_views.py", line 1909, in test_add_view_with_check_csrf_predicates_match
    self.assertEqual(len(w), 1)
AssertionError: 3 != 1

======================================================================
FAIL: test_add_view_with_custom_predicates_match (tests.test_config.test_views.TestViewsConfigurationMixin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python3-python-pyramid-1.10.4-1.fc31/tests/test_config/test_views.py", line 1937, in test_add_view_with_custom_predicates_match
    self.assertEqual(len(w), 1)
AssertionError: 3 != 1

======================================================================
FAIL: test_add_view_with_custom_predicates_nomatch (tests.test_config.test_views.TestViewsConfigurationMixin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/python3-python-pyramid-1.10.4-1.fc31/tests/test_config/test_views.py", line 1958, in test_add_view_with_custom_predicates_nomatch
    self.assertEqual(len(w), 1)
AssertionError: 3 != 1

----------------------------------------------------------------------
Ran 2675 tests in 11.121s


I haven't yet checked, but len(w) is suspiciously "number of warning". There were some new DeprecationWarnings added in Python 3.8.0a4.

Full log attached.

Comment 1 Miro Hrončok 2019-05-24 13:14:25 UTC
Upstream CPython has reverted the DeprecationWarning for inspect.getfullargspec() and we have backported the change. Pyramid now builds.

I'm closing this, but will reopen after beta if new warnings break the tests again.


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