diff --git a/pkgs/development/python-modules/pytest-mpl/default.nix b/pkgs/development/python-modules/pytest-mpl/default.nix index f3f672324d35..7cc159faa61c 100644 --- a/pkgs/development/python-modules/pytest-mpl/default.nix +++ b/pkgs/development/python-modules/pytest-mpl/default.nix @@ -12,16 +12,16 @@ pytestCheckHook, }: -buildPythonPackage rec { +buildPythonPackage (finalAttrs: { pname = "pytest-mpl"; - version = "0.18.0"; + version = "0.19.0"; pyproject = true; src = fetchFromGitHub { owner = "matplotlib"; repo = "pytest-mpl"; - tag = "v${version}"; - hash = "sha256-9fMhVgeEL4bjNIegmJV7lisrdzp27h0syn9pMwzX4Gg="; + tag = "v${finalAttrs.version}"; + hash = "sha256-qSOGGq2lOikm3kwZmGI1hFkuPU+zuh0iGL9TbH6ktEQ="; }; build-system = [ @@ -43,6 +43,10 @@ buildPythonPackage rec { disabledTestPaths = [ # Following are broken since at least a1548780dbc79d76360580691dc1bb4af4e837f6 "tests/subtests/test_subtest.py" + # https://github.com/matplotlib/pytest-mpl/issues/263 + "tests/test_baseline_path.py::test_config" + "tests/test_results_always.py::test_config" + "tests/test_use_full_test_name.py::test_config" ]; # need to set MPLBACKEND=agg for headless matplotlib for darwin @@ -59,9 +63,10 @@ buildPythonPackage rec { ''; meta = { + changelog = "https://github.com/matplotlib/pytest-mpl/blob/${finalAttrs.src.tag}/CHANGES.md"; description = "Pytest plugin to help with testing figures output from Matplotlib"; homepage = "https://github.com/matplotlib/pytest-mpl"; license = lib.licenses.bsd3; maintainers = [ ]; }; -} +})