-
Notifications
You must be signed in to change notification settings - Fork 40
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
RSTUDIO-528: Update version to add support for collections in mixed #1651
Conversation
3589aef
to
64dbc34
Compare
- name: Setup Python 3.11 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11.x' |
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.
CI seems to have updated to python 3.12
by default. node-sass is deprecated and was breaking CI lint because one of its dependencies was using a python standard library which was removed in 3.12: nodejs/node-gyp#2869
So we can...
a) stick to Python 3.11, which I am going to do in this PR for this to be as little breaking as possible.
b) get sass
(node-sass
replacement) working in a different issue/PR, which requires some small changes in our current SASS code which has deprecrated fields.
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.
Please create an issue for option b)
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.
I suspect this too is related to macos-latest
now being arm64 and missing prebuilds for node-sass
starting a build from source.
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.
@kraenhansen I think it's related in sense that the arm64
might be shipping with a more updated Python version by default but the error I was getting was specifically related to distutils not being in Python 3.12, as seen here: nodejs/node-gyp#2869 rather than binaries
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.
When installing node-sass
on the x86 MacOS runner, it doesn't need Python at all, because it downloads a prebuilt binary instead of building from source (requiring Python when running node-gyp
).
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.
ah, interesting, I assumed it always depended on Python, good to know! Another reason for the new sass
as this should be much more compatible from what I have seen.
- name: Setup Python 3.11 | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: '3.11.x' |
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.
Please create an issue for option b)
Co-authored-by: Kenneth Geisshirt <[email protected]>
Co-authored-by: Kenneth Geisshirt <[email protected]>
No description provided.