Skip to content

Instantly share code, notes, and snippets.

@derwolfe
Created January 5, 2016 14:38
Show Gist options
  • Select an option

  • Save derwolfe/4ca24391be20dc70d9ae to your computer and use it in GitHub Desktop.

Select an option

Save derwolfe/4ca24391be20dc70d9ae to your computer and use it in GitHub Desktop.
wheel failing to build with pypy-4.0.1+ds
running install_scripts
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-v7Avhg/cryptography/setup.py", line 318, in <module>
**keywords_with_side_effects(sys.argv)
File "/usr/lib/pypy/lib-python/2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/appenv/site-packages/wheel/bdist_wheel.py", line 214, in run
archive_basename = self.get_archive_basename()
File "/appenv/site-packages/wheel/bdist_wheel.py", line 162, in get_archive_basename
impl_tag, abi_tag, plat_tag = self.get_tag()
File "/appenv/site-packages/wheel/bdist_wheel.py", line 156, in get_tag
assert tag == supported_tags[0]
AssertionError
  1. Have docker running
  2. git clone git@github.com:derwolfe/deployme.git
  3. ./build.sh

Cryptography and Twisted will fail to build wheels using pypy, but will succeed on cpython.

Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/tmp/pip-build-v7Avhg/twisted/setup.py", line 64, in <module>
main(sys.argv[1:])
File "/tmp/pip-build-v7Avhg/twisted/setup.py", line 59, in main
setup(**setup_args)
File "./twisted/python/dist.py", line 131, in setup
return core.setup(**get_setup_args(**kw))
File "/usr/lib/pypy/lib-python/2.7/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 953, in run_commands
self.run_command(cmd)
File "/usr/lib/pypy/lib-python/2.7/distutils/dist.py", line 972, in run_command
cmd_obj.run()
File "/appenv/site-packages/wheel/bdist_wheel.py", line 214, in run
archive_basename = self.get_archive_basename()
File "/appenv/site-packages/wheel/bdist_wheel.py", line 162, in get_archive_basename
impl_tag, abi_tag, plat_tag = self.get_tag()
File "/appenv/site-packages/wheel/bdist_wheel.py", line 156, in get_tag
assert tag == supported_tags[0]
AssertionError
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment