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
sage: 8.2 -> 8.3 #43281
sage: 8.2 -> 8.3 #43281
Conversation
I think given the amount of complexity in upstream sage packaging it is a nice idea to have such a PR in the open. PS. added some labels, found out that GitHub obviously cannot do a merge of independent label subset operations. |
@@ -117,7 +118,12 @@ stdenv.mkDerivation rec { | |||
] ++ stdenv.lib.optional (stdenv.hostPlatform.libc == "musl") "NO_AFFINITY=1" | |||
++ mapAttrsToList (var: val: var + "=" + val) config; | |||
|
|||
patches = []; # TODO: Remove on next mass-rebuild | |||
patches = [ |
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.
Why? Please add a comment.
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.
Thats the openblas backport I mentioned in the PR description, #43234
@@ -38,6 +39,14 @@ buildPythonPackage rec { | |||
substituteInPlace setup.py --replace "'gnureadline'" " " | |||
''; | |||
|
|||
patches = [ | |||
(fetchpatch { |
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.
Why? Please add a comment.
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.
Because sage applied that patch and relies on it. As I said in the PR description, I'm guessing/hoping there will be a new ipython release before the final sage 8.3. So that patch will likely never make it into nixpkgs master.
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.
Yah that's the idea :)
What do you mean by label subset operations? Race conditions with ofborg adding labels? (Not all that related, but I'm really looking forward to NixOS/ofborg#164.) |
In case anybody is testing this and the tests fail, thats because of a transient test failure and not caused by the nix package: https://groups.google.com/d/msg/sage-release/zSCoOwWazww/CtQqMXprBgAJ |
What do you mean by label subset operations? Race conditions with ofborg adding labels?
Race condition between two disjoint additions!
(Not all that related, but I'm really looking forward to NixOS/ofborg#164 .)
I look forward to Microsoft running GitHub into ground…
I mean, if we need ofborg for everything, maybe Github is a part of the problem, not part of a solution?
|
>What do you mean by label subset operations? Race conditions with ofborg adding labels?
Race condition between two disjoint additions!
Well thats just stupid.
>(Not all that related, but I'm really looking forward to NixOS/ofborg#164 .)
I look forward to Microsoft running GitHub into ground…
I mean, if we need ofborg for everything, maybe Github is a part of the problem, not part of a solution?
I wouldn't be all that saddened. But at gitlab wouldn't solve this problem either.
And since it seems like the move is not going to happen before the frog is boiled, we might as well make ourselves comfortable.
I dislike a lot of things about the sage development model. But the one thing I miss in nixpkgs is the workflow where every ticket has a status that is one of (among others) "needs:work" and "needs:review".
|
Well, Gitlab is better because you can have a NixOS test for ofborg-Gitlab integration! Of course, having a bot generate and upload summaries out of mailing list would probably work better than Github if only because scraping a mailing list enforces a proper model of operation. I think most of PRs are need:review by default, the rest are either [WIP] or match some needs: tag. And we don't have a clear idea what to do with issues, that's true. And of course we cannot even try a lot of nice workflows because «oh and run the full testsuite» requires insane amount of buildpower… |
Well, Gitlab is better because you can have a NixOS test for ofborg-Gitlab integration! Of course, having a bot generate and upload summaries out of mailing list would probably work better than Github if only because scraping a mailing list enforces a proper model of operation.
What do you mean by generating summaries out of mailinglists?
I think _most_ of PRs are need:review by default, the rest are either [WIP] or match some needs: tag. And we don't have a clear idea what to do with issues, that's true.
Well they all *start* with needs:review, but I think many are in the "needs:work" phase of the review. If we had consistent tagging reviewers could just look at the needs:review list when they have time and we could properly judge how bad our PR-problem is.
And of course we cannot even try a lot of nice workflows because «oh and run the full testsuite» requires insane amount of buildpower…
Not sure what you mean by that. The full ofBorg testsuite?
|
What do you mean by generating summaries out of mailinglists?
Patches to mailing list sometimes get lost. A summary «we have this Git URL submitted as a pull request, these people approved, these are ofborg evaluation result» and a global overview of such summaries would probably become strictly more informative than Github after three months.
Well they all *start* with needs:review, but I think many are in the "needs:work" phase of the review. If we had consistent tagging reviewers could just look at the needs:review list when they have time and we could properly judge how bad our PR-problem is.
Dismissing changes-requested reviews when no longer applicable could also be an option… And WIP labels are used from time to time. I would guess that the PR-problem is worse than you think, though. Then again, there is a nontrivial number of stuck PRs by project members (which are almost always a completely different kind of problem). Well, if we used an actual issue tracker we would have separate trackers for separate things, but oh well.
Not sure what you mean by that. The full ofBorg testsuite?
No, checking that a minor package update doesn't break any reverse dependencies.
|
On 18-07-11 14:05, Michael Raskin wrote:
>What do you mean by generating summaries out of mailinglists?
Patches to mailing list sometimes get lost. A summary «we have this Git URL submitted as a pull request, these people approved, these are ofborg evaluation result» and a global overview of such summaries would probably become strictly more informative than Github after three months.
Ah. Not sure what I think of the mailing list approach. It does have its merits for sure.
>Well they all *start* with needs:review, but I think many are in the "needs:work" phase of the review. If we had consistent tagging reviewers could just look at the needs:review list when they have time and we could properly judge how bad our PR-problem is.
Dismissing changes-requested reviews when no longer applicable could also be an option…
Yeah that has always bothered me.
And WIP labels are used from time to time.
But usually not in the normal back-and-forth between reviewer and contributor.
I would guess that the PR-problem is worse than you think, though. Then again, there is a nontrivial number of stuck PRs by project members (which are almost always a completely different kind of problem).
Yeah the non-trivial, infrastructure changing PRs are something different entirely.
Well, if we used an actual issue tracker we would have separate trackers for separate things, but oh well.
I prefer tagging over separate trackers, but thats basically the same thing.
By the way could someone merge #43234? This is causing failures and considering that it'll have to go through staging I would like to merge that as quickly as possible. The patch is already upstream and it is a bug fix so that should be pretty uncontroversial.
|
Ah right. But that shouldn't stop us from improving our current workflow. By the way in relevant sage related news: There is work upstream to make it possible to run tests in limited time. That would make it possible to test most of sage in a fraction of the time. I was thinking about completely splitting the tests from the main package anyways (while still making them a dependency). So then there could be |
Good news for Sage tests, but Sage is still a non-negligible rebuild per se, and then it is not the only one. As for workflow — some structural differences mean that many tradeoffs between using tooling and spending human attention become unaffodable to us, and handling Nixpkgs PRs en masse is a burn out risk when spending too much of human attention. But of course, there are a lot of good ideas that do not require making extra decisions or ensuring that nobody forgets about a PR. |
916d683
to
daeb8f9
Compare
@timokau I think so. Note I don't maintain the Python 2 version of IPython. |
Now possible because of the lcalc c++11 patch.
I've added a patch to mark a known "random" failure (always happens on my laptop, never on my desktop). This is ready for merge. |
Motivation for this change
The first release candidate for 8.3 is out. It will probably still be some time until the proper release. Its easier to keep track on upstream changes by maintaining an unstable sage version. Since working in the open is always better and maybe somebody cares or wants to test/use it, I'm opening this WIP PR for it. If somebody thinks this shouldn't be a PR, feel free to close it.
Notes:
Known issues:
hyperelliptic_finite_field.py
https://groups.google.com/d/msg/sage-release/zSCoOwWazww/CtQqMXprBgAJThings done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)