sage: patch test so that new pari warning doesn't cause failures (#4)

authored by

Mauricio Collares and committed by
GitHub
1ee4cb8d dc2cad81

+14
+14
pkgs/applications/science/math/sage/sage-src.nix
··· 23 23 # branches (wip patches from tickets), but exports each commit as a separate 24 24 # patch, so merge commits can lead to conflicts. Used if squashed == false. 25 25 # 26 + # The above is the preferred option. To use it, find a Trac ticket and pass the 27 + # "Commit" field from the ticket as "rev", choosing "base" as an appropriate 28 + # release tag, i.e. a tag that doesn't cause the patch to include a lot of 29 + # unrelated changes. If there is no such tag (due to nonlinear history, for 30 + # example), there are two other options, listed below. 31 + # 26 32 # 2) From GitHub's sagemath/sage repo. This lets us use a GH feature that allows 27 33 # us to choose between a .patch file, with one patch per commit, or a .diff file, 28 34 # which squashes all commits into a single diff. This is used if squashed == ··· 117 123 name = "sympy-1.9-update.patch"; 118 124 rev = "beed4e16aff32e47d0c3b1c58cb1e2f4c38590f8"; 119 125 sha256 = "sha256-3eJPfWfCrCAQ5filIn7FbzjRQeO9QyTIVl/HyRuqFtE="; 126 + }) 127 + 128 + # https://trac.sagemath.org/ticket/32797 129 + (fetchSageDiff { 130 + base = "9.5.beta7"; 131 + name = "pari-2.13.3-update.patch"; 132 + rev = "f5f7a86908daf60b25e66e6a189c51ada7e0a732"; 133 + sha256 = "sha256-H/caGx3q4KcdsyGe+ojV9bUTQ5y0siqM+QHgDbeEnbw="; 120 134 }) 121 135 ]; 122 136