-
-
Notifications
You must be signed in to change notification settings - Fork 8.6k
Use tax.xz for Firefox package starting in version 135 in pinned browsers #15115
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
Use tax.xz for Firefox package starting in version 135 in pinned browsers #15115
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
VietND96
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the fix!
This commit bumps the selenium-webdriver to 4.29.1 to address the following error: ```ruby $ cd actionpack $ bundle exec rake test ... snip ... 2025-02-26 06:18:09 ERROR Selenium [:selenium_manager] Unsuccessful response (404 Not Found) for URL https://ftp.mozilla.org/pub/firefox/releases/135.0.1/linux-x86_64/en-US/firefox-135.0.1.tar.bz2 2025-02-26 06:18:09 ERROR Selenium Exception occurred: Unsuccessful command executed: ["/home/vscode/.rbenv/versions/3.4.2/lib/ruby/gems/3.4.0/gems/selenium-webdriver-4.27.0/bin/linux/selenium-manager", "--browser", "firefox", "--language-binding", "ruby", "--output", "json"] - Code 65 {"code" => 65, "message" => "Unsuccessful response (404 Not Found) for URL https://ftp.mozilla.org/pub/firefox/releases/135.0.1/linux-x86_64/en-US/firefox-135.0.1.tar.bz2", "driver_path" => "", "browser_path" => ""} ``` Starting from Firefox 135.0, the binaries are provided in XZ format, replacing the previous BZ2 one. https://www.mozilla.org/en-US/firefox/135.0/releasenotes/ > Linux binaries are now provided in XZ format, replacing the previous BZ2 format, offering faster unpacking and smaller file sizes. ``` % curl -s -o /dev/null -w "%{http_code}\n" https://ftp.mozilla.org/pub/firefox/releases/135.0.1/linux-x86_64/en-US/firefox-135.0.1.tar.bz2 404 % curl -s -o /dev/null -w "%{http_code}\n" https://ftp.mozilla.org/pub/firefox/releases/135.0.1/linux-x86_64/en-US/firefox-135.0.1.tar.xz 200 ``` selenium-webdriver 4.28.0 supports this change. This commit bumps the latest one 4.29.1 since there is no reason to use the older one at Rails CI. SeleniumHQ/selenium#15115
This commit bumps the selenium-webdriver to 4.29.1 to address the following error: ```ruby $ cd actionpack $ bundle exec rake test ... snip ... 2025-02-26 06:18:09 ERROR Selenium [:selenium_manager] Unsuccessful response (404 Not Found) for URL https://ftp.mozilla.org/pub/firefox/releases/135.0.1/linux-x86_64/en-US/firefox-135.0.1.tar.bz2 2025-02-26 06:18:09 ERROR Selenium Exception occurred: Unsuccessful command executed: ["/home/vscode/.rbenv/versions/3.4.2/lib/ruby/gems/3.4.0/gems/selenium-webdriver-4.27.0/bin/linux/selenium-manager", "--browser", "firefox", "--language-binding", "ruby", "--output", "json"] - Code 65 {"code" => 65, "message" => "Unsuccessful response (404 Not Found) for URL https://ftp.mozilla.org/pub/firefox/releases/135.0.1/linux-x86_64/en-US/firefox-135.0.1.tar.bz2", "driver_path" => "", "browser_path" => ""} ``` Starting from Firefox 135.0, the binaries are provided in XZ format, replacing the previous BZ2 one. https://www.mozilla.org/en-US/firefox/135.0/releasenotes/ > Linux binaries are now provided in XZ format, replacing the previous BZ2 format, offering faster unpacking and smaller file sizes. ``` % curl -s -o /dev/null -w "%{http_code}\n" https://ftp.mozilla.org/pub/firefox/releases/135.0.1/linux-x86_64/en-US/firefox-135.0.1.tar.bz2 404 % curl -s -o /dev/null -w "%{http_code}\n" https://ftp.mozilla.org/pub/firefox/releases/135.0.1/linux-x86_64/en-US/firefox-135.0.1.tar.xz 200 ``` selenium-webdriver 4.28.0 supports this change. This commit bumps the latest one 4.29.1 since there is no reason to use the older one at Rails CI. SeleniumHQ/selenium#15115
…ned browsers (SeleniumHQ#15115)" This reverts commit 86f165e
* Add support for beta chrome * Remove chrome beta from test * Try by modified the pinned browsers * Fix formatting * Fix formatting * Fix formatting * Add chrome data * Add integration to run in chrome beta * Add guard for beta chrome * change test environment * update MODULE.bazel * Fix formatting issues * Add browsers * fix formatting offenses * Try beta chrome again * trying with chromedriver beta data * Fix reference error * Try updating the .bazelrc file * Correct typo * merge trunk * Starting addressing review comments * Use version to set the webdriver version * Add beta to tests * Fix format * Remove version env variable from firefox beta * Rollback env variable * Correct formatting * Revert "Use tax.xz for Firefox package starting in version 135 in pinned browsers (#15115)" This reverts commit 86f165e * Revert formatting changes * Update pinned browsers * Add download of beta_chrome on pinned browsers * Pinned browsers script automatically generates beta chrome * Fix formatting --------- Co-authored-by: Titus Fortner <[email protected]>
User description
Thanks for contributing to Selenium!
A PR well described will help maintainers to quickly review and merge it
Before submitting your PR, please check our contributing guidelines.
Avoid large PRs, help reviewers by making them as simple and short as possible.
Description
Use tax.xz for Firefox package starting in version 135 in pinned browsers. The changes should fix the issue with pinned browsers and drivers PR.
Motivation and Context
Types of changes
Checklist
PR Type
Bug fix
Description
Updated Firefox Linux package URL logic for version 135 and above.
Ensured compatibility with
.tar.xzformat for newer Firefox versions.Changes walkthrough 📝
pinned_browsers.py
Adjusted Firefox Linux URL logic for version 135+scripts/pinned_browsers.py
firefox_linuxfunction to handle version-specific URL logic..tar.xzfor versions 135 and above.