summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/commoncode
diff options
context:
space:
mode:
authorMartin Weinelt <hexa@darmstadt.ccc.de>2022-09-14 23:36:05 +0200
committerMartin Weinelt <hexa@darmstadt.ccc.de>2022-09-18 23:57:39 +0200
commit5db734c002ca251e2f070bdf002b74d2f08d9d0b (patch)
tree103085ebea06d79bfc71dd93ce373f9f2a223c56 /pkgs/development/python-modules/commoncode
parentpython3Packages.colorlog: 6.6.0 -> 6.7.0 (diff)
downloadnixpkgs-5db734c002ca251e2f070bdf002b74d2f08d9d0b.tar.gz
python3Packages.commoncode: 30.2.0 -> 31.0.0
Diffstat (limited to 'pkgs/development/python-modules/commoncode')
-rw-r--r--pkgs/development/python-modules/commoncode/default.nix14
1 files changed, 11 insertions, 3 deletions
diff --git a/pkgs/development/python-modules/commoncode/default.nix b/pkgs/development/python-modules/commoncode/default.nix
index 42bf9d15a675..6b1d873069a8 100644
--- a/pkgs/development/python-modules/commoncode/default.nix
+++ b/pkgs/development/python-modules/commoncode/default.nix
@@ -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"