From 798c76ea130ba0b348bcf9db6f6bb7c25d0d2f7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Forsman?= Date: Thu, 10 Nov 2022 20:48:12 +0100 Subject: [PATCH] python3Packages.autopep8: replace toml with tomli Looks like this change is needed to avoid breaking a part of autopep8: * https://github.com/hhatto/autopep8/commit/d0836947df66a052a1d18925a64feb0374598f02 * https://github.com/hhatto/autopep8/releases/tag/v1.7.1 Suggested-by: @SFrijters --- pkgs/development/python-modules/autopep8/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/python-modules/autopep8/default.nix b/pkgs/development/python-modules/autopep8/default.nix index ec3ecb20f906..cef1d9f3a9a8 100644 --- a/pkgs/development/python-modules/autopep8/default.nix +++ b/pkgs/development/python-modules/autopep8/default.nix @@ -3,7 +3,7 @@ , buildPythonPackage , pycodestyle , glibcLocales -, toml +, tomli , pytestCheckHook }: @@ -16,7 +16,7 @@ buildPythonPackage rec { sha256 = "sha256-8AWCIOTMDvYSGZb8jsHDLwc15Ea+I8Th9pLeC/IxdN0="; }; - propagatedBuildInputs = [ pycodestyle toml ]; + propagatedBuildInputs = [ pycodestyle tomli ]; checkInputs = [ glibcLocales