Source: tox
Severity: important

Hello,
except for the rather surprising usage of Py3k-only for tox (which is not
mentioned in the package description) while still using the python- format, that
can cause problems when installing packages with are not py3k-ready; real world
example is OpenStack Nova (https://github.com/openstack/nova.git) where to
generate its documentation you need to run 'tox -e docs', result is:

...
Downloading/unpacking wsgiref>=0.1.2 (from -r
/home/morph/openstack/nova/requirements.txt (line 33))
  Downloading wsgiref-0.1.2.zip
  Running setup.py
(path:/home/morph/openstack/nova/.tox/pep8/build/wsgiref/setup.py)
egg_info for package wsgiref
    Traceback (most recent call last):
      File "<string>", line 17, in <module>
      File "/home/morph/openstack/nova/.tox/pep8/build/wsgiref/setup.py",
line 5, in <module>
        import ez_setup
      File 
"/home/morph/openstack/nova/.tox/pep8/build/wsgiref/ez_setup/__init__.py",
line 170
        print "Setuptools version",version,"or greater has been
installed."
                                 ^
    SyntaxError: Missing parentheses in call to 'print'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 17, in <module>

  File "/home/morph/openstack/nova/.tox/pep8/build/wsgiref/setup.py",
line 5, in <module>

    import ez_setup

  File 
"/home/morph/openstack/nova/.tox/pep8/build/wsgiref/ez_setup/__init__.py",
line 170

    print "Setuptools version",version,"or greater has been installed."
...

which is caused by https://pypi.python.org/pypi/wsgiref be usable only on py <
3.2; that also mean that tox being only py3k aware, it tries to use a py3k
stack, which cannot be assure to be always possible.

As a proof of this problem I tried installin a 2.7 tox version and the wsgiref
installation is passed without any problems.

Can a "conservative" 2.x version be shipped too?

Regards,
Sandro

-- System Information:
Debian Release: jessie/sid
  APT prefers testing-updates
  APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 3.14-2-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_IE.UTF-8, LC_CTYPE=en_IE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to