Bug 1531595

Summary: python-django-mptt: FTBFS in Fedora rawhide
Product: [Fedora] Fedora Reporter: Lumír Balhar <lbalhar>
Component: python-django-mpttAssignee: Matthias Runge <mrunge>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: jakub.dornak, mrunge
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: http://apps.fedoraproject.org/koschei/package/python-django-mptt
Whiteboard:
Fixed In Version: python-django-mptt-0.8.6-5.fc27 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-01 20:13:46 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:

Description Lumír Balhar 2018-01-05 15:46:07 UTC
Description of problem:
Package python-django-mptt fails to build from source in Fedora rawhide.

Version-Release number of selected component (if applicable):
0.8.6-3.fc26

Steps to Reproduce:
koji build --scratch f28 python-django-mptt-0.8.6-3.fc26.src.rpm

Build result: https://koji.fedoraproject.org/koji/taskinfo?taskID=24015873

Additional info:
This package is tracked by Koschei. See:
http://apps.fedoraproject.org/koschei/package/python-django-mptt

Comment 1 Fedora End Of Life 2018-02-20 15:35:25 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.

Comment 2 Lumír Balhar 2018-03-20 11:44:15 UTC
The problem was fixed for rawhide and F28 but still exists for F27.

Build failure is caused by tests:

======================================================================
FAIL: test_run_doctest (tests.myapp.tests.DocTestTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/builddir/build/BUILD/django-mptt-0.8.6/tests/myapp/tests.py", line 130, in test_run_doctest
    self.fail()
AssertionError: None
----------------------------------------------------------------------
Ran 95 tests in 3.342s
FAILED (failures=1, skipped=4)
    <option value="3">+--+-- 2D Platformer</option>
    <option value="4">+--+-- 3D Platformer</option>
    <option value="5">+--+-- 4D Platformer</option>
    <option value="6"> Role-playing Game</option>
    <option value="8">+-- Tactical RPG</option>
    </select>
Got:
    <select name="target" required id="id_target" size="5">
      <option value="" selected>---------</option>
    <BLANKLINE>
      <option value="1"> Action</option>
    <BLANKLINE>
      <option value="2">+-- Platformer</option>
    <BLANKLINE>
      <option value="3">+--+-- 2D Platformer</option>
    <BLANKLINE>
      <option value="4">+--+-- 3D Platformer</option>
    <BLANKLINE>
      <option value="5">+--+-- 4D Platformer</option>
    <BLANKLINE>
      <option value="6"> Role-playing Game</option>
    <BLANKLINE>
      <option value="8">+-- Tactical RPG</option>
    <BLANKLINE>
    </select>
**********************************************************************
File "/tmp/tmpsqVPQQ", line 204, in tmpsqVPQQ
Failed example:
    print(form['position'])
Expected:
    <select id="id_position" name="position"...>
    <option value="left">left</option>
    </select>
Got:
    <select name="position" id="id_position">
      <option value="left">left</option>
    <BLANKLINE>
    </select>
**********************************************************************
1 items had failures:
   8 of 563 in tmpsqVPQQ
***Test Failed*** 8 failures.
Destroying test database for alias 'default' (':memory:')...

Comment 3 Fedora Update System 2018-03-23 07:35:31 UTC
python-django-mptt-0.8.6-5.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-7c2894f940

Comment 4 Fedora Update System 2018-03-23 17:47:39 UTC
python-django-mptt-0.8.6-5.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-7c2894f940

Comment 5 Fedora Update System 2018-04-01 20:13:46 UTC
python-django-mptt-0.8.6-5.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.