cypress-io / cypress

Fast, easy and reliable testing for anything that runs in a browser.
https://cypress.io
MIT License
47.09k stars 3.19k forks source link

docs: add contributing restriction for ubuntu 24.10 #30617

Closed MikeMcC399 closed 1 week ago

MikeMcC399 commented 1 week ago

Additional details

The CONTRIBUTING > Requirements section refers to additional steps for a Ubuntu 24.04 environment. In the meantime Ubuntu 24.10 (Oracular Oriole) was released on Oct 10, 2024, as an interim release, and this needs to be added to the instructions.

To allow building Cypress from source with Python 3.12 requires a minimum of node-gyp@10.0.0. Cypress has not yet reached this state and Python 3.11 is currently the highest compatible version usable to build Cypress from source.

The workaround involving deadsnakes is available for Ubuntu 24.04 (noble). Attempting to use it for Ubuntu 24.10 (oracular) results in an error

E: The repository 'https://ppa.launchpadcontent.net/deadsnakes/ppa/ubuntu oracular Release' does not have a Release file.

Due to the Python restrictions, Ubuntu 24.10 is currently not suitable to rebuild Cypress from source error-free.

Add this statement to the CONTRIBUTING > Requirements section:

image

Steps to test

Clean install Ubuntu 24.10 Desktop.

Attempt to use deadsnakes to install an earlier version of Python by executing the following command:

sudo add-apt-repository ppa:deadsnakes/ppa

Note the failure.

How has the user experience changed?

Affects contributors only.

PR Tasks

cypress-app-bot commented 1 week ago