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

staticx: Directly detect PyInstaller version and act accordingly #238

Merged
merged 2 commits into from
Apr 16, 2023

Conversation

JonathonReinhart
Copy link
Owner

This changes the pre-5.10 version detection to be exactly that, rather than inferring from the presence of CTOCReader.

This also explicitly fails on PyInstaller 4.1 and 4.2 (#170).

Fixes: #170
Tested: Run test/pyinstall/run_test.sh for all versions of PyInstaller from 4.0 through 5.10.

This changes the pre-5.10 version detection to be exactly that, rather
than inferring from the presence of CTOCReader.

This also explicitly fails on PyInstaller 4.1 and 4.2 (#170).

Fixes: #170
Tested: Run test/pyinstall/run_test.sh for all versions of PyInstaller
  from 4.0 through 5.10.
@JonathonReinhart JonathonReinhart merged commit ecf768f into master Apr 16, 2023
@JonathonReinhart JonathonReinhart deleted the pyinstall-hook-vers branch April 16, 2023 07:32
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.

PyInstalled applications fail with "Cannot open self"
1 participant