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
UPDATE: NodeJS 16.x #552
UPDATE: NodeJS 16.x #552
Conversation
I always prefer to be explicit about the version being used. |
With this PR I noticed we do not have visibility of what is happening on the stb side of things... |
We do have it in our noxfile (https://github.com/pydata/pydata-sphinx-theme/blob/master/noxfile.py#L35), and I believe that the build step in our "publish to PyPI" job does this as well, but we should double check and document (here and or upstream to STB!) Can we capture that in a new issue to tackle as part of the dev workflow improvements? |
You likely need to regenerate package-lock.json and check that in too!
It will be run as part of:
The whole design is that the NodeJS pipeline is fetched and used "transparently" as part of the wheel generation process. |
Wheel generation calling
|
Sure thing!
Yep, and you are doing a great job on that direction @pradyunsg, but as a dev for the theme, I would like to see what is happening under the hood in the CI as well 😜 ... this is why I think we should explicitly add a |
@pradyunsg you said:
But this file doesn't exist anywhere in the repository. If I re-run From @damianavila:
Would it be enough to improve the documentation in the sphinx-theme-builder about what happens when |
We do have https://github.com/pydata/pydata-sphinx-theme/blob/master/package.json (without the "lock" part). It seems that furo has checked in both files. |
We could also make the install step in CI more verbose? (so that the pip install step shows the output from stb?) |
I think adding a -v to pip is a good idea! |
Ah, interesting! Never mind me then! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming your dependencies still work, this LGTM!
It doesn’t. That’s a limitation inherited from nodeenv. |
@choldgraf, warnings about?
Docs are always welcome, but I still feel we need visibility on what is happening under the hood when we run the CI job.
Yep, AFAIK, the lock file is intended to be included in the repo: https://docs.npmjs.com/cli/v8/configuring-npm/package-lock-json
+1, if that allows us to see a piece of the compilation stuff, I will be more than happy 😉 |
|
@damianavila the warnings were just things like deprecated dependencies, it didn't seem to be anything too bad. I'll put a warning log at the bottom of this comment and maybe we should open an issue to track updating those dependencies? re: being verbose, I agree but I can't figure out how to make for the lockfilee, I agree it seems like this should be checked into the repository...but I don't know why it isn't generated in the first place. Maybe something to do with our webpack config? For this as well, can we track it in an issue or do you think this should block upgrading node? My vote is that we do the following:
Warnings generated by webpack
|
+1, from a quick look at the readthedocs preview, everything looks fine (I also would not expect changes, as node itself shouldn't impact the built site if we don't change any version of actual package we are using). I agree the other issues are not strictly related to upgrading the node version. |
OK I've done some investigating and opened up 3 new issues:
Can we merge this one in so that we resolve the dev installation issues on Mac, and then iterate on those next? |
This updates our NodeJS version to the latest LTS release.
@pradyunsg I wasn't sure if
sphinx-theme-builder
allows you to specify something likenode-version = 16.x
so I just pinned the full version, but if you tell me that it is possible then I'm happy to make a quick docs PR to note this in the STBcloses #551 closes #537