From 092faa019b91b2da7b81de9b04446c34ce254f04 Mon Sep 17 00:00:00 2001 From: Maxime Beauchemin Date: Fri, 13 Dec 2024 21:17:52 -0800 Subject: [PATCH] chore: remove numba and llvmlite deps as they are large and we don't use them (#31451) --- pyproject.toml | 6 +++++- requirements/base.txt | 13 +++---------- 2 files changed, 8 insertions(+), 11 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ca0d66a4b..448002b5f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -70,7 +70,11 @@ dependencies = [ "nh3>=0.2.11, <0.3", "numpy==1.23.5", "packaging", - "pandas[excel,performance]>=2.0.3, <2.1", + # -------------------------- + # pandas and related (wanting pandas[performance] without numba as it's 100+MB and not needed) + "pandas[excel]>=2.0.3, <2.1", + "bottleneck", + # -------------------------- "parsedatetime", "paramiko>=3.4.0", "pgsanity", diff --git a/requirements/base.txt b/requirements/base.txt index 724ca6271..b610aa0e6 100644 --- a/requirements/base.txt +++ b/requirements/base.txt @@ -35,7 +35,7 @@ billiard==4.2.1 blinker==1.9.0 # via flask bottleneck==1.4.2 - # via pandas + # via apache-superset brotli==1.1.0 # via flask-compress cachelib==0.9.0 @@ -194,8 +194,6 @@ korean-lunar-calendar==0.3.1 # via holidays limits==3.13.0 # via flask-limiter -llvmlite==0.43.0 - # via numba mako==1.3.6 # via # alembic @@ -224,17 +222,12 @@ msgspec==0.18.6 # via flask-session nh3==0.2.19 # via apache-superset -numba==0.60.0 - # via pandas numexpr==2.10.2 - # via - # -r requirements/base.in - # pandas + # via -r requirements/base.in numpy==1.23.5 # via # apache-superset # bottleneck - # numba # numexpr # pandas # pyarrow @@ -254,7 +247,7 @@ packaging==24.2 # marshmallow # marshmallow-sqlalchemy # shillelagh -pandas[excel,performance]==2.0.3 +pandas[excel]==2.0.3 # via apache-superset paramiko==3.5.0 # via