Closed MikeMcC399 closed 3 days ago
An update to CONTRIBUTING > Requirements is needed to remove the workaround instructions which will become obsolete if this PR is merged.
Currently the release/14.0.0 branch lags behind the develop
branch, so it's better to wait to avoid update conflicts.
See
git diff release/14.0.0...develop -- CONTRIBUTING.md
Additional details
This PR builds on updates for
release/14.0.0
.@electron/rebuild@3.6.2 is updated to @electron/rebuild@3.7.1 (current
latest
) in packages/server.This removes the dependency on node-gyp@9.0.0 and allows node-gyp@10.2.0 to be used.
This in turn allows the default Python
3.12
version to be used on Ubuntu24.*
, removing restrictions and the need for downgrading to Python3.11
. On Windows it relieves the need to install a Windows 10 SDK additionally. Building Cypress from source is then possible, without errors fromnode-gyp
and without resorting to these workarounds.@electron/rebuild purpose:
Steps to test
Follow the instructions in CONTRIBUTING > Requirements including the use of Node.js
v20.18.0
, with the exception of special instructions for Python3.11
, which should be omitted.Confirm that the installation was successful and that the following log sequence shows no errors between the steps:
Ubuntu 24.04
If the system has been previously set up for Python
3.11
, then execute the following before runningyarn
:Ubuntu 24.10
Python
3.11
is not available for Ubuntu24.10
, so no special preparatory steps are necessary.Windows 11
In Visual Studio Installer remove any Windows 10 SDK installed. Install Python
3.12
through Microsoft Store.Confirm that the error "could not find a version of Visual Studio 2017 or newer to use" no longer occurs.
How has the user experience changed?
This issue affects contributors only.
PR Tasks
cypress-documentation
?type definitions
?