Merge pull request #237583 from SFrijters/schemdraw-0.17

python3Packages.schemdraw: 0.16 -> 0.17, python3Packages.ziamath: 0.7 -> 0.8.1

authored by

Guillaume Girol and committed by
GitHub
e613749b eb111d12

+12 -4
+2 -2
pkgs/development/python-modules/schemdraw/default.nix
··· 13 13 14 14 buildPythonPackage rec { 15 15 pname = "schemdraw"; 16 - version = "0.16"; 16 + version = "0.17"; 17 17 format = "pyproject"; 18 18 19 19 disabled = pythonOlder "3.8"; ··· 22 22 owner = "cdelker"; 23 23 repo = pname; 24 24 rev = version; 25 - hash = "sha256-W9sXtYI8gEwQPRo50taEGT6AQG1tdAbeCtX49eHVvFQ="; 25 + hash = "sha256-wa/IeNGZynU/xKwyFwebXcFaruhBFqGWsrZYaIEVa8Q="; 26 26 }; 27 27 28 28 propagatedBuildInputs = [
+10 -2
pkgs/development/python-modules/ziamath/default.nix
··· 10 10 11 11 buildPythonPackage rec { 12 12 pname = "ziamath"; 13 - version = "0.7"; 13 + version = "0.8.1"; 14 + format = "pyproject"; 14 15 15 16 disabled = pythonOlder "3.8"; 16 17 ··· 18 19 owner = "cdelker"; 19 20 repo = pname; 20 21 rev = version; 21 - hash = "sha256-JuuCDww0EZEHZLxB5oQrWEJpv0szjwe4iXCRGl7OYTA="; 22 + hash = "sha256-Bbwq4Ods3P/724KO94jSmMLD1ubfaMHP/gTlOL/2pnE="; 22 23 }; 23 24 24 25 propagatedBuildInputs = [ ··· 32 33 ]; 33 34 34 35 pytestFlagsArray = [ "--nbval-lax" ]; 36 + 37 + # Prevent the test suite from attempting to download fonts 38 + postPatch = '' 39 + substituteInPlace test/styles.ipynb \ 40 + --replace '"def testfont(exprs, fonturl):\n",' '"def testfont(exprs, fonturl):\n", " return\n",' \ 41 + --replace "mathfont='FiraMath-Regular.otf', " "" 42 + ''; 35 43 36 44 pythonImportsCheck = [ "ziamath" ]; 37 45