Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PyInstaller bundling #7064

Merged
merged 1 commit into from
May 20, 2021
Merged

Conversation

ulope
Copy link
Collaborator

@ulope ulope commented May 19, 2021

Description

Our bundled binaries seem to have been not working for some time (thanks @netcriptus for noticing).

We had two separate issues:

This also fixes:

  • Don't include unnecessary av libraries in the bundle
  • Remove no longer used GETH_URL and SOLC_URL build args from the bundle-docker make target.
  • On CI: Invoke the built binaries with --help as a minimal functionality sanity check.

@auto-assign auto-assign bot requested a review from fredo May 19, 2021 17:26
Our bundled binaries seem to have been not working for some time.

We had two separate issues:
- The `av` dependency (via `aiortc`) wasn't being properly discovered
  by PyInstaller.
  This has been fixed with a hook.
- On Linux stripping of the libraries apparently causes some corruption
  See: pypa/manylinux#119
  Therefore stripping is disabled for now.
- The gevent runtime hook would attempt to start the aio event loop. 
  This caused a warning about an already running loop.

This also fixes:
- Don't include unnecessary av libraries in the bundle
- Remove no longer used GETH_URL and SOLC_URL build args from the
  `bundle-docker` make target.
- On CI: Invoke the built binaries with `--help` as a minimal
  functionality sanity check.
@ulope ulope force-pushed the fix/bundle-creation branch from a8d1f1f to 09ee03e Compare May 19, 2021 17:29
Copy link
Contributor

@netcriptus netcriptus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@fredo fredo merged commit 542e96a into raiden-network:develop May 20, 2021
@ulope ulope deleted the fix/bundle-creation branch May 20, 2021 08:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants