Commit d5f00d36 authored by R. RyanTM's avatar R. RyanTM Committed by Gaetan Lepage
Browse files

python3Packages.mwxml: 0.3.6 -> 0.3.8

parent fc26589d
Loading
Loading
Loading
Loading
+15 −9
Original line number Diff line number Diff line
@@ -14,16 +14,17 @@

  # tests
  pytestCheckHook,
  pythonAtLeast,
}:

buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
  pname = "mwxml";
  version = "0.3.6";
  version = "0.3.8";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-WlMYHTAhUq0D7FE/8Yaongx+H8xQx4MwRSoIcsqmOTU=";
    inherit (finalAttrs) pname version;
    hash = "sha256-yiIyqX6pMem7JPhbVKSRBYwjwHRXY3LnESRq+scGFuA=";
  };

  build-system = [ setuptools ];
@@ -38,7 +39,12 @@ buildPythonPackage rec {

  nativeCheckInputs = [ pytestCheckHook ];

  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
  disabledTests =
    lib.optionals (pythonAtLeast "3.14") [
      # _pickle.PicklingError: Can't pickle local object <function map.<locals>.process_path at 0x7ffff580f480>
      "test_complex_error_handler"
    ]
    ++ lib.optionals stdenv.hostPlatform.isDarwin [
      # AttributeError: Can't get local object 'map.<locals>.process_path'
      "test_complex_error_handler"
    ];
@@ -50,4 +56,4 @@ buildPythonPackage rec {
    license = lib.licenses.mit;
    maintainers = with lib.maintainers; [ GaetanLepage ];
  };
}
})