diff --git a/pkgs/development/python-modules/docutils/default.nix b/pkgs/development/python-modules/docutils/default.nix index 31dd58cdf6a9..e81a502742c7 100644 --- a/pkgs/development/python-modules/docutils/default.nix +++ b/pkgs/development/python-modules/docutils/default.nix @@ -9,20 +9,18 @@ buildPythonPackage rec { pname = "docutils"; - version = "0.15.2"; + version = "0.16"; src = fetchPypi { inherit pname version; - sha256 = "168s5v7bff5ar9jspr6wn823q1sbn0jhnbp9clk41nl8j09fmbm2"; + sha256 = "c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc"; }; # Only Darwin needs LANG, but we could set it in general. # It's done here conditionally to prevent mass-rebuilds. - checkPhase = lib.optionalString (isPy3k && stdenv.isDarwin) ''LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" '' + (if isPy3k then '' - ${python.interpreter} test3/alltests.py - '' else '' + checkPhase = lib.optionalString (isPy3k && stdenv.isDarwin) ''LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" '' + '' ${python.interpreter} test/alltests.py - ''); + ''; # Create symlinks lacking a ".py" suffix, many programs depend on these names postFixup = '' @@ -31,10 +29,6 @@ buildPythonPackage rec { done ''; - # Four tests are broken with 3.8. - # test_writers.test_odt.DocutilsOdtTestCase - doCheck = !isPy38; - meta = { description = "Docutils -- Python Documentation Utilities"; homepage = http://docutils.sourceforge.net/;