Conversation
gzdunek
approved these changes
Dec 15, 2023
avatus
approved these changes
Dec 15, 2023
|
@ravicious See the table below for backport results.
|
This was referenced Dec 18, 2023
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog: Changed the minimal supported macOS version of Teleport Connect to 10.15 (Catalina)
We already updated Electron to v26 a while ago (#30679, #31802), but we had to roll back the changes due to issues on Linux.
There's no breaking changes which would affect us, other than the fact that v27 dropped support for macOS 10.13 and 10.14. I asked on Slack if we should update operating system support in docs, but it looks like the page is incorrect anyway.
I tested the changes on macOS, Windows (Parallels) and Linux (x64 in VirtualBox on Intel MBP) against the checklist for both Electron and electron-builder. There have been no changes in electron-builder to Linux install scripts. The dev tag is 15.0.0-dev.ravicious.5. It wasn't promoted, but the artifacts can be downloaded from S3.
Now, I had to update a bunch of deps. Upgrading just Electron resulted in an error when building native deps:
Details
After this, I tried to update electron-builder. This did not solve the problem, so I attempted to update node-pty to 1.0.0. It also didn't help. I looked at which node-pty version VSCode was using which was 1.1.0-beta5. This didn't help either. Grzegorz figured out that it's a problem with nan, so I updated nan.
This appeared to solve the problem with building native deps. However, the newest version of electron-builder removed
@electron/rebuildfrom deps and with it node-gyp was gone as a dependency too. electron-builder attempts to download node-gyp automatically if it's not present, but this just did not work in our CI:Details
So I added back node-gyp explicitly to our build deps.