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

runner.conda: Explicitly install the latest package version during setup #312

Merged
merged 1 commit into from
Sep 18, 2023

Conversation

tsibley
Copy link
Member

@tsibley tsibley commented Sep 15, 2023

This our intent and expectation, and it's good to be explicit about it. It may surface more installation issues, such as the one we observed in monkeypox CI¹ with the latest version not being installable, but obscuring those or surfacing them later on is probably worse than addressing them head on earlier. This change will mean that any macOS 10.14 users, if any, would have to use

NEXTSTRAIN_CONDA_BASE_PACKAGE="nextstrain-base ==20230615T171309Z"

since newer versions aren't installable for them.²

This behaviour also parallels update's behaviour since "runner.conda: Explicitly specify a nextstrain-base version when updating" (d6e4f2b). It was an oversight (on my part) to not use the same behaviour during setup, but at the time I was focused on fixing an update bug.

Related-to: nextstrain/conda-base#41
Related-to: nextstrain/conda-base#42

¹ nextstrain/mpox#177
² nextstrain/conda-base#38

Checklist

  • Checks pass

This our intent and expectation, and it's good to be explicit about it.
It may surface more installation issues, such as the one we observed in
monkeypox CI¹ with the latest version not being installable, but
obscuring those or surfacing them later on is _probably_ worse than
addressing them head on earlier.  This change will mean that any macOS
10.14 users, if any, would have to use

    NEXTSTRAIN_CONDA_BASE_PACKAGE="nextstrain-base ==20230615T171309Z"

since newer versions aren't installable for them.²

This behaviour also parallels update's behaviour since "runner.conda:
Explicitly specify a nextstrain-base version when updating" (d6e4f2b).
It was an oversight (on my part) to not use the same behaviour during
setup, but at the time I was focused on fixing an update bug.

Related-to: <nextstrain/conda-base#41>
Related-to: <nextstrain/conda-base#42>

¹ <nextstrain/mpox#177>
² <nextstrain/conda-base#38>
Copy link
Contributor

@joverlee521 joverlee521 left a comment

Choose a reason for hiding this comment

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

Confirmed that this no longer silently downgrades to nextstrain-base ==20230615T171309Z when I run nextstrain setup conda --force on macOS 10.14

@tsibley
Copy link
Member Author

tsibley commented Sep 18, 2023

Woo!

@tsibley tsibley merged commit dc09b9b into master Sep 18, 2023
42 checks passed
@tsibley tsibley deleted the trs/conda/install-latest-version branch September 18, 2023 23:32
@tsibley
Copy link
Member Author

tsibley commented Sep 18, 2023

Ugh, forgot the changelog. Fixed in 1e8b12f.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

2 participants