From 02bf0e589653d34dc919b32a1d3c67b0d0bb2335 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Sun, 11 Nov 2018 09:43:58 +0100 Subject: [PATCH] python: autopep8: 1.3.5 -> 1.4.2 --- pkgs/development/python-modules/autopep8/default.nix | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/autopep8/default.nix b/pkgs/development/python-modules/autopep8/default.nix index 2af098692988..03a084bf01ad 100644 --- a/pkgs/development/python-modules/autopep8/default.nix +++ b/pkgs/development/python-modules/autopep8/default.nix @@ -1,19 +1,23 @@ -{ stdenv, fetchPypi, buildPythonPackage, pycodestyle }: +{ stdenv, fetchPypi, buildPythonPackage, pycodestyle, glibcLocales }: buildPythonPackage rec { pname = "autopep8"; - version = "1.3.5"; + version = "1.4.2"; src = fetchPypi { inherit pname version; - sha256 = "192bvhzi4d0claqxgzymvv7k3qnj627742bc8sgxpzjj42pd9112"; + sha256 = "1b8d42ebba751a91090d3adb5c06840b1151d71ed43e1c7a9ed6911bfe8ebe6c"; }; propagatedBuildInputs = [ pycodestyle ]; # One test fails: # FAIL: test_recursive_should_not_crash_on_unicode_filename (test.test_autopep8.CommandLineTests) - doCheck = false; +# doCheck = false; + + checkInputs = [ glibcLocales ]; + + LC_ALL = "en_US.UTF-8"; meta = with stdenv.lib; { description = "A tool that automatically formats Python code to conform to the PEP 8 style guide";