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.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user