Skip to content

setuptools 34.0.1 fails on python 2.7  #939

@projekt01

Description

@projekt01

setuptools 34.0.1 with python 2.7.11 on Windows 64 bit fails if used with zc.buildout with the following error after "auto" upgrade to the newest setutools version 34.0.1 with the following traceback:

bin\buildout.exe
Upgraded:
  setuptools version 34.0.1;
restarting.
Generated script 'D:\\...\\bin\\buildout'.
Develop: 'D:\\...\\trunk\\.'
Traceback (most recent call last):
  File "c:\tmp\tmpqbbwgz", line 6, in <module>
    import os, setuptools
  File "d:\home\.buildout\eggs\setuptools-34.0.1-py2.7.egg\setuptools\__init__.py", line 12, in <module>
    import setuptools.version
  File "d:\home\.buildout\eggs\setuptools-34.0.1-py2.7.egg\setuptools\version.py", line 1, in <module>
    import pkg_resources
  File "d:\home\.buildout\eggs\setuptools-34.0.1-py2.7.egg\pkg_resources\__init__.py", line 70, in <module>
    import packaging.version
ImportError: No module named packaging.version
While:
  Installing.
  Processing develop directory ...\\trunk\\.'.

An internal error occurred due to a bug in either zc.buildout or in a
recipe being used:
Traceback (most recent call last):
  File "d:\home\.buildout\eggs\zc.buildout-2.5.3-py2.7.egg\zc\buildout\buildout.py", line 1995, in main
    getattr(buildout, command)(args)
  File "d:\home\.buildout\eggs\zc.buildout-2.5.3-py2.7.egg\zc\buildout\buildout.py", line 528, in install
    installed_develop_eggs = self._develop()
  File "d:\home\.buildout\eggs\zc.buildout-2.5.3-py2.7.egg\zc\buildout\buildout.py", line 770, in _develop
    zc.buildout.easy_install.develop(setup, dest)
  File "d:\home\.buildout\eggs\zc.buildout-2.5.3-py2.7.egg\zc\buildout\easy_install.py", line 996, in develop
    call_subprocess(args)
  File "d:\home\.buildout\eggs\zc.buildout-2.5.3-py2.7.egg\zc\buildout\easy_install.py", line 160, in call_subprocess
    % repr(args)[1:-1])
Exception: Failed to run command:
'C:\\Python27\\python.exe', 'c:\\tmp\\tmpqbbwgz', '-q', 'develop', '-mN', '-d', 'D:\\..\\trunk\\develop-eggs\\tmpa7ydv3build'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions