#3229 closed defect (fixed)

PyInstaller/frozen builds are currently broken due to "autobahn" requirement declaration

Reported by: cypher Owned by: Chris Wood <chris@…>
Priority: normal Milestone: 1.14.0
Component: unknown Version: unknown
Keywords: packaging setuptools Cc:
Launchpad Bug:

Description

Commit 0cb1ba8634e463f3f1e4d111aac69bbee9004f67 added "autobahn" to allmydata._auto_deps.install_requires but did not include it in allmydata._auto_deps.package_imports. This omission causes PyInstaller?-generated "frozen" binaries of Tahoe-LAFS to fail with the following error:

Traceback (most recent call last):
  File "tahoe.py", line 4, in <module>
  File "/tmp/pip-install-sDdIlW/pyinstaller/PyInstaller/loader/pyimod03_importers.py", line 395, in load_module
  File "site-packages/allmydata/__init__.py", line 483, in <module>
  File "site-packages/allmydata/__init__.py", line 481, in check_all_requirements
allmydata.PackagingError: 
PackagingError: no version info for autobahn

For debugging purposes, the PYTHONPATH was
  None
install_requires was
  ['setuptools >= 28.8.0', 'zfec >= 1.1.0', 'zope.interface >= 3.6.0, != 3.6.3, != 3.6.4', 'foolscap >= 0.12.6', 'cryptography >= 2.3', 'service-identity', 'characteristic >= 14.0.0', 'pyasn1 >= 0.1.8', 'pyasn1-modules >= 0.0.5', 'Twisted[tls,conch] >= 16.6.0', 'Nevow >= 0.11.1', 'pyOpenSSL >= 0.14', 'PyYAML >= 3.11', 'six >= 1.10.0', 'magic-wormhole >= 0.10.2', 'eliot >= 1.7.0, <= 1.7.100', 'attrs >= 18.2.0', 'autobahn >= 19.5.2']

Change History (3)

comment:2 Changed at 2019-07-17T16:55:07Z by Chris Wood <chris@…>

  • Owner set to Chris Wood <chris@…>
  • Resolution set to fixed
  • Status changed from new to closed

In b185ee5/trunk:

Add "autobahn" to "package_imports"

This fixes PyInstaller?-generated "frozen" binaries which, without
this, fail to run with "allmydata.PackagingError?: no version info
for autobahn"

fixes:ticket:3229

comment:3 Changed at 2019-07-25T12:42:56Z by exarkun

was this a duplicate of ticket:3050?

Note: See TracTickets for help on using tickets.