Unverified Commit f09635ef authored by Gaétan Lepage's avatar Gaétan Lepage Committed by GitHub
Browse files

python312Packages.mwxml: 0.3.5 -> 0.3.6 (#388938)

parents c64873e9 9f3487c8
Loading
Loading
Loading
Loading
+11 −5
Original line number Diff line number Diff line
@@ -3,21 +3,27 @@
  stdenv,
  buildPythonPackage,
  fetchPypi,

  # build-system
  setuptools,

  # dependencies
  jsonschema,
  mwcli,
  mwtypes,

  # tests
  pytestCheckHook,
  setuptools,
}:

buildPythonPackage rec {
  pname = "mwxml";
  version = "0.3.5";
  version = "0.3.6";
  pyproject = true;

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-K/5c6BfX2Jo/jcKhCa3hCQ8PtWzqSFZ8xFqe1R/CSEs=";
    hash = "sha256-WlMYHTAhUq0D7FE/8Yaongx+H8xQx4MwRSoIcsqmOTU=";
  };

  build-system = [ setuptools ];
@@ -28,10 +34,10 @@ buildPythonPackage rec {
    mwtypes
  ];

  nativeCheckInputs = [ pytestCheckHook ];

  pythonImportsCheck = [ "mwxml" ];

  nativeCheckInputs = [ pytestCheckHook ];

  disabledTests = lib.optionals stdenv.hostPlatform.isDarwin [
    # AttributeError: Can't get local object 'map.<locals>.process_path'
    "test_complex_error_handler"