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

Use --layout=packed for all monolithic resolves #13400

Merged
merged 1 commit into from
Oct 28, 2021

Conversation

stuhood
Copy link
Member

@stuhood stuhood commented Oct 28, 2021

As described in #13398, we should use --layout=packed for all monolithic resolves (lockfiles, all_constraints, etc), in addition to for internal_only resolves.

Note that this is not sufficient to allow for cache reuse across internal PEXes (i.e. those created for tests) and external PEXes (pex_binary), because the repository.pex is constructed with other differing arguments.

Fixes #13398.

[ci skip-rust]
[ci skip-build-wheels]

…straints, etc).

# Rust tests and lints will be skipped. Delete if not intended.
[ci skip-rust]

# Building wheels and fs_util will be skipped. Delete if not intended.
[ci skip-build-wheels]
@joshua-cannon-techlabs
Copy link

👍 This fixes the issue I was running into:

15:08:55.21 [INFO] Starting: Resolving constraints.txt
15:10:14.66 [INFO] Long running tasks:
  79.45s        Resolving constraints.txt
15:10:25.13 [INFO] Completed: Resolving constraints.txt

(Previously)

Error storing Digest { hash: Fingerprint<012ed7213b69805f0e19542c9ec2fc98640d356b25739ec6c687bc20abcf9ab6>, size_bytes: 2392030244 }: Input/output error

Copy link
Contributor

@Eric-Arellano Eric-Arellano left a comment

Choose a reason for hiding this comment

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

Thanks! Needs cherry-pick?

@stuhood stuhood added this to the 2.7.x milestone Oct 28, 2021
@stuhood stuhood enabled auto-merge (squash) October 28, 2021 20:16
@stuhood stuhood merged commit 5fcdd8a into pantsbuild:main Oct 28, 2021
@stuhood stuhood deleted the stuhood/packed-for-repository-pex branch October 28, 2021 20:17
stuhood added a commit to stuhood/pants that referenced this pull request Oct 28, 2021
As described in pantsbuild#13398, we should use `--layout=packed` for all monolithic resolves (lockfiles, all_constraints, etc), in addition to for `internal_only` resolves.

Note that this is _not_ sufficient to allow for cache reuse across internal PEXes (i.e. those created for tests) and external PEXes (`pex_binary`), because the `repository.pex` is constructed with other differing arguments.

Fixes pantsbuild#13398.

[ci skip-rust]
[ci skip-build-wheels]
stuhood added a commit to stuhood/pants that referenced this pull request Oct 28, 2021
As described in pantsbuild#13398, we should use `--layout=packed` for all monolithic resolves (lockfiles, all_constraints, etc), in addition to for `internal_only` resolves.

Note that this is _not_ sufficient to allow for cache reuse across internal PEXes (i.e. those created for tests) and external PEXes (`pex_binary`), because the `repository.pex` is constructed with other differing arguments.

Fixes pantsbuild#13398.

[ci skip-rust]
[ci skip-build-wheels]
stuhood added a commit to stuhood/pants that referenced this pull request Oct 28, 2021
As described in pantsbuild#13398, we should use `--layout=packed` for all monolithic resolves (lockfiles, all_constraints, etc), in addition to for `internal_only` resolves.

Note that this is _not_ sufficient to allow for cache reuse across internal PEXes (i.e. those created for tests) and external PEXes (`pex_binary`), because the `repository.pex` is constructed with other differing arguments. 

Fixes pantsbuild#13398.

[ci skip-rust]
[ci skip-build-wheels]
stuhood added a commit that referenced this pull request Oct 28, 2021
) (#13402)

As described in #13398, we should use `--layout=packed` for all monolithic resolves (lockfiles, all_constraints, etc), in addition to for `internal_only` resolves.

Note that this is _not_ sufficient to allow for cache reuse across internal PEXes (i.e. those created for tests) and external PEXes (`pex_binary`), because the `repository.pex` is constructed with other differing arguments.

Fixes #13398.

[ci skip-rust]
[ci skip-build-wheels]
stuhood added a commit that referenced this pull request Oct 28, 2021
) (#13403)

As described in #13398, we should use `--layout=packed` for all monolithic resolves (lockfiles, all_constraints, etc), in addition to for `internal_only` resolves.

Note that this is _not_ sufficient to allow for cache reuse across internal PEXes (i.e. those created for tests) and external PEXes (`pex_binary`), because the `repository.pex` is constructed with other differing arguments. 

Fixes #13398.

[ci skip-rust]
[ci skip-build-wheels]
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.

--layout=packed should always be used for the repository.pex
3 participants