Skip to content
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

testkit: build against ScalaTest 3.2 #1750

Merged
merged 1 commit into from
Jun 3, 2023
Merged

testkit: build against ScalaTest 3.2 #1750

merged 1 commit into from
Jun 3, 2023

Conversation

bjaglin
Copy link
Collaborator

@bjaglin bjaglin commented Apr 16, 2023

This is a source-breaking change for testkit users that were relying on the ScalaTest 3.0 package hierarchy, deprecated 3 years ago in 3.1 and removed in 3.2 (despite no major bump).

Scalafix rules were made available to ease that transition, see https://github.com/scalatest/autofix/tree/master.

Closes #1662.

@bjaglin bjaglin marked this pull request as ready for review April 16, 2023 15:22
@@ -211,7 +207,7 @@ object ScalafixBuild extends AutoPlugin with GhpagesKeys {
// don't publish scala 3 artifacts for now
publish / skip := (if ((publish / skip).value) true
else scalaBinaryVersion.value == "3"),
versionPolicyIntention := Compatibility.BinaryCompatible,
versionPolicyIntention := Compatibility.None,
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I want to merge this just before tagging 0.11.0, otherwise other breaking changes that we still want to minimize will go undetected

@bjaglin bjaglin force-pushed the rip-scalatest-30 branch 3 times, most recently from 86388f9 to da9835e Compare May 16, 2023 21:54
This is a source-breaking change for testkit users that were relying on
the ScalaTest 3.0 package hierarchy, deprecated 3 years ago in 3.1 and
removed in 3.2 (despite no major bump).

Scalafix rules were made available to ease that transition, see
https://github.com/scalatest/autofix/tree/master.
@bjaglin bjaglin force-pushed the rip-scalatest-30 branch from da9835e to 8878787 Compare June 3, 2023 11:25
@bjaglin bjaglin merged commit 2c4f464 into main Jun 3, 2023
@bjaglin bjaglin deleted the rip-scalatest-30 branch August 1, 2023 19:33
bjaglin added a commit to scalacenter/scalafix.g8 that referenced this pull request Oct 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Remove support for scalatest 3.0.x in testkit
1 participant