[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3229: PyInstaller/frozen builds are currently broken due to "autobahn" requirement declaration
Tahoe-LAFS
trac at tahoe-lafs.org
Tue Jul 16 17:23:12 UTC 2019
#3229: PyInstaller/frozen builds are currently broken due to "autobahn"
requirement declaration
----------------------------------+-------------------------
Reporter: cypher | Owner:
Type: defect | Status: new
Priority: normal | Milestone: 1.14.0
Component: unknown | Version: unknown
Keywords: packaging setuptools | Launchpad Bug:
----------------------------------+-------------------------
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']
}}}
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3229>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list