-
Notifications
You must be signed in to change notification settings - Fork 28.9k
[SPARK-40397][BUILD] Upgrade org.scalatestplus:selenium to 3.12.13
#37868
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -195,7 +195,8 @@ | |
| <!-- Please don't upgrade the version to 4.10+, it depends on JDK 11 --> | ||
| <antlr4.version>4.9.3</antlr4.version> | ||
| <jpam.version>1.1</jpam.version> | ||
| <selenium.version>3.141.59</selenium.version> | ||
| <selenium.version>4.2.2</selenium.version> | ||
| <htmlunit-driver.version>3.62.0</htmlunit-driver.version> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Huh, so we're using two different versions of different htmlunit components? what if all of htmlunit is updated?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No,
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Got it, and can it match the selenium version then or are they released pretty differently?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a different project maintained by two organizations, the major versions are different
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, they match the version of selenium |
||
| <htmlunit.version>2.62.0</htmlunit.version> | ||
| <maven-antrun.version>1.8</maven-antrun.version> | ||
| <commons-crypto.version>1.1.0</commons-crypto.version> | ||
|
|
@@ -408,7 +409,7 @@ | |
| </dependency> | ||
| <dependency> | ||
| <groupId>org.scalatestplus</groupId> | ||
| <artifactId>selenium-3-141_${scala.binary.version}</artifactId> | ||
| <artifactId>selenium-4-2_${scala.binary.version}</artifactId> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
|
|
@@ -693,9 +694,13 @@ | |
| <groupId>com.google.guava</groupId> | ||
| <artifactId>guava</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>com.google.auto.service</groupId> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Otherwise, mvn will fail to compile: |
||
| <artifactId>*</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>io.netty</groupId> | ||
| <artifactId>netty</artifactId> | ||
| <artifactId>*</artifactId> | ||
| </exclusion> | ||
| <exclusion> | ||
| <groupId>net.bytebuddy</groupId> | ||
|
|
@@ -706,7 +711,7 @@ | |
| <dependency> | ||
| <groupId>org.seleniumhq.selenium</groupId> | ||
| <artifactId>htmlunit-driver</artifactId> | ||
| <version>${htmlunit.version}</version> | ||
| <version>${htmlunit-driver.version}</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <!-- Update htmlunit dependency that selenium uses for better JS support --> | ||
|
|
@@ -1160,11 +1165,10 @@ | |
| <version>3.2.13.0</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <!-- TODO(SPARK-40397): Migrate selenium-java from 3.1 to 4.2 and upgrade this to 3.2.13.0 --> | ||
| <dependency> | ||
| <groupId>org.scalatestplus</groupId> | ||
| <artifactId>selenium-3-141_${scala.binary.version}</artifactId> | ||
| <version>3.2.10.0</version> | ||
| <artifactId>selenium-4-2_${scala.binary.version}</artifactId> | ||
| <version>3.2.13.0</version> | ||
| <scope>test</scope> | ||
| </dependency> | ||
| <dependency> | ||
|
|
||
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.
The reason for the change is explained in #37867
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.
When using selenium 3.1, Maven chose nearby okio 1.14.0., both selenium 4.2 and k8s-client rely on 1.15.0 now