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

ci: use optimized caching strategy for Poetry #9239

Merged
merged 5 commits into from
Mar 25, 2024

Conversation

neersighted
Copy link
Member

Cache our artifact/metadata cache instead of relying on the virtualenv-based strategy of setup-python, as well as misc CI tweaks.

@neersighted neersighted added the area/ci Related to CI/CD label Mar 25, 2024
@neersighted neersighted force-pushed the gha_caching branch 5 times, most recently from 709f87d to 50e6e54 Compare March 25, 2024 19:07
.github/workflows/tests.yaml Outdated Show resolved Hide resolved
@neersighted neersighted force-pushed the gha_caching branch 2 times, most recently from f5e2a32 to 8a86f00 Compare March 25, 2024 19:30
@neersighted neersighted force-pushed the gha_caching branch 4 times, most recently from b7b99aa to cc89595 Compare March 25, 2024 19:55
@neersighted neersighted requested a review from abn March 25, 2024 19:55
This step verifies that an external tool can build the project, that
the distfiles have valid metadata, and that the bdist can be installed.

We then perform a smoke test, ensuring that the version of the
(third-party) built package matches the expected version from
pyproject.toml.

This is meaningful as `poetry build` uses the in-tree copy of
`poetry-core`, and we expect to be build and installed by other tools.
@abn abn merged commit ac78d4d into python-poetry:main Mar 25, 2024
61 checks passed
@neersighted neersighted deleted the gha_caching branch March 25, 2024 21:13
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 29, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/ci Related to CI/CD
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants