[PKG-Openstack-devel] Bug#833037: python-factory-boy: missing depends on ipaddress

Brian May bam at debian.org
Sun Jul 31 07:24:03 UTC 2016


Package: python-factory-boy
Version: 2.7.0-2
Severity: important

Apologies if this actually is a bug in python-fake-factory, not sure.

(sid-amd64-default)root at prune:/home/brian/tree/karaage/karaage-debian# apt-get install python3-factory-boy python-factory-boy
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  dh-python file libexpat1 libmagic-mgc libmagic1 libmpdec2 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib
  libpython3.5-minimal libpython3.5-stdlib libsqlite3-0 mime-support python python-dateutil python-fake-factory python-minimal python-six
  python2.7 python2.7-minimal python3 python3-dateutil python3-fake-factory python3-minimal python3-six python3.5 python3.5-minimal
Suggested packages:
  python-doc python-tk python-factory-boy-doc python2.7-doc binfmt-support python3-doc python3-tk python3-venv python3.5-venv
  python3.5-doc
The following NEW packages will be installed:
  dh-python file libexpat1 libmagic-mgc libmagic1 libmpdec2 libpython-stdlib libpython2.7-minimal libpython2.7-stdlib libpython3-stdlib
  libpython3.5-minimal libpython3.5-stdlib libsqlite3-0 mime-support python python-dateutil python-factory-boy python-fake-factory
  python-minimal python-six python2.7 python2.7-minimal python3 python3-dateutil python3-factory-boy python3-fake-factory python3-minimal
  python3-six python3.5 python3.5-minimal
0 upgraded, 30 newly installed, 0 to remove and 0 not upgraded.
Need to get 10.8 MB of archives.
After this operation, 51.6 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Get:1 http://localhost:9999/debian sid/main amd64 libpython2.7-minimal amd64 2.7.12-1 [387 kB]
Get:2 http://localhost:9999/debian sid/main amd64 python2.7-minimal amd64 2.7.12-1 [1345 kB]
Get:3 http://localhost:9999/debian sid/main amd64 python-minimal amd64 2.7.11-2 [40.3 kB]
Get:4 http://localhost:9999/debian sid/main amd64 mime-support all 3.60 [36.7 kB]
Get:5 http://localhost:9999/debian sid/main amd64 libexpat1 amd64 2.2.0-1 [82.0 kB]
Get:6 http://localhost:9999/debian sid/main amd64 libsqlite3-0 amd64 3.13.0-1 [558 kB]
Get:7 http://localhost:9999/debian sid/main amd64 libpython2.7-stdlib amd64 2.7.12-1 [1878 kB]
Get:8 http://localhost:9999/debian sid/main amd64 python2.7 amd64 2.7.12-1 [276 kB]
Get:9 http://localhost:9999/debian sid/main amd64 libpython-stdlib amd64 2.7.11-2 [19.8 kB]
Get:10 http://localhost:9999/debian sid/main amd64 python amd64 2.7.11-2 [153 kB]
Get:11 http://localhost:9999/debian sid/main amd64 libpython3.5-minimal amd64 3.5.2-2 [567 kB]
Get:12 http://localhost:9999/debian sid/main amd64 python3.5-minimal amd64 3.5.2-2 [1642 kB]
Get:13 http://localhost:9999/debian sid/main amd64 python3-minimal amd64 3.5.1-4 [35.3 kB]
Get:14 http://localhost:9999/debian sid/main amd64 libmpdec2 amd64 2.4.2-1 [85.2 kB]
Get:15 http://localhost:9999/debian sid/main amd64 libpython3.5-stdlib amd64 3.5.2-2 [2132 kB]
Get:16 http://localhost:9999/debian sid/main amd64 python3.5 amd64 3.5.2-2 [210 kB]
Get:17 http://localhost:9999/debian sid/main amd64 libpython3-stdlib amd64 3.5.1-4 [18.6 kB]
Get:18 http://localhost:9999/debian sid/main amd64 dh-python all 2.20160721 [82.2 kB]
Get:19 http://localhost:9999/debian sid/main amd64 python3 amd64 3.5.1-4 [21.6 kB]
Get:20 http://localhost:9999/debian sid/main amd64 libmagic-mgc amd64 1:5.28-4 [210 kB]
Get:21 http://localhost:9999/debian sid/main amd64 libmagic1 amd64 1:5.28-4 [109 kB]
Get:22 http://localhost:9999/debian sid/main amd64 file amd64 1:5.28-4 [62.9 kB]
Get:23 http://localhost:9999/debian sid/main amd64 python-six all 1.10.0-3 [14.4 kB]
Get:24 http://localhost:9999/debian sid/main amd64 python-dateutil all 2.4.2-1 [42.6 kB]
Get:25 http://localhost:9999/debian sid/main amd64 python-fake-factory all 0.5.7-1 [344 kB]
Get:26 http://localhost:9999/debian sid/main amd64 python-factory-boy all 2.7.0-2 [32.6 kB]
Get:27 http://localhost:9999/debian sid/main amd64 python3-six all 1.10.0-3 [14.4 kB]
Get:28 http://localhost:9999/debian sid/main amd64 python3-dateutil all 2.4.2-1 [39.2 kB]
Get:29 http://localhost:9999/debian sid/main amd64 python3-fake-factory all 0.5.7-1 [345 kB]
Get:30 http://localhost:9999/debian sid/main amd64 python3-factory-boy all 2.7.0-2 [32.7 kB]
Fetched 10.8 MB in 12s (869 kB/s)
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libpython2.7-minimal:amd64.
(Reading database ... 12993 files and directories currently installed.)
Preparing to unpack .../libpython2.7-minimal_2.7.12-1_amd64.deb ...
Unpacking libpython2.7-minimal:amd64 (2.7.12-1) ...
Selecting previously unselected package python2.7-minimal.
Preparing to unpack .../python2.7-minimal_2.7.12-1_amd64.deb ...
Unpacking python2.7-minimal (2.7.12-1) ...
Selecting previously unselected package python-minimal.
Preparing to unpack .../python-minimal_2.7.11-2_amd64.deb ...
Unpacking python-minimal (2.7.11-2) ...
Selecting previously unselected package mime-support.
Preparing to unpack .../mime-support_3.60_all.deb ...
Unpacking mime-support (3.60) ...
Selecting previously unselected package libexpat1:amd64.
Preparing to unpack .../libexpat1_2.2.0-1_amd64.deb ...
Unpacking libexpat1:amd64 (2.2.0-1) ...
Selecting previously unselected package libsqlite3-0:amd64.
Preparing to unpack .../libsqlite3-0_3.13.0-1_amd64.deb ...
Unpacking libsqlite3-0:amd64 (3.13.0-1) ...
Selecting previously unselected package libpython2.7-stdlib:amd64.
Preparing to unpack .../libpython2.7-stdlib_2.7.12-1_amd64.deb ...
Unpacking libpython2.7-stdlib:amd64 (2.7.12-1) ...
Selecting previously unselected package python2.7.
Preparing to unpack .../python2.7_2.7.12-1_amd64.deb ...
Unpacking python2.7 (2.7.12-1) ...
Selecting previously unselected package libpython-stdlib:amd64.
Preparing to unpack .../libpython-stdlib_2.7.11-2_amd64.deb ...
Unpacking libpython-stdlib:amd64 (2.7.11-2) ...
Processing triggers for libc-bin (2.23-4) ...
Setting up libpython2.7-minimal:amd64 (2.7.12-1) ...
Setting up python2.7-minimal (2.7.12-1) ...
Linking and byte-compiling packages for runtime python2.7...
Setting up python-minimal (2.7.11-2) ...
Selecting previously unselected package python.
(Reading database ... 13782 files and directories currently installed.)
Preparing to unpack .../python_2.7.11-2_amd64.deb ...
Unpacking python (2.7.11-2) ...
Selecting previously unselected package libpython3.5-minimal:amd64.
Preparing to unpack .../libpython3.5-minimal_3.5.2-2_amd64.deb ...
Unpacking libpython3.5-minimal:amd64 (3.5.2-2) ...
Selecting previously unselected package python3.5-minimal.
Preparing to unpack .../python3.5-minimal_3.5.2-2_amd64.deb ...
Unpacking python3.5-minimal (3.5.2-2) ...
Selecting previously unselected package python3-minimal.
Preparing to unpack .../python3-minimal_3.5.1-4_amd64.deb ...
Unpacking python3-minimal (3.5.1-4) ...
Selecting previously unselected package libmpdec2:amd64.
Preparing to unpack .../libmpdec2_2.4.2-1_amd64.deb ...
Unpacking libmpdec2:amd64 (2.4.2-1) ...
Selecting previously unselected package libpython3.5-stdlib:amd64.
Preparing to unpack .../libpython3.5-stdlib_3.5.2-2_amd64.deb ...
Unpacking libpython3.5-stdlib:amd64 (3.5.2-2) ...
Selecting previously unselected package python3.5.
Preparing to unpack .../python3.5_3.5.2-2_amd64.deb ...
Unpacking python3.5 (3.5.2-2) ...
Selecting previously unselected package libpython3-stdlib:amd64.
Preparing to unpack .../libpython3-stdlib_3.5.1-4_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.5.1-4) ...
Selecting previously unselected package dh-python.
Preparing to unpack .../dh-python_2.20160721_all.deb ...
Unpacking dh-python (2.20160721) ...
Processing triggers for libc-bin (2.23-4) ...
Setting up libpython3.5-minimal:amd64 (3.5.2-2) ...
Setting up libexpat1:amd64 (2.2.0-1) ...
Setting up python3.5-minimal (3.5.2-2) ...
Setting up python3-minimal (3.5.1-4) ...
Processing triggers for libc-bin (2.23-4) ...
Selecting previously unselected package python3.
(Reading database ... 14757 files and directories currently installed.)
Preparing to unpack .../python3_3.5.1-4_amd64.deb ...
Unpacking python3 (3.5.1-4) ...
Selecting previously unselected package libmagic-mgc.
Preparing to unpack .../libmagic-mgc_1%3a5.28-4_amd64.deb ...
Unpacking libmagic-mgc (1:5.28-4) ...
Selecting previously unselected package libmagic1:amd64.
Preparing to unpack .../libmagic1_1%3a5.28-4_amd64.deb ...
Unpacking libmagic1:amd64 (1:5.28-4) ...
Selecting previously unselected package file.
Preparing to unpack .../file_1%3a5.28-4_amd64.deb ...
Unpacking file (1:5.28-4) ...
Selecting previously unselected package python-six.
Preparing to unpack .../python-six_1.10.0-3_all.deb ...
Unpacking python-six (1.10.0-3) ...
Selecting previously unselected package python-dateutil.
Preparing to unpack .../python-dateutil_2.4.2-1_all.deb ...
Unpacking python-dateutil (2.4.2-1) ...
Selecting previously unselected package python-fake-factory.
Preparing to unpack .../python-fake-factory_0.5.7-1_all.deb ...
Unpacking python-fake-factory (0.5.7-1) ...
Selecting previously unselected package python-factory-boy.
Preparing to unpack .../python-factory-boy_2.7.0-2_all.deb ...
Unpacking python-factory-boy (2.7.0-2) ...
Selecting previously unselected package python3-six.
Preparing to unpack .../python3-six_1.10.0-3_all.deb ...
Unpacking python3-six (1.10.0-3) ...
Selecting previously unselected package python3-dateutil.
Preparing to unpack .../python3-dateutil_2.4.2-1_all.deb ...
Unpacking python3-dateutil (2.4.2-1) ...
Selecting previously unselected package python3-fake-factory.
Preparing to unpack .../python3-fake-factory_0.5.7-1_all.deb ...
Unpacking python3-fake-factory (0.5.7-1) ...
Selecting previously unselected package python3-factory-boy.
Preparing to unpack .../python3-factory-boy_2.7.0-2_all.deb ...
Unpacking python3-factory-boy (2.7.0-2) ...
Processing triggers for libc-bin (2.23-4) ...
Setting up mime-support (3.60) ...
Setting up libmagic-mgc (1:5.28-4) ...
Setting up libmagic1:amd64 (1:5.28-4) ...
Setting up libsqlite3-0:amd64 (3.13.0-1) ...
Setting up libpython2.7-stdlib:amd64 (2.7.12-1) ...
Setting up libmpdec2:amd64 (2.4.2-1) ...
Setting up libpython3.5-stdlib:amd64 (3.5.2-2) ...
Setting up python2.7 (2.7.12-1) ...
Setting up file (1:5.28-4) ...
Setting up libpython-stdlib:amd64 (2.7.11-2) ...
Setting up python (2.7.11-2) ...
Setting up python3.5 (3.5.2-2) ...
Setting up libpython3-stdlib:amd64 (3.5.1-4) ...
Setting up python-six (1.10.0-3) ...
Setting up python-dateutil (2.4.2-1) ...
Setting up python-fake-factory (0.5.7-1) ...
Setting up python-factory-boy (2.7.0-2) ...
Setting up python3 (3.5.1-4) ...
running python rtupdate hooks for python3.5...
running python post-rtupdate hooks for python3.5...
Setting up python3-six (1.10.0-3) ...
Setting up dh-python (2.20160721) ...
Setting up python3-dateutil (2.4.2-1) ...
Setting up python3-fake-factory (0.5.7-1) ...
Setting up python3-factory-boy (2.7.0-2) ...
Processing triggers for libc-bin (2.23-4) ...
(sid-amd64-default)root at prune:/home/brian/tree/karaage/karaage-debian# python
Python 2.7.12 (default, Jun 29 2016, 08:18:26)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import factory
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/factory/__init__.py", line 46, in <module>
    from .faker import Faker
  File "/usr/lib/python2.7/dist-packages/factory/faker.py", line 41, in <module>
    import faker
  File "/usr/lib/python2.7/dist-packages/faker/__init__.py", line 4, in <module>
    from faker.factory import Factory
  File "/usr/lib/python2.7/dist-packages/faker/factory.py", line 10, in <module>
    from faker.config import DEFAULT_LOCALE, PROVIDERS, AVAILABLE_LOCALES
  File "/usr/lib/python2.7/dist-packages/faker/config.py", line 13, in <module>
    AVAILABLE_LOCALES = find_available_locales(PROVIDERS)
  File "/usr/lib/python2.7/dist-packages/faker/utils/loading.py", line 19, in find_available_locales
    provider_module = import_module(provider_path)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
    __import__(name)
  File "/usr/lib/python2.7/dist-packages/faker/providers/internet/__init__.py", line 6, in <module>
    from ipaddress import ip_address, ip_network, IPV4LENGTH, IPV6LENGTH
ImportError: No module named ipaddress
>>>
(sid-amd64-default)root at prune:/home/brian/tree/karaage/karaage-debian# python3
Python 3.5.2 (default, Jul  5 2016, 11:33:36)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import factory
>>>



More information about the Openstack-devel mailing list