Skip to content
This repository has been archived by the owner on Jul 20, 2023. It is now read-only.

Upgrade Node.js to version 18+ #33

Open
Avey777 opened this issue Jun 1, 2023 · 10 comments
Open

Upgrade Node.js to version 18+ #33

Avey777 opened this issue Jun 1, 2023 · 10 comments

Comments

@Avey777
Copy link

Avey777 commented Jun 1, 2023

Now the minimum version of Debian installed by default is already V18.x, and I hope the Node.js version of Redash can be updated.

@justinclift
Copy link
Member

Hmmm, I kind of remember Arik saying 18 has problems. No idea of the details though. It might just be a dependency thing, so could become "not a problem" once we've upgraded things a bit.

Really not sure though.

@gaecoli
Copy link
Member

gaecoli commented Jun 2, 2023

Upgrading will not bring substantial effect, and may cause instability. Upgrading is not recommended for the time being.

@Avey777 Avey777 closed this as completed Jun 15, 2023
@Avey777
Copy link
Author

Avey777 commented Jun 18, 2023

When I was deploying on Vercel today, I encountered this issue. I think it is necessary to open this issue.

Error: Node.js version 16.x has reached End-of-Life. Deployments created on or after 2023-08-15 will fail to build. Please set "engines": { "node": "18.x" } in your `package.json` file to use Node.js 18.

@Avey777 Avey777 reopened this Jun 18, 2023
@justinclift
Copy link
Member

justinclift commented Jun 18, 2023

Ouch. 😦

@Avey777
Copy link
Author

Avey777 commented Jun 20, 2023

The compatibility watershed for many libraries is Python 3.9. Currently, our backend code is built on Python 3.7, and I think it should be changed to Python 3.8 when appropriate. Our frontend code is built on Node.js 14.7.0, and I think we should start using Node.js 18, but this may require a transition to Node.js 16.

As long as most scenarios can run, I think the update is worth it. This way, we can fix the code at a higher point.

@justinclift
Copy link
Member

Ugh. I'm not sure why libraries are dropping support for Python 3.8 when it's not End of Life yet, and won't be until the end of next year:

https://devguide.python.org/versions/

@Avey777
Copy link
Author

Avey777 commented Jun 21, 2023

I mean to give up on Python 3.7 and switch to Python 3.8.

@justinclift
Copy link
Member

Yeah, Python 3.7's official End of Life is in... 6 days. 😄

@konnectr
Copy link

konnectr commented Jun 27, 2023

There is such a repository from python 3.10 https://github.com/Dingolytics/redash-wild-server

@justinclift
Copy link
Member

Cool. That's a very interesting repository @konnectr. 😄

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

No branches or pull requests

4 participants