Unverified Commit e5fbe6ad authored by 7c6f434c's avatar 7c6f434c Committed by GitHub
Browse files

Merge pull request #160220 from collares/sage-sphinx-4.4

sageWithDoc: fix Sphinx warnings which break docgen
parents 6da33281 b38b641f
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -144,6 +144,17 @@ stdenv.mkDerivation rec {
      rev = "53532ddd4e2dc92469c1590ebf0c40f8f69bf579";
      sha256 = "sha256-6SoSBvIlqvNwZV3jTB6uPdUtaWIOeNmddi2poK/WvGs=";
    })

    # TODO: This will not be necessary when Sphinx 4.4.1 is released,
    # since some warnings introduced in 4.4.0 will be disabled by then
    # (https://github.com/sphinx-doc/sphinx/pull/10126).
    # https://trac.sagemath.org/ticket/33272
    (fetchSageDiff {
      base = "9.5";
      name = "sphinx-4.4-warnings.patch";
      rev = "97d7958bed441cf2ccc714d88f83d3a8426bc085";
      sha256 = "sha256-y1STE0oxswnijGCsBw8eHWWqpmT1XMznIfA0vvX9pFA=";
    })
  ];

  patches = nixPatches ++ bugfixPatches ++ packageUpgradePatches;