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 1759926 - python-django-debreach fails to build in Fedora 32 with Django 3
Summary: python-django-debreach fails to build in Fedora 32 with Django 3
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: python-django-debreach
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Javier Peña
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F32FTBFS DJANGO3
TreeView+ depends on / blocked
 
Reported: 2019-10-09 12:38 UTC by Miro Hrončok
Modified: 2019-10-10 09:26 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-10 09:26:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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