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

RSTUDIO-528: Update version to add support for collections in mixed #1651

Merged
merged 10 commits into from
Jun 7, 2024

Conversation

gagik
Copy link
Collaborator

@gagik gagik commented Jun 6, 2024

No description provided.

@gagik gagik changed the title RSTUDIO-528: Update version and add support for collectionsin mixed RSTUDIO-528: Update version to add support for collections in mixed Jun 6, 2024
package.json Outdated Show resolved Hide resolved
@gagik gagik force-pushed the gagik/update-realm-version branch from 3589aef to 64dbc34 Compare June 6, 2024 11:49
- name: Setup Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11.x'
Copy link
Collaborator Author

@gagik gagik Jun 6, 2024

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.

Copy link
Contributor

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)

Copy link
Member

@kraenhansen kraenhansen Jun 6, 2024

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.

Copy link
Collaborator Author

@gagik gagik Jun 6, 2024

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

Copy link
Member

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).

Copy link
Collaborator Author

@gagik gagik Jun 6, 2024

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.

@gagik gagik marked this pull request as ready for review June 6, 2024 12:38
@gagik gagik requested review from kraenhansen and kneth June 6, 2024 12:46
- name: Setup Python 3.11
uses: actions/setup-python@v4
with:
python-version: '3.11.x'
Copy link
Contributor

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)

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
gagik and others added 2 commits June 6, 2024 14:57
Co-authored-by: Kenneth Geisshirt <[email protected]>
Co-authored-by: Kenneth Geisshirt <[email protected]>
@gagik gagik merged commit 7585af2 into channel/major-15 Jun 7, 2024
3 checks passed
@gagik gagik deleted the gagik/update-realm-version branch June 7, 2024 08:02
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants