diff --git a/pkgs/development/python-modules/pytest-examples/default.nix b/pkgs/development/python-modules/pytest-examples/default.nix index b944b4f6c5a4..bc9e7136e84c 100644 --- a/pkgs/development/python-modules/pytest-examples/default.nix +++ b/pkgs/development/python-modules/pytest-examples/default.nix @@ -1,13 +1,12 @@ { lib, - black, buildPythonPackage, fetchFromGitHub, hatchling, pytest, - pytestCheckHook, - pythonOlder, + black, ruff, + pytestCheckHook, }: buildPythonPackage rec { @@ -15,8 +14,6 @@ buildPythonPackage rec { version = "0.0.15"; pyproject = true; - disabled = pythonOlder "3.8"; - src = fetchFromGitHub { owner = "pydantic"; repo = "pytest-examples"; @@ -39,6 +36,13 @@ buildPythonPackage rec { pythonImportsCheck = [ "pytest_examples" ]; + disabledTests = [ + # Fails with AssertionError because formatting is different than expected + "test_black_error" + "test_black_error_dot_space" + "test_black_error_multiline" + ]; + meta = { description = "Pytest plugin for testing examples in docstrings and markdown files"; homepage = "https://github.com/pydantic/pytest-examples";