Your message dated Sun, 29 Apr 2018 12:05:51 +1000
with message-id <87h8nuahs0....@silverfish.pri>
and subject line corsheaders fails to import
has caused the Debian Bug report #896425,
regarding python3-django-cors-headers: corsheaders fails to import
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
896425: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896425
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-django-cors-headers
Version: 2.1.0+github-2
Severity: serious
User: helm...@debian.org
Usertags: python-import

After installing python3-django-cors-headers importing the module corsheaders
into a python interpreter fails with the following error:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/corsheaders/__init__.py", line 1, in 
<module>
    from .checks import check_settings  # noqa: F401
  File "/usr/lib/python3/dist-packages/corsheaders/checks.py", line 5, in 
<module>
    from django.core import checks
ModuleNotFoundError: No module named 'django'

The vast majority of import failures is attributed to missing dependencies.
Often times that manifests as an ImportError or ModuleNotFoundError.
Typically, dependencies should be inserted by dh-python via ${python:Depends}
or ${python3:Depends}. Thus a missing dependency can be caused by incomplete
install_requires in setup.py. Sometimes a missing dependency of a dependency
is the cause, in such cases this bug should be reassigned.

Helmut

--- End Message ---
--- Begin Message ---
Source: django-cors-headers
Source-Version: 2.1.0+github-3

This is actually a duplicate of 896419, because they both are for the
same source package.
-- 
Brian May <br...@linuxpenguins.xyz>
https://linuxpenguins.xyz/brian/

--- End Message ---

Reply via email to