[Python-modules-team] Bug#828047: python3-pip: Trying to run EmailHarvester results in syntax error in validator

LIAR gm at presans.com
Fri Jun 24 10:17:14 UTC 2016


Package: python3-pip
Version: 1.1-3
Severity: important

Dear Maintainer,
*** Please consider answering these questions, where appropriate ***

   * What led up to the situation?

# be on Debian 7, as up-to-date as possible
# apt-get install python3
# apt-get install python3-pip
$ git clone https://github.com/maldevel/EmailHarvester.git
$ pip-3.2 install -r requirements.txt --user
$ python3 EmailHarvester.py -d test.com -l 50 -e google
Traceback (most recent call last):
  File "./Softs/EmailHarvester/EmailHarvester.py", line 42, in <module>
    import validators
  File "/home/gmuller/.local/lib/python3.2/site-packages/validators/__init__.py", line 1, in <module>
    from .between import between  # noqa
  File "/home/gmuller/.local/lib/python3.2/site-packages/validators/between.py", line 2, in <module>
    from .utils import validator
  File "/home/gmuller/.local/lib/python3.2/site-packages/validators/utils.py", line 18
    return u'ValidationFailure(func={func}, args={args})'.format(
                                                        ^
SyntaxError: invalid syntax

It runs perfectly on Ubuntu 16.04 and Debian 8... The only difference is python3-pip installs a command called pip3 instead of pip-3.2

*** End of the template - remove these lines ***


-- System Information:
Debian Release: 7.11
  APT prefers oldstable
  APT policy: (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14.32-xxxx-grs-ipv6-64 (SMP w/16 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python3-pip depends on:
ii  python3                3.2.3-6
ii  python3-pkg-resources  0.6.24-1
ii  python3-setuptools     0.6.24-1
ii  python3.2              3.2.3-7

Versions of packages python3-pip recommends:
ii  build-essential  11.5
ii  python3-dev      3.2.3-6

python3-pip suggests no packages.

-- no debconf information



More information about the Python-modules-team mailing list