From 1719162d8237130b00a67cca1020fd11614f24a7 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Tue, 14 Jul 2026 17:09:05 +0200 Subject: [PATCH] Revert "python3Packages.typer: 0.25.1 -> 0.26.8" This reverts commit 8a8a740ccdca82275a508df31b1bf5ddf5044676. This release drops the click dependency and vendors it instead and the ecosystem is not quite ready yet. --- pkgs/development/python-modules/typer/default.nix | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/pkgs/development/python-modules/typer/default.nix b/pkgs/development/python-modules/typer/default.nix index 80f3ac75dbbc..65a0772135ad 100644 --- a/pkgs/development/python-modules/typer/default.nix +++ b/pkgs/development/python-modules/typer/default.nix @@ -9,6 +9,7 @@ # dependencies annotated-doc, + click, # optional-dependencies rich, @@ -23,14 +24,14 @@ buildPythonPackage rec { pname = "typer"; - version = "0.26.8"; + version = "0.25.1"; pyproject = true; src = fetchFromGitHub { owner = "fastapi"; repo = "typer"; tag = version; - hash = "sha256-VkqvlWLzmtbQPaplx/YRdSNN1xq/UMRl8EZVIEm97Lk="; + hash = "sha256-HIvXseuR7zUXFuTWzntDfHhAp8BcFjxo35gn0i4+03w="; }; postPatch = '' @@ -46,6 +47,7 @@ buildPythonPackage rec { dependencies = [ annotated-doc + click rich shellingham ]; @@ -65,10 +67,6 @@ buildPythonPackage rec { # fails also on Linux "test_show_completion" "test_install_completion" - # error message mismatch - "test_file_error" - # test invokes test_types_file.py and fails to import .../tests - "test_binary_stderr" ] ++ lib.optionals (stdenv.hostPlatform.isLinux && stdenv.hostPlatform.isAarch64) [ "test_install_completion"