From 93b61e55f3fa530f7a3cd9c77e2186ad3bb3ebbf Mon Sep 17 00:00:00 2001 From: Ryan Hendrickson Date: Sat, 20 May 2023 15:32:00 -0400 Subject: [PATCH] python311Packages.fn: disable --- pkgs/development/python-modules/fn/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/python-modules/fn/default.nix b/pkgs/development/python-modules/fn/default.nix index 0acdf24d9542..e7a0d4c0416d 100644 --- a/pkgs/development/python-modules/fn/default.nix +++ b/pkgs/development/python-modules/fn/default.nix @@ -2,12 +2,17 @@ , buildPythonPackage , fetchpatch , fetchPypi +, pythonAtLeast }: buildPythonPackage rec { pname = "fn"; version = "0.4.3"; + # Python 3.11 changed the API of the `inspect` module and fn was never + # updated to adapt; last commit was in 2014. + disabled = pythonAtLeast "3.11"; + src = fetchPypi { inherit pname version; sha256 = "1nmsjmn8jb4gp22ksx0j0hhdf4y0zm8rjykyy2i6flzimg6q1kgq";