-
Notifications
You must be signed in to change notification settings - Fork 1.6k
feature: ship python backend as executable #444
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
… the dist directory
…utable to dist directory
…ts.txt for executable generation
…ation" This reverts commit 46e5079.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📝 Pull Request Template
1. Related Issue
Closes # (issue number)
2. Type of Change (select one)
New Feature
3. Description
nuitka (Failed)
pyinstaller (failed)
pex (partially failed)
Pex Source Code Analysis
Cause: A download is triggered per target because
resolve()/download()builds aDownloadRequest(download_target=DownloadTarget(...))for each uniqueTarget. IfDownloadRequest.has_requirementsis true (there arerequirementsorrequirement_files), the code runs the download phase and invokespip downloadfor thatDownloadTarget.Key code path:
resolve()/download()→ createsDownloadRequestobjects (one per target) in resolver.py._download_internal()→ constructs_PipSession._PipSession.download_distributions()→ for eachDownloadRequestcalls_spawn_download()which callsget_pip(...).spawn_download_distributions(...)to runpip download.DownloadTarget.id().4. Testing
5. Checklist