-
Notifications
You must be signed in to change notification settings - Fork 532
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
Update Discipline version #524
Update Discipline version #524
Conversation
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.
Agreed. And I don't mind the milestone dependency, because we're already in milestones to make this work. We'll get all those cleaned up before 2.0.0.
@rossabaker Out of curiosity, do you happen to know what's up with the eviction in my example here? My understanding was that unless there's some |
No, I'm equally surprised by that behavior. |
Codecov Report
@@ Coverage Diff @@
## master #524 +/- ##
=========================================
+ Coverage 85.82% 89.43% +3.6%
=========================================
Files 71 71
Lines 2152 2054 -98
Branches 150 147 -3
=========================================
- Hits 1847 1837 -10
+ Misses 305 217 -88 |
sbt adds the force. It's because it's emulating Maven's "nearest wins" semantics. |
@dwijnand But I explicitly say I want |
Because it's not forced, I think. You define you want 0.11.2-M1 and via cats-effect-laws defines it wants 0.11.1, which is forced, therefore 0.11.1 wins. At least I think that's how it happens. It's bad, I know, and it's not even new. |
@dwijnand Hmm, I'm not sure I'm convinced, especially because moving |
Yeah, that makes absolutely no sense. |
|
When the tests are run here 0.11.1 is evicted and 0.11.2-M1 is used (which is why they're working), but for cats-effect-laws users with a configuration like this:
…the eviction goes the wrong way:
And then you get "missing from the classpath" errors about
org.scalatest.prop.Checkers
.It's easy enough to work around this by e.g. moving the cats-effect-laws dependency to the end of the list, but it'd be better just to fix it here.