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 1710224

Summary: python-django FTBFS with Python 3.8
Product: [Fedora] Fedora Reporter: Lumír Balhar <lbalhar>
Component: python-djangoAssignee: Matthias Runge <mrunge>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jal233, mhroncok, michel, mrunge, sgallagh, slavek.kabrda
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-24 12:26:32 UTC Type: Bug
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    
Attachments:
Description Flags
Full build log from COPR none

Description Lumír Balhar 2019-05-15 06:56:23 UTC
Created attachment 1568804 [details]
Full build log from COPR

python-django-2.2-1.fc31 fails to build from source in Fedora rawhide with Python 3.8. The test failure is:

BUILDSTDERR: FAIL: test_configure_user_deprecation_warning (auth_tests.test_remote_user_deprecation.RemoteUserCustomTest)
BUILDSTDERR: ----------------------------------------------------------------------
BUILDSTDERR: Traceback (most recent call last):
BUILDSTDERR:   File "/builddir/build/BUILD/Django-2.2/tests/auth_tests/test_remote_user_deprecation.py", line 42, in test_configure_user_deprecation_warning
BUILDSTDERR:     self.assertEqual(len(warns), 1)
BUILDSTDERR: AssertionError: 4 != 1
BUILDSTDERR: ----------------------------------------------------------------------
BUILDSTDERR: Ran 12718 tests in 590.139s
BUILDSTDERR: FAILED (failures=1, skipped=935, expected failures=4)
BUILDSTDERR: Destroying test database for alias 'default' ('file:memorydb_default?mode=memory&cache=shared')...
BUILDSTDERR: Destroying test database for alias 'other' ('file:memorydb_other?mode=memory&cache=shared')...
 OK
  Applying sites_framework.0001_initial... OK
System check identified no issues (14 silenced).
BUILDSTDERR: error: Bad exit status from /var/tmp/rpm-tmp.kt1OOw (%check)
RPM build errors:
BUILDSTDERR:     Bad exit status from /var/tmp/rpm-tmp.kt1OOw (%check)
Child return code was: 1

Comment 1 Miro Hrončok 2019-05-24 12:26:32 UTC
Upstream Cpython has reverted the DeprecationWarning for inspect.getfullargspec() and we have backported the change. Django now builds.

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