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

Require node 12+ explicitly #323

Merged
merged 2 commits into from
Jun 7, 2021
Merged

Conversation

consideRatio
Copy link
Member

@consideRatio consideRatio commented Jun 4, 2021

We have failed to require a version of node which we test, which have resulted in failures for those with older versions of node. See for example #321 where node 8 caused problems. I suggest we transition properly to require node 12 at this point which is the oldest version of node with Long Term Support that is actively maintained still.

I figure we could cut a 5.0.0 release with this. In a way it is a bugfix to require node 10 as of 4.4.0 which broke with node 8, and it is a breaking change to require node 12 as node 10 have actually been functional I think. Note though that node 10 have had intermittent test failures while the other versions hasn't.

Since we have flaky tests for node 10, and I don't think our time is merited to debug and support that in detail any more, I suggest we go for node 12 and release CHP 5.0.0.

closes #322

Copy link
Member

@manics manics left a comment

Choose a reason for hiding this comment

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

Sounds fine to me!

Are there any other potential breaking changes that should go in, or do we release 5.0.0 straight away?

@consideRatio
Copy link
Member Author

@manics not to my knowledge, I'm not feeling so capable pushing additional features or fixes if there were either though as I'm not feeling confident in writing code for this repo.

@minrk
Copy link
Member

minrk commented Jun 7, 2021

👍

Note that making a release dropping node support won't immediately or obviously affect any users with old node, since they will just get old CHP to match. We might also consider yanking 4.4 since it has an invalid dependency spec, and adding this restriction to 5.0 just means that users with node 8 will continue to get 4.4.

@minrk minrk merged commit f22c7bd into jupyterhub:main Jun 7, 2021
@kgutwin
Copy link

kgutwin commented Jul 14, 2021

Note that the README still says "Node >= 6" in the Install section.

@consideRatio
Copy link
Member Author

@kgutwin do you want to submit a PR fixing it? =)

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

Successfully merging this pull request may close these issues.

Require Node 12 (at least 10)
4 participants