python: autopep8: 1.3.5 -> 1.4.2

This commit is contained in:
Frederik Rietdijk 2018-11-11 09:43:58 +01:00
parent ae3e9b5a27
commit 02bf0e5896

View File

@ -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";