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

Explicitly install Python in CD workflows #2046

Merged
merged 1 commit into from
Oct 16, 2024

Conversation

mvandenburgh
Copy link
Member

This is currently resulting in deploy failures to staging, and will also impact production the next time a deploy happens there. https://github.com/dandi/dandi-archive/actions/runs/11349812410

GitHub Actions' switch to Ubuntu 24.04 breaks the deploy workflows. We currently use pip to install the build package prior to packaging the dandiapi sdist. But, we do not explicitly install the Python runtime before doing this. It looks pip was available on the default Ubuntu 22.04 runners, but not 24.04, so this was basically working by accident before.

GitHub Actions' switch to Ubuntu 24.04 breaks the deploy workflows.
We currently use `pip` to install the `build` package prior to packaging
the `dandiapi` sdist. But, we do not explicitly install the Python
runtime before doing this. It looks `pip` was available on the default
Ubuntu 22.04 runners, but not 24.04, so this was basically working by
accident before.
@mvandenburgh mvandenburgh merged commit 4ed3ddd into master Oct 16, 2024
11 checks passed
@mvandenburgh mvandenburgh deleted the install-python-in-cd-workflows branch October 16, 2024 14:45
@dandibot
Copy link
Member

🚀 PR was released in v0.3.106 🚀

@dandibot dandibot added the released This issue/pull request has been released. label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released This issue/pull request has been released.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants