diff --git a/avoid-deprecated-ast.patch b/avoid-deprecated-ast.patch deleted file mode 100644 index f6c8de8..0000000 --- a/avoid-deprecated-ast.patch +++ /dev/null @@ -1,24 +0,0 @@ -From 05caf0772d605799e5d2337018fd32ac829b37aa Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Lo=C3=AFc=20Est=C3=A8ve?= -Date: Fri, 20 Oct 2023 19:59:00 +0200 -Subject: [PATCH] MNT fix Python 3.12 deprecation warning (#1518) - ---- - joblib/_utils.py | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/joblib/_utils.py b/joblib/_utils.py -index 7693310e0..6cd99ad31 100644 ---- a/joblib/_utils.py -+++ b/joblib/_utils.py -@@ -35,8 +35,8 @@ def eval_expr(expr): - - - def eval_(node): -- if isinstance(node, ast.Num): # -- return node.n -+ if isinstance(node, ast.Constant): # -+ return node.value - elif isinstance(node, ast.BinOp): # - return operators[type(node.op)](eval_(node.left), eval_(node.right)) - elif isinstance(node, ast.UnaryOp): # e.g., -1