Cherry pick release 0.3.17.post1#169
Closed
quentin-auge wants to merge 7 commits into
Closed
Conversation
Custer Pack is relying on the code_hash property of the PEX-INFO metadata file to determine whether it should upload a new env to the /user/{USER}/envs folder on HDFS.
According PEX' PyDoc (https://github.com/pex-tool/pex/blob/main/pex/pex_info.py):
- pex_hash: sha1 hash of all names/code and distributions in the pex
- code_hash: sha1 hash of all names/code in the archive
If dependencies change, the PEX changes as well, we should upload a new PEX, to do so we should rely on the pex_hash property rather that than the code_hash.
Introduce _get_current_user() function to allow overriding the current user via the C_PACK_USER environment variable. This provides more flexibility when generating package paths, especially in containerized or shared environments where the system user might not match the desired user. Replaces direct calls to getpass.getuser() with the new function, ensuring consistent user resolution across the packaging module.
Refactor test context managers in packaging tests to use multi-line formatting for better readability and consistency. This change enhances code clarity without altering test logic.
quentin-auge
force-pushed
the
cherry-pick-release-0.3.17.post1
branch
from
February 3, 2026 17:34
94b26e7 to
b061227
Compare
Minor version no longer available
quentin-auge
force-pushed
the
cherry-pick-release-0.3.17.post1
branch
from
February 3, 2026 18:06
42319d4 to
ea866c3
Compare
quentin-auge
force-pushed
the
cherry-pick-release-0.3.17.post1
branch
from
February 3, 2026 18:13
ea866c3 to
b8350e6
Compare
quentin-auge
force-pushed
the
cherry-pick-release-0.3.17.post1
branch
from
February 3, 2026 18:31
5397114 to
fced4c9
Compare
jcuquemelle
requested changes
Feb 4, 2026
quentin-auge
force-pushed
the
cherry-pick-release-0.3.17.post1
branch
from
February 4, 2026 13:48
783c4cf to
fced4c9
Compare
Contributor
Author
|
Closing this hotfix PR now 0.3.17.post1 is released on test-pypi |
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
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.
Hotfix release
Paul Mathon:
Alexander Mazurov:
C_PACK_USER