-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
[Feature]: Support Ubuntu 24.04 #30368
Comments
We are currently blocked by GitHub Actions, that they add support for it in their runner-images repository: actions/runner-images#9691. |
Same for me, stuck on ubuntu:22.04 for the moment |
I can run on 24.04 via the UI, or just using the |
I'm stuck with ubuntu 24.04. any one has a workaround maybe? |
I was able to run it on 23.10 with this advice: I had to compile |
hi @mxschmitt , do you know when the github issue will be fixed, I encouter the same error when running error: E: Package 'libasound2' has no installation candidate |
I have the same issue. Any news on this? |
I encountered a similar issue on Ubuntu 24.04, albeit with a wider range of missing packages: For Proceeding with It's worth noting that while this workaround worked for me, I don't recommend it universally, nor can I guarantee its seamless functionality for all users. Probably as soon as Ubuntu 24.04 is officially supported, I would try to remove the above packages and reinstall playwright. |
It seems that there is still a time period before GitHub support 24.04. See here: actions/runner-images#9691 (comment) It would be great that we can have Ubuntu 24.04 supported in playwright first, then adding a CI test once it supports. Even a workaround is better than no support. For me, I feel hard when I am switching devices between office, home and my laptop. I have all upgraded them to 24.04, and I have to repeat the above solution 3 times. |
Hi @WithMarcel, I've made progress with the steps you provided so thank you very much. I encountered exactly your issue when reaching this point:
However
Further stepsI proceeded to instead run I then installed them manually the same way as the earlier ones by visiting https://packages.ubuntu.com/. After that point, Running testsI am able to run I'll proceed for now despite this as I'm at least able to test with chromium. |
wep ya lo arreglaron?? |
Hello, it seems that the --install-deps command and playwright has issues getting the packages from what's in the default ubuntu.sources file in /etc/apt/sources.list.d I updated my ubuntu.sources file in /etc/apt/sources.list.d to look like this:
This got every dependency to install except libicu70 and libx264-163. Ubuntu 24.04 comes with libicu74 and libx264-164, so libicu70 and libx264-163 can't be installed unless a user reverts to those versions but I don't want to break other things by doing this. |
|
@mxschmitt please try getting playwright ready for Ubuntu 24.04. Thanks! |
* ignore linter errors I'm pretty sure the type annotations on Starlette are wrong - passing a HTTPEndpoint in should be allowed. * try older Ubuntu version for Playwright tests microsoft/playwright#30368 * remove fastapi version pin We need the latest version to get around a breaking change in Starlette's test client: encode/starlette#2770 * fix linter errors
* fix bug with optional fields in custom forms * try older Ubuntu version for Playwright tests microsoft/playwright#30368 * fix linter errors * remove fastapi version pin We need the latest version to get around a breaking change in Starlette's test client: encode/starlette#2770 * ignore linter errors I'm pretty sure the type annotations on Starlette are wrong - passing a HTTPEndpoint in should be allowed. * add logic to work out if form fields are optional * added a mega form for testing * fix a small bug with resetting the form It would remove all of the defaults - we're better just letting Vue recreate the form. * allow new line characters in form response * update unit tests with new form * rename form * add a playwright test * refactor so It's backwards compatible
While the [Playwright issue](microsoft/playwright#30368) has been closed, the Playwright installation still struggles with the new Ubuntu 24 runner image. Pinning the image version should fix our CI tests and enable releases etc.
|
Faced the same issue today. So in my Github action template I updated the following from:
to:
And that fixed it for now |
But I thought Ubuntu 24 was supported now. It doesn't really fix the issue since it is about the Ubuntu 24 support, and it's just going back to Ubuntu 22. |
Ubuntu 24 works with playwright 1.50.1. Upgrading to the latest release is necessary. |
**Motivation** Currently the playwright installation on CI fails with [following error](https://github.com/react-navigation/react-navigation/actions/runs/13436891400/job/37541233565?pr=12449): ``` Package libasound2 is a virtual package provided by: liboss4-salsa-asound2 4.2-build2020-1ubuntu3 libasound2t64 1.2.11-1build2 (= 1.2.11-1build2) E: Package 'libasound2' has no installation candidate E: Unable to locate package libffi7 E: Unable to locate package libx264-163 Failed to install browsers Error: Installation process exited with code: 100 Error: Process completed with exit code 1. ``` This is because playwright has some issues on newest ubuntu-24.04 (see [issue on playwright repo](microsoft/playwright#30368)). The CI started failing out of a sudden, because our CI is configured to use `ubuntu-latest` and the switch from `22.04` to `24.04` must have been done lately. Support for `24.04` has been released with recent version of playwright. **Test plan** CI e2e should pass.
🚀 Feature Request
Ubuntu 24 will be released in this month, and the beta version is already release in 12th. (See https://wiki.ubuntu.com/Releases)
Hope playweight can add support once it release
Motivation
Cuurently when running
pnpm exec playwright install --with-deps
on Ubuntu 24.04, errors are thrownThe text was updated successfully, but these errors were encountered: