Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
|||||||||
|
why restrict prism to |
|
Similarly it looks like v4.36.0 (#16332) has done something similar with the I can confirm that I've been using |
|
You both have a point. The issue we faced is in our build (we need to use JRuby); the dependencies showed a conflict with Rubocop. We will check this again when releasing 4.37. |
* update devtools versions * update selenium manager versions * update maven dependency versions * update authors file * bump versions in preparation for release * WIP - rough auto-update of changelog, please edit * Update sha256 for signed selenium-manager-windows.exe artifact * Updating tests and linting readme. * Updating Gemfile.lock * Rolling back json upgrade * Pinning rust lock * Pinning rust lock * Removing guards and switching to macOS [skip ci] * Removing guards --------- Co-authored-by: Selenium CI Bot <selenium-ci@users.noreply.github.com> Co-authored-by: Diego Molina <diemol@users.noreply.github.com> Co-authored-by: Boni Garcia <boni.garcia@uc3m.es> Co-authored-by: Diego Molina <diemol@gmail.com>
This project does not use prism at all. At most it is being used by rubocop during local development. It was added in SeleniumHQ#16357 but it is unclear to me why. I just bumped it for this repo, perhaps that JRuby issue has since been fixed. Either way, it should not be part of the gemspec.
* [rb] Remove `prism` dependency This project does not use prism at all. At most it is being used by rubocop during local development. It was added in #16357 but it is unclear to me why. I just bumped it for this repo, perhaps that JRuby issue has since been fixed. Either way, it should not be part of the gemspec. * Pin prism to 1.4.0 for the project It fails to build with the following error: src/prism.c: In function ‘context_terminator’: src/prism.c:8651:62: error: conversion to ‘unsigned int’ from ‘int’ may change the sign of the result [-Werror=sign-conversion] 8651 | return token->type < 32 && (context_terminators[context] & (1 << token->type)); | ^ cc1: all warnings being treated as errors --------- Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
User description
This pull request makes a small change to the gem specification by adding a new dependency.
prismgem (version~> 1.0,< 1.5) as a dependency inrb/selenium-webdriver.gemspecto ensure compatibility with JRuby🔄 Types of changes
PR Type
Bug fix
Description
Add
prismdependency constraint to Ruby gemspecFix version compatibility issues in unit tests
Restrict
prismto versions 1.0 to 1.5Diagram Walkthrough
File Walkthrough
selenium-webdriver.gemspec
Add prism dependency constraintrb/selenium-webdriver.gemspec
prismgem dependency with version constraint~> 1.0, < 1.5