python3Packages.commoncode: 30.2.0 -> 31.0.0

This commit is contained in:
Martin Weinelt
2022-09-14 23:36:05 +02:00
parent 7f92259b85
commit 5db734c002
@@ -19,14 +19,14 @@
buildPythonPackage rec {
pname = "commoncode";
version = "30.2.0";
version = "31.0.0";
format = "pyproject";
disabled = pythonOlder "3.6";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-7kcDWfw4M7boe0ABO4ob1d+XO1YxS924mtGETvHoNf0=";
sha256 = "sha256-iX7HjsbW9rUgG35XalqfXh2+89vEiwish90FGOpkzRo=";
};
postPatch = ''
@@ -57,7 +57,15 @@ buildPythonPackage rec {
pytest-xdist
];
disabledTests = lib.optionals stdenv.isDarwin [
disabledTests = [
# chinese character translates different into latin
"test_safe_path_posix_style_chinese_char"
# OSError: [Errno 84] Invalid or incomplete multibyte or wide character
"test_os_walk_can_walk_non_utf8_path_from_unicode_path"
"test_resource_iter_can_walk_non_utf8_path_from_unicode_path"
"test_walk_can_walk_non_utf8_path_from_unicode_path"
"test_resource_iter_can_walk_non_utf8_path_from_unicode_path_with_dirs"
] ++ lib.optionals stdenv.isDarwin [
# expected result is tailored towards the quirks of upstream's
# CI environment on darwin
"test_searchable_paths"