Bug 1710224 - python-django FTBFS with Python 3.8
Summary: python-django FTBFS with Python 3.8
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: python-django
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Runge
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-05-15 06:56 UTC by Lumír Balhar
Modified: 2019-05-24 12:26 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 12:26:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Full build log from COPR (222.68 KB, application/gzip)
2019-05-15 06:56 UTC, Lumír Balhar
no flags Details

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.


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