python3Packages.configparser: 5.3.0 -> 6.0.0

This commit is contained in:
Martin Weinelt 2023-09-15 14:05:57 +02:00
parent c1115acec6
commit ce508b5429

View file

@ -2,12 +2,12 @@
buildPythonPackage rec {
pname = "configparser";
version = "5.3.0";
version = "6.0.0";
format = "pyproject";
src = fetchPypi {
inherit pname version;
hash = "sha256-i+JngktUHAmwjbEkkX9Iq1JabD6DcBHzEweBoiTFcJA=";
hash = "sha256-7JFKseVsZy3h9cNIOWTmj3GzTkV5BLe3bga5Iq7AZ6g=";
};
nativeBuildInputs = [ setuptools-scm ];
@ -18,6 +18,12 @@ buildPythonPackage rec {
export LC_ALL=${if stdenv.isDarwin then "en_US" else "C"}.UTF-8
'';
preCheck = ''
# avoid FileNotFoundError
# FileNotFoundError: [Errno 2] No such file or directory: 'cfgparser.3'
cd tests
'';
meta = with lib; {
description = "Updated configparser from Python 3.7 for Python 2.6+.";
homepage = "https://github.com/jaraco/configparser";