Bug 1759926

Summary: python-django-debreach fails to build in Fedora 32 with Django 3
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: python-django-debreachAssignee: Javier Peña <jpena>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jpena, mrunge
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-10-10 09:26:10 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: 1750908, 1758690    

Description Miro Hrončok 2019-10-09 12:38:06 UTC
Description of problem:
python-django-debreach fails to build in Fedora with Django 3
See https://fedoraproject.org/wiki/Changes/Django3

Version-Release number of selected component (if applicable):
python-django-debreach-1.5.2-5.fc32

How reproducible:
[python-django-debreach (master)]$ fedpkg --release master build

======================================================================
ERROR: debreach.tests (unittest.loader._FailedTest)
----------------------------------------------------------------------
ImportError: Failed to import test module: debreach.tests
Traceback (most recent call last):
  File "/usr/lib64/python3.8/unittest/loader.py", line 436, in _find_test_path
    module = self._get_module_from_name(name)
  File "/usr/lib64/python3.8/unittest/loader.py", line 377, in _get_module_from_name
    __import__(name)
  File "/builddir/build/BUILD/django-debreach-1.5.2/debreach/tests.py", line 17, in <module>
    from debreach.context_processors import csrf
  File "/builddir/build/BUILD/django-debreach-1.5.2/debreach/context_processors.py", line 9, in <module>
    from django.utils.six import text_type
ModuleNotFoundError: No module named 'django.utils.six'
----------------------------------------------------------------------

Comment 1 Javier Peña 2019-10-09 16:22:36 UTC
I have checked the upstream repo, and the issue has not been resolved upstream yet. I have opened https://github.com/lpomfrey/django-debreach/issues/17 to track this.

Comment 2 Javier Peña 2019-10-10 09:26:10 UTC
The bug has been closed upstream, and version 2.0.1 has been released. https://koji.fedoraproject.org/koji/taskinfo?taskID=38198180 is the build for Rawhide.