From 1f82259dd11c32856bfb8696e202f89a1e09a7c0 Mon Sep 17 00:00:00 2001 From: Nick Cao Date: Mon, 19 Jun 2023 17:38:58 +0800 Subject: [PATCH] python3Packages.autopep8: 2.0.1 -> 2.0.2 Diff: https://github.com/hhatto/autopep8/compare/refs/tags/v2.0.1...v2.0.2 Changelog: https://github.com/hhatto/autopep8/releases/tag/v2.0.2 --- .../python-modules/autopep8/default.nix | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/pkgs/development/python-modules/autopep8/default.nix b/pkgs/development/python-modules/autopep8/default.nix index f22d92d7bfb1..b34a78351bd9 100644 --- a/pkgs/development/python-modules/autopep8/default.nix +++ b/pkgs/development/python-modules/autopep8/default.nix @@ -1,7 +1,6 @@ { lib , buildPythonPackage , fetchFromGitHub -, fetchpatch , glibcLocales , pycodestyle , pytestCheckHook @@ -11,7 +10,7 @@ buildPythonPackage rec { pname = "autopep8"; - version = "2.0.1"; + version = "2.0.2"; format = "setuptools"; disabled = pythonOlder "3.7"; @@ -20,18 +19,9 @@ buildPythonPackage rec { owner = "hhatto"; repo = "autopep8"; rev = "refs/tags/v${version}"; - hash = "sha256-YEPSsUzJG4MPiiloVAf9m/UiChkhkN0+lK6spycpSvo="; + hash = "sha256-+EZgo7xtYKMgpcntU5FtPrfikDDpnvGHhorhtoqDsvE="; }; - patches = [ - # Ignore DeprecationWarnings to fix tests on Python 3.11, https://github.com/hhatto/autopep8/pull/665 - (fetchpatch { - name = "ignore-deprecation-warnings.patch"; - url = "https://github.com/hhatto/autopep8/commit/75b444d7cf510307ef67dc2b757d384b8a241348.patch"; - hash = "sha256-5hcJ2yAuscvGyI7zyo4Cl3NEFG/fZItQ8URstxhzwzE="; - }) - ]; - propagatedBuildInputs = [ pycodestyle ] ++ lib.optionals (pythonOlder "3.11") [ @@ -43,7 +33,7 @@ buildPythonPackage rec { pytestCheckHook ]; - LC_ALL = "en_US.UTF-8"; + env.LC_ALL = "en_US.UTF-8"; meta = with lib; { changelog = "https://github.com/hhatto/autopep8/releases/tag/v${version}";