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

upgrade to node 20.9.0. ignore deprecated warnings to make nan compile. #7660

Merged
merged 2 commits into from Dec 19, 2023

Conversation

alphaprinz
Copy link
Contributor

@alphaprinz alphaprinz commented Dec 13, 2023

Upgrade node to 20.9.0.
Nan have compilation warning which -Wextra makes into an error.
-Wno-error=deprecated-declarations flag was added to bypass this.
The -Wno-error=deprecated-declarations flag can be removed when nodejs/nan#953
is resolved

Explain the changes

  1. Upgrade node20.

Issues: Fixed #xxx / Gap #xxx

Testing Instructions:

  • Doc added/updated
  • Tests added

@liranmauda
Copy link
Contributor

@alphaprinz The latest node I see in the downstream is 20.9.0, let's get this version.

@alphaprinz alphaprinz changed the title upgrade to node20. ignore deprecated warnings to make nan compile. upgrade to node 20.9.0. ignore deprecated warnings to make nan compile. Dec 17, 2023
@alphaprinz
Copy link
Contributor Author

alphaprinz commented Dec 17, 2023

Hi @b-ranto,
Previous node20 PR didn't make it.
This is the new one.
Node 20.9.0 comes with npm 10.1.0.
I think you're already oked this, but let me know if there are issues.

@alphaprinz alphaprinz marked this pull request as ready for review December 17, 2023 10:22
@b-ranto
Copy link
Contributor

b-ranto commented Dec 19, 2023

Yes, it passed before. I have scheduled one more d/s build for this branch as well and it also passed.

The -Wno-error=deprecated-declarations flag can be removed when
nodejs/nan#953
is resolved

Signed-off-by: Amit Prinz Setter <alphaprinz@gmail.com>
Signed-off-by: Amit Prinz Setter <alphaprinz@gmail.com>
@alphaprinz alphaprinz merged commit bafd976 into noobaa:master Dec 19, 2023
8 of 9 checks passed
dannyzaken pushed a commit to dannyzaken/noobaa-core that referenced this pull request Dec 20, 2023
…e. (noobaa#7660)

upgrade to node20. ignore deprecated warnings to make nan compile.

The -Wno-error=deprecated-declarations flag can be removed when
nodejs/nan#953
is resolved

Signed-off-by: Amit Prinz Setter <alphaprinz@gmail.com>
(cherry picked from commit bafd976)
dannyzaken pushed a commit to dannyzaken/noobaa-core that referenced this pull request Dec 20, 2023
…e. (noobaa#7660)

upgrade to node20. ignore deprecated warnings to make nan compile.

The -Wno-error=deprecated-declarations flag can be removed when
nodejs/nan#953
is resolved

Signed-off-by: Amit Prinz Setter <alphaprinz@gmail.com>
(cherry picked from commit bafd976)
Signed-off-by: Danny Zaken <dannyzaken@gmail.com>
liranmauda pushed a commit to liranmauda/noobaa-core that referenced this pull request Apr 9, 2024
…e. (noobaa#7660)

upgrade to node20. ignore deprecated warnings to make nan compile.

The -Wno-error=deprecated-declarations flag can be removed when
nodejs/nan#953
is resolved

Signed-off-by: Amit Prinz Setter <alphaprinz@gmail.com>
(cherry picked from commit bafd976)
liranmauda pushed a commit to liranmauda/noobaa-core that referenced this pull request Apr 9, 2024
…e. (noobaa#7660)

upgrade to node20. ignore deprecated warnings to make nan compile.

The -Wno-error=deprecated-declarations flag can be removed when
nodejs/nan#953
is resolved

Signed-off-by: Amit Prinz Setter <alphaprinz@gmail.com>
(cherry picked from commit bafd976)
Signed-off-by: liranmauda <liran.mauda@gmail.com>
liranmauda pushed a commit to liranmauda/noobaa-core that referenced this pull request Apr 16, 2024
…e. (noobaa#7660)

upgrade to node20. ignore deprecated warnings to make nan compile.

The -Wno-error=deprecated-declarations flag can be removed when
nodejs/nan#953
is resolved

Signed-off-by: Amit Prinz Setter <alphaprinz@gmail.com>
(cherry picked from commit bafd976)
Signed-off-by: liranmauda <liran.mauda@gmail.com>
liranmauda pushed a commit to liranmauda/noobaa-core that referenced this pull request Apr 16, 2024
…e. (noobaa#7660)

upgrade to node20. ignore deprecated warnings to make nan compile.

The -Wno-error=deprecated-declarations flag can be removed when
nodejs/nan#953
is resolved

Signed-off-by: Amit Prinz Setter <alphaprinz@gmail.com>
(cherry picked from commit bafd976)
Signed-off-by: liranmauda <liran.mauda@gmail.com>
liranmauda added a commit that referenced this pull request Apr 17, 2024
[Backport to 5.14] upgrade to node 20.11.0. ignore deprecated warnings to make nan compile. (#7660)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants