python3Packages.typed-ast: drop

https://github.com/python/typed_ast/issues/179
This commit is contained in:
Robert Schütz 2025-05-24 15:25:39 -07:00
parent e2928d8bc9
commit fb7f603d2d
3 changed files with 1 additions and 50 deletions

View file

@ -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 = [ ];
};
}

View file

@ -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

View file

@ -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 { };