Your message dated Mon, 07 May 2018 06:51:07 +0000
with message-id <[email protected]>
and subject line Bug#896272: fixed in python-django-netfields 0.8-2
has caused the Debian Bug report #896272,
regarding python3-django-netfields: netfields 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 [email protected]
immediately.)
--
896272: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=896272
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-django-netfields
Version: 0.8-1
Severity: serious
User: [email protected]
Usertags: python-import
After installing python3-django-netfields importing the module netfields
into a python interpreter fails with the following error:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/django/db/backends/postgresql/base.py",
line 21, in <module>
import psycopg2 as Database
ModuleNotFoundError: No module named 'psycopg2'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/lib/python3/dist-packages/netfields/__init__.py", line 2, in
<module>
from netfields.fields import (InetAddressField, CidrAddressField,
File "/usr/lib/python3/dist-packages/netfields/fields.py", line 3, in <module>
from django.db.backends.postgresql_psycopg2.base import DatabaseWrapper
File
"/usr/lib/python3/dist-packages/django/db/backends/postgresql_psycopg2/base.py",
line 1, in <module>
from ..postgresql.base import * # NOQA
File "/usr/lib/python3/dist-packages/django/db/backends/postgresql/base.py",
line 25, in <module>
raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e)
django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: No
module named 'psycopg2'
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: python-django-netfields
Source-Version: 0.8-2
We believe that the bug you reported is fixed in the latest version of
python-django-netfields, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Fladischer <[email protected]> (supplier of updated
python-django-netfields package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Mon, 07 May 2018 08:28:24 +0200
Source: python-django-netfields
Binary: python3-django-netfields
Architecture: source all
Version: 0.8-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<[email protected]>
Changed-By: Michael Fladischer <[email protected]>
Description:
python3-django-netfields - Django PostgreSQL netfields implementation (Python3
version)
Closes: 896272
Changes:
python-django-netfields (0.8-2) unstable; urgency=medium
.
[ Ondřej Nový ]
* d/control: Set Vcs-* to salsa.debian.org
.
[ Michael Fladischer ]
* Bump debhelper compatibility and version to 11.
* Bump Standards-Version to 4.1.4.
* Remove X-Python3-Version field as it is no longer applicable.
* Add python3-psycopg2 to Depends (Closes: #896272).
Checksums-Sha1:
9beb0c7ba31d6e2c194eecd781945fe847948164 1837 python-django-netfields_0.8-2.dsc
1f513658bcdae29320c810c99f288684f58877b0 14745
python-django-netfields_0.8.orig.tar.gz
721cb1eb19a1b4d16d9d9bd51ef5f49735d71717 2708
python-django-netfields_0.8-2.debian.tar.xz
1f7e664a3d1a0e8545a453fe8387b0e556c6e6c1 6503
python-django-netfields_0.8-2_amd64.buildinfo
8112e0118cde5ab34b07459cca96ceabd802621b 13504
python3-django-netfields_0.8-2_all.deb
Checksums-Sha256:
b7289c9ee26a9e41584d0b600e9019edc2d3986feac9ef4b77cb1b9296befe98 1837
python-django-netfields_0.8-2.dsc
5c8d4840652799e290849590c013a112da069f47e89e1064ed18671cac26268c 14745
python-django-netfields_0.8.orig.tar.gz
08bcf90ada83e97b290fb6862b6df065ce0113b4072f0bba2db5c712cfc2475e 2708
python-django-netfields_0.8-2.debian.tar.xz
2e9b10687e3d8b62f9563ac6d292a1e3375276e977319374d2eff1f31e5f1eeb 6503
python-django-netfields_0.8-2_amd64.buildinfo
538e7a0a1754620bf8a92e27d2874c3f8c95c54549866c6d9a92a8c3d916c59e 13504
python3-django-netfields_0.8-2_all.deb
Files:
73be886140ae01d00eb060930c915872 1837 python optional
python-django-netfields_0.8-2.dsc
da82a6b51b278bb25ebb05d21adb84ff 14745 python optional
python-django-netfields_0.8.orig.tar.gz
790e08c0b7450f53365ebcdc379f9701 2708 python optional
python-django-netfields_0.8-2.debian.tar.xz
72624c8eb0399c729804a6bec255b504 6503 python optional
python-django-netfields_0.8-2_amd64.buildinfo
62096a3e6efcb9889c9c1cd85a0b7671 13504 python optional
python3-django-netfields_0.8-2_all.deb
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCgAdFiEEqVSlRXW87UkkCnJc/9PIi5l90WoFAlrv8soACgkQ/9PIi5l9
0WqAyAf6AyIAgJRGLrw29J8WfV3A623oXSbOEyvdVDcDj95eNOVkqQOSCjOioOzJ
1w1buSh/BB025tCa8sUjF44nrB6jrsmMikIQOv/6nDcZKTYsEBFVsb1A9JLvEXtG
O3wRZACxrWwkxRZ1rFclukd6LL+EB3+i9nu3Yh4vYvkr2uZPqumUEudfnr41DbcF
rP3zwhHcQMuRfB+lWMwurcHwzfPwbuxS02ak2J8NmgjBLgWhQhogSAM2qiiWXzPE
jGsgyzCPa3qGU3D6U+AV71j3+F6eBaBYc+pW1BO0/8GCrheb20EU3QosYxWH3dF5
IL2JnHJ/eHPdlDtd/gFGC9ejEfDaGQ==
=aPjZ
-----END PGP SIGNATURE-----
--- End Message ---
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team