git.iko.soy/typeable/nixpkgs
on master help sign in
python3Packages.yamllint: 1.25.0 -> 1.26.0

Fix Darwin build: disable broken tests on BSDs; see https://github.com/adrienverge/yamllint/issues/307. Report failure of test_find_files_recursively upstream; see https://github.com/adrienverge/yamllint/issues/373. Signed-off-by: Sirio Balmelli <sirio@b-ad.ch> Co-authored-by: Robert Schütz <dev@schuetz-co.de>

commitf6062dce02522a7da26edb9178418c1ae18a8662 authorSirio Balmelli <sirio@b-ad.ch> dateWed 31 Mar 2021, 13:55 (6 years ago) parentf9be0fb
1 file changed+9−3
pkgs/development/python-modules/yamllint/default.nix+9−3
pkgs/development/python-modules/yamllint/default.nix+9−3
@@ -5,16 +5,17 @@
55, pytestCheckHook
66, pythonOlder
77, pyyaml
8+, stdenv
89}:
910
1011buildPythonPackage rec {
1112 pname = "yamllint";
12− version = "1.25.0";
13+ version = "1.26.0";
1314 disabled = pythonOlder "3.5";
1415
1516 src = fetchPypi {
1617 inherit pname version;
17− sha256 = "b1549cbe5b47b6ba67bdeea31720f5c51431a4d0c076c1557952d841f7223519";
18+ sha256 = "11qhs1jk9pwvyk5k3q5blh9sq42dh1ywdf1f3i2zixf7hncwir5h";
1819 };
1920
2021 propagatedBuildInputs = [
@@ -27,8 +28,13 @@ buildPythonPackage rec {
2728 ];
2829
2930 disabledTests = [
30− # Test failure could be related to https://github.com/adrienverge/yamllint/issues/334
31+ # test failure reported upstream: https://github.com/adrienverge/yamllint/issues/373
3132 "test_find_files_recursively"
33+ ] ++ lib.optional stdenv.isDarwin [
34+ # locale tests are broken on BSDs; see https://github.com/adrienverge/yamllint/issues/307
35+ "test_locale_accents"
36+ "test_locale_case"
37+ "test_run_with_locale"
3238 ];
3339
3440 pythonImportsCheck = [ "yamllint" ];