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

Pex fails to lock - missing artifact #2098

Closed
jsirois opened this issue Mar 23, 2023 · 0 comments · Fixed by #2103
Closed

Pex fails to lock - missing artifact #2098

jsirois opened this issue Mar 23, 2023 · 0 comments · Fixed by #2103
Assignees

Comments

@jsirois
Copy link
Member

jsirois commented Mar 23, 2023

The simplest repro known so far is via:

$ pex3 lock create --interpreter-constraint "==3.10.*" --style universal --resolver-version pip-2020-resolver --target-system linux --target-system mac "feast[aws,snowflake]==0.29.0" "sqlalchemy==1.3.24" --indent 2 -o lock.json
Failed to lock ArtifactURL(raw_url='https://files.pythonhosted.org/packages/69/2b/f0ee898c3270d965300ec30b0bf06e062c4cc92f35d17ae6046f429c5067/SQLAlchemy-1.4.25.tar.gz#sha256=1adf3d25e2e33afbcd48cfad8076f9378793be43e7fec3e4334306cac6bec138', normalized_url='https://files.pythonhosted.org/packages/69/2b/f0ee898c3270d965300ec30b0bf06e062c4cc92f35d17ae6046f429c5067/SQLAlchemy-1.4.25.tar.gz', scheme='https', path='/packages/69/2b/f0ee898c3270d965300ec30b0bf06e062c4cc92f35d17ae6046f429c5067/SQLAlchemy-1.4.25.tar.gz'). Could not obtain its content for analysis.
@jsirois jsirois self-assigned this Mar 23, 2023
This was referenced Mar 23, 2023
jsirois added a commit to jsirois/pex that referenced this issue Mar 24, 2023
Previously Pex could hit cases where an artifact expected to have been
just downloaded was found in the Pip cache instead and fail to hash the
artifact as a result. Delay hashing in this case to the post-analysis
phase.

Fixes pex-tool#2098
jsirois added a commit that referenced this issue Mar 24, 2023
Previously Pex could hit cases where an artifact expected to have been
just downloaded was found in the Pip cache instead and fail to hash the
artifact as a result. Delay hashing in this case to the post-analysis
phase.

Fixes #2098
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant