Skip to content

Instantly share code, notes, and snippets.

@exarkun
Created July 3, 2017 20:37
Show Gist options
  • Save exarkun/c5c8684f8e1177359677e58f3520a2f3 to your computer and use it in GitHub Desktop.
Save exarkun/c5c8684f8e1177359677e58f3520a2f3 to your computer and use it in GitHub Desktop.
Running setup.py bdist_wheel for unittest2: started
Running setup.py bdist_wheel for unittest2: finished with status 'error'
Complete output from command /nix/store/ci2hhzxxhxdilhvk3rmrzivygjma86mm-python-2.7.13/bin/python2.7 -u -c "import setuptools, tokenize;__file__='/nix/pypi2nix/cache/pip/unittest2/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n')$
f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmp2qwjNEpip-wheel-:
/nix/store/4sn5b78skqxvr2lxlnnnbv9gqjiqdrcg-pypi2nix-bootstrap/extra/setuptools/dist.py:343: UserWarning: The version specified (<__main__.late_version instance at 0x7fd954e29bd8>) is an invalid version, this may not work as expected with newer versions of setuptools, $
ip, and PyPI. Please see PEP 440 for more details.
"details." % self.metadata.version
running bdist_wheel
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/nix/pypi2nix/cache/pip/unittest2/setup.py", line 87, in <module>
setup(**params)
File "/nix/store/ci2hhzxxhxdilhvk3rmrzivygjma86mm-python-2.7.13/lib/python2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/nix/store/ci2hhzxxhxdilhvk3rmrzivygjma86mm-python-2.7.13/lib/python2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/nix/store/ci2hhzxxhxdilhvk3rmrzivygjma86mm-python-2.7.13/lib/python2.7/distutils/dist.py", line 971, in run_command
cmd_obj.ensure_finalized()
File "/nix/store/ci2hhzxxhxdilhvk3rmrzivygjma86mm-python-2.7.13/lib/python2.7/distutils/cmd.py", line 109, in ensure_finalized
self.finalize_options()
File "/nix/store/4sn5b78skqxvr2lxlnnnbv9gqjiqdrcg-pypi2nix-bootstrap/extra/wheel/bdist_wheel.py", line 115, in finalize_options
self.data_dir = self.wheel_dist_name + '.data'
File "/nix/store/4sn5b78skqxvr2lxlnnnbv9gqjiqdrcg-pypi2nix-bootstrap/extra/wheel/bdist_wheel.py", line 141, in wheel_dist_name
safer_version(self.distribution.get_version())))
File "/nix/store/4sn5b78skqxvr2lxlnnnbv9gqjiqdrcg-pypi2nix-bootstrap/extra/wheel/bdist_wheel.py", line 50, in safer_version
return safe_version(version).replace('-', '_')
File "/nix/store/4sn5b78skqxvr2lxlnnnbv9gqjiqdrcg-pypi2nix-bootstrap/extra/pkg_resources/__init__.py", line 1387, in safe_version
return str(packaging.version.Version(version))
File "/nix/store/4sn5b78skqxvr2lxlnnnbv9gqjiqdrcg-pypi2nix-bootstrap/extra/packaging/version.py", line 200, in __init__
match = self._regex.search(version)
TypeError: expected string or buffer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment