Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ae3e9b5a27e6
Choose a base ref
...
head repository: NixOS/nixpkgs
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 02bf0e589653
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Nov 11, 2018

  1. Unverified

    This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
    Copy the full SHA
    02bf0e5 View commit details
Showing with 8 additions and 4 deletions.
  1. +8 −4 pkgs/development/python-modules/autopep8/default.nix
12 changes: 8 additions & 4 deletions pkgs/development/python-modules/autopep8/default.nix
Original file line number Diff line number Diff line change
@@ -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";