-
Notifications
You must be signed in to change notification settings - Fork 11
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
Switch to Libtask 0.7 #45
Conversation
Probably we should change the |
Pull Request Test Coverage Report for Build 1875168839Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
We could fix this compat entry in the registry if we want to avoid the abstract fields. |
I've now proposed to pin it at Turing (TuringLang/Turing.jl#1779). Maybe it would actually be good to move AdvancedPS#master to Libtask 0.7 too to avoid possible confusion. Sorry for me being all over the place here. I'm having zero experience with a staging environment and am having trouble to understand how things go here in this repo. |
Codecov Report
@@ Coverage Diff @@
## master #45 +/- ##
==========================================
+ Coverage 61.03% 61.26% +0.23%
==========================================
Files 6 6
Lines 426 426
==========================================
+ Hits 260 261 +1
+ Misses 166 165 -1
Continue to review full report at Codecov.
|
My point is independent of the AdvancedPS branches: It was a mistake to declare any version of AdvancedPS to be compatible with Libtask 0.7. AdvancedPS has to be updated properly first, e.g., by changing the |
Just to be sure. You mean "shouldn't have" because 0.3.5 has Libtask 0.7 in the compat entry (https://github.com/TuringLang/AdvancedPS.jl/blob/releases/Project.toml). |
Yes. But that can be fixed in the registry. |
It was motivated to fix the
|
The problem is that it's not a simple update - suddenly all nicely typed structs and containers have abstract fields or type parameters. IMO it would have been cleaner to make a 0.4 release with the Libtask 0.7 compat update and fix all these issues at the same time. I guess we could make a 0.4 release on the releases branch if we don't want to release the other changes on the master branch right now, and then update the master branch to 0.5. Alternatively, if the releases branch should only contain 0.3.x releases we could fork another releases-0.4 branch from it and add the compat update there. |
I'm not sure I follow all the details here. The only change in #44 is replacing |
Yes, in #44 only In Libtask 0.7, however, |
Since we plan to make |
I see, if there are more changes to the type to be expected in the next weeks it might be easier to update AdvancedPS once everything has stabilized. Maybe we could open an issue that reminds us about these abstract fields. In general, I think we shouldn't update compat bounds before versions of upstream packages are released. I don't think it makes updates much faster and it means if accidentally something breaks users will actually end up with the broken versions. Whereas if we update compat bounds once upstream packages are released, hopefully our tests catch all (common) bugs. |
I'm merging this PR, but we won't make a new release from |
I'll also make a PR in the releases branch.
Oh wait, Hong already set the Libtask to 0.7 on the 0.3.5 release. I'll close this