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

upgrade to scalacheck 1.14 #2734

Merged
merged 1 commit into from
Mar 26, 2019
Merged

Conversation

kailuowang
Copy link
Contributor

No description provided.

@kailuowang kailuowang added this to the 2.0 milestone Feb 16, 2019
@ceedubs
Copy link
Contributor

ceedubs commented Feb 16, 2019

It looks like there are some differences in the format of strings in some of the SBT doctests. TBH I'm not sure why this PR would have changed these though? Maybe it changed some Scalacheck Pretty instances?

'Some((List(1, 2, 3, 4),List()))' is not equal to 'Some((List(1, 2, 3, 4), List()))'
'Some(Right(n))' is not equal to 'Some(Right('n'))'

@ceedubs
Copy link
Contributor

ceedubs commented Feb 17, 2019

Hmm actually upon closer inspection it looks like we already have this problem, and somehow this change just makes the build detect the failure. I'll submit a PR for master.

ceedubs added a commit to ceedubs/cats that referenced this pull request Feb 17, 2019
Though they don't seem to actually fail the build before typelevel#2734 and I'm
not sure why...
@ceedubs ceedubs mentioned this pull request Feb 17, 2019
LukaJCB
LukaJCB previously approved these changes Feb 21, 2019
@kailuowang
Copy link
Contributor Author

close reopen to fix travis glitch

@codecov-io
Copy link

Codecov Report

Merging #2734 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2734      +/-   ##
==========================================
- Coverage   95.33%   95.24%   -0.09%     
==========================================
  Files         363      365       +2     
  Lines        6771     6857      +86     
  Branches      291      295       +4     
==========================================
+ Hits         6455     6531      +76     
- Misses        316      326      +10
Impacted Files Coverage Δ
core/src/main/scala/cats/data/ContT.scala 100% <0%> (ø) ⬆️
laws/src/main/scala/cats/laws/MonadLaws.scala 100% <0%> (ø) ⬆️
js/src/main/scala/cats/js/instances/future.scala 0% <0%> (ø)
...patTest/src/main/scala/catsBC/MimaExceptions.scala 0% <0%> (ø)
core/src/main/scala/cats/data/Ior.scala 98.54% <0%> (+0.01%) ⬆️
core/src/main/scala/cats/Eval.scala 98.82% <0%> (+0.04%) ⬆️
core/src/main/scala/cats/data/IorT.scala 97.79% <0%> (+0.04%) ⬆️
core/src/main/scala/cats/data/NonEmptyChain.scala 99.07% <0%> (+0.92%) ⬆️
free/src/main/scala/cats/free/Free.scala 93.57% <0%> (+1.47%) ⬆️
.../src/main/scala/cats/data/RepresentableStore.scala 87.5% <0%> (+4.16%) ⬆️
... and 7 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ab0e5bf...430b738. Read the comment docs.

@travisbrown
Copy link
Contributor

Shouldn't this happen in sync with the upcoming ScalaTest 3.1.0 release, which is the first (legitimate) release that depends on ScalaCheck 1.14? There will also need to be a new Discipline release.

Even if all tests pass here just fine, I'm concerned that mixing ScalaTest 3.0 and 3.1 and ScalaCheck 1.13 and 1.14 is going to cause problems and impose a lot of unnecessary fuss and worry on users of downstream libraries like circe-testing.

@kailuowang
Copy link
Contributor Author

kailuowang commented Mar 3, 2019

@travisbrown that's a valid concern. We can wait for scalatest 3.1.0

@kailuowang
Copy link
Contributor Author

@travisbrown we need to merge this to fix #2758 to fix build. In the mean time I created an issue #2761 to make sure that we upgrade to coming Scalatest 3.10 before our Cats next release

@kailuowang kailuowang merged commit edc779c into typelevel:master Mar 26, 2019
@kailuowang kailuowang deleted the scalacheck-1.14 branch March 26, 2019 15:48
@SethTisue
Copy link
Member

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants