From f87c1a57eb15d42d49456e119743036cde7a370e Mon Sep 17 00:00:00 2001 From: Jake Adams Date: Fri, 14 Jul 2023 14:24:01 -0600 Subject: [PATCH] deps: optional pinned deps to fix arcgis mess --- setup.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index dd0be1b..bd7ff77 100644 --- a/setup.py +++ b/setup.py @@ -44,11 +44,16 @@ 'SQLAlchemy==1.4.*', 'pg8000==1.29.*', 'psycopg2-binary==2.9.*', - 'numpy==1.23.*', #: Pinned to 1.23.* to fix "module 'numpy' has no attribute 'str'" error - 'notebook==6.5.4', #: Pinning these two to fix dependency resolver taking forever - 'ipykernel==6.23.1' + 'numpy<1.24.*', #: Pinned to < 1.24 to fix "module 'numpy' has no attribute 'str'" error ], extras_require={ + 'nopro': [ + #: pinned versions to avoid backtracking if pro (and thus arcgis) aren't already installed + 'jupyterlab==3.6.5', + 'jupyter-server==1.24.0', + 'ipykernel==6.24.0', + 'ypy-websocket==0.8.2' + ], 'tests': [ 'pylint-quotes==0.2.*', 'pylint==2.15.*',