Skip to content

Regression: Setuptools 3.7 installation fails with TypeError under pbr #213

@ghost

Description

Originally reported by: alex_gaynor (Bitbucket: alex_gaynor, GitHub: Unknown)


Complete reproducer:

$ mktmpenv New python executable in /Users/alex_gaynor/.virtualenvs/tempenv-4b7d34306d0a/bin/python Installing setuptools, pip...pip install -Udone. [14:24:47] (tempenv-4b7d34306d0a) ~/p/openstack-requirements (master) $ pip install -U setuptools Unpacking /Users/alex_gaynor/.pip/wheels/setuptools-4.0-py2.py3-none-any.whl Installing collected packages: setuptools Found existing installation: setuptools 3.6 Uninstalling setuptools: Successfully uninstalled setuptools Successfully installed setuptools Cleaning up... [14:24:52] (tempenv-4b7d34306d0a) ~/p/openstack-requirements (master) $ pip install --no-use-wheel python-daemon Downloading/unpacking python-daemon Using download cache from /Users/alex_gaynor/.pip/cache/https%3A%2F%2Fpypi.python.org%2Fpackages%2Fsource%2Fp%2Fpython-daemon%2Fpython-daemon-1.6.tar.gz Running setup.py (path:/Users/alex_gaynor/.virtualenvs/tempenv-4b7d34306d0a/build/python-daemon/setup.py) egg_info for package python-daemon Traceback (most recent call last): File "<string>", line 17, in <module> File "/Users/alex_gaynor/.virtualenvs/tempenv-4b7d34306d0a/build/python-daemon/setup.py", line 62, in <module> u"Topic :: Software Development :: Libraries :: Python Modules", File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "<string>", line 14, in replacement_run File "/Users/alex_gaynor/.virtualenvs/tempenv-4b7d34306d0a/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 368, in write_requirements _write_requirements(data, dist.install_requires) File "/Users/alex_gaynor/.virtualenvs/tempenv-4b7d34306d0a/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 363, in _write_requirements stream.writelines(lines) TypeError: 'unicode' does not have the buffer interface Complete output from command python setup.py egg_info: running egg_info creating pip-egg-info/python_daemon.egg-info Traceback (most recent call last): File "<string>", line 17, in <module> File "/Users/alex_gaynor/.virtualenvs/tempenv-4b7d34306d0a/build/python-daemon/setup.py", line 62, in <module> u"Topic :: Software Development :: Libraries :: Python Modules", File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py", line 152, in setup dist.run_commands() File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 953, in run_commands self.run_command(cmd) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py", line 972, in run_command cmd_obj.run() File "<string>", line 14, in replacement_run File "/Users/alex_gaynor/.virtualenvs/tempenv-4b7d34306d0a/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 368, in write_requirements _write_requirements(data, dist.install_requires) File "/Users/alex_gaynor/.virtualenvs/tempenv-4b7d34306d0a/lib/python2.7/site-packages/setuptools/command/egg_info.py", line 363, in _write_requirements stream.writelines(lines) TypeError: 'unicode' does not have the buffer interface ---------------------------------------- Cleaning up... Command python setup.py egg_info failed with error code 1 in /Users/alex_gaynor/.virtualenvs/tempenv-4b7d34306d0a/build/python-daemon Storing debug log for failure in /Users/alex_gaynor/.pip/pip.log 

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions