From 459057e131c7a63c8019229c57a982ef9d5baa9a Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Thu, 24 Oct 2024 05:24:49 +0200 Subject: [PATCH] python312Packages.pydantic-extra-types: disable failing test on darwin --- .../python-modules/pydantic-extra-types/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/development/python-modules/pydantic-extra-types/default.nix b/pkgs/development/python-modules/pydantic-extra-types/default.nix index 245ea54fe01e..588ed7b5312e 100644 --- a/pkgs/development/python-modules/pydantic-extra-types/default.nix +++ b/pkgs/development/python-modules/pydantic-extra-types/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchFromGitHub, hatchling, @@ -51,6 +52,9 @@ buildPythonPackage rec { "test_json_schema" ]; + # PermissionError accessing '/etc/localtime' + disabledTestPaths = lib.optionals stdenv.isDarwin [ "tests/test_pendulum_dt.py" ]; + meta = with lib; { changelog = "https://github.com/pydantic/pydantic-extra-types/blob/${src.rev}/HISTORY.md"; description = "Extra Pydantic types";