python3Packages.typed-ast: drop
https://github.com/python/typed_ast/issues/179
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
{
|
||||
lib,
|
||||
buildPythonPackage,
|
||||
pythonAtLeast,
|
||||
fetchFromGitHub,
|
||||
setuptools,
|
||||
pytest,
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "typed-ast";
|
||||
version = "1.5.5";
|
||||
pyproject = true;
|
||||
|
||||
# error: unknown type name ‘PyFutureFeatures’
|
||||
disabled = pythonAtLeast "3.13";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "python";
|
||||
repo = "typed_ast";
|
||||
tag = version;
|
||||
hash = "sha256-A/FA6ngu8/bbpKW9coJ7unm9GQezGuDhgBWjOhAxm2o=";
|
||||
};
|
||||
|
||||
build-system = [
|
||||
setuptools
|
||||
];
|
||||
|
||||
nativeCheckInputs = [ pytest ];
|
||||
|
||||
preCheck = ''
|
||||
rm -rf typed_ast
|
||||
'';
|
||||
|
||||
pythonImportsCheck = [
|
||||
"typed_ast"
|
||||
"typed_ast.ast27"
|
||||
"typed_ast.ast3"
|
||||
"typed_ast.conversions"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Python AST modules with type comment support";
|
||||
homepage = "https://github.com/python/typed_ast";
|
||||
license = lib.licenses.asl20;
|
||||
maintainers = [ ];
|
||||
};
|
||||
}
|
||||
@@ -777,6 +777,7 @@ mapAliases ({
|
||||
twitter-common-lang = throw "twitter-common-lang has been removed because it is abandoned and unmaintained"; # added 2024-07-14
|
||||
twitter-common-log = throw "twitter-common-log has been removed because it is abandoned and unmaintained"; # added 2024-07-14
|
||||
twitter-common-options = throw "twitter-common-options has been removed because it is abandoned and unmaintained"; # added 2024-07-14
|
||||
typed-ast = throw "typed-ast was removed because it went end of life in July 2023"; # added 2025-05-24
|
||||
types-cryptography = throw "types-cryptography has been removed because it is obsolete since cryptography version 3.4.4."; # added 2022-05-30
|
||||
types-enum34 = throw "types-enum34 is obselete since Python 3.4"; # added 2025-02-15
|
||||
types-paramiko = throw "types-paramiko has been removed because it was unused."; # added 2022-05-30
|
||||
|
||||
@@ -17909,8 +17909,6 @@ self: super: with self; {
|
||||
inherit (pkgs) file zlib;
|
||||
};
|
||||
|
||||
typed-ast = callPackage ../development/python-modules/typed-ast { };
|
||||
|
||||
typed-settings = callPackage ../development/python-modules/typed-settings { };
|
||||
|
||||
typedunits = callPackage ../development/python-modules/typedunits { };
|
||||
|
||||
Reference in New Issue
Block a user