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

Remove conda buildpacks pin of r-irkernel to 1.2 #1191

Merged
merged 1 commit into from
Oct 10, 2022

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Oct 9, 2022

If r-base is pinned, r-irkernel will resolve to a version that is compatible with it. But if we pin r-irkernel and not r-base, the opposite will happen and we will end up with an older version of r-base than is supported by r-irkernel's modern versions.

I find debugging how versions resolve with conda is really tricky, so unless we have clear principles of what the pin should be and why, I strongly advocate we don't have it pinned here.

In this case, having r-irkernel pinned to 1.2 caused us the conda buildpack to get stuck at R version 4.1 instead of going to R 4.2 that is now available. Using a runtime.txt without R pinned will result in 4.2 though, but the conda buildpack is stuck at 4.1 without this.

Related

If r-base is pinned, r-irkernel will resolve to a version that is
compatible with it. But if we pin r-irkernel and not r-base, the
opposite will happen and we will end up with an older version of r-base
than is supported by r-irkernel's modern versions.

I find debugging how versions resolve with conda is really tricky, so
unless we have clear principles of what the pin should be and why, I
strongly advocate we don't have it pinned here.

In this case, having r-irkernel pinned to 1.2 caused us to get stuck at
R version 4.1 instead of going to R 4.2 that is now available.
@yuvipanda
Copy link
Collaborator

Given r-devtools is not pinned, this seems fine to me.

@yuvipanda yuvipanda merged commit 27fbab6 into jupyterhub:main Oct 10, 2022
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.

2 participants