From fd62af02533ac81d791e7871324fd1567c7fc1c1 Mon Sep 17 00:00:00 2001 From: Huoran Li Date: Mon, 20 Jun 2022 13:22:39 +0800 Subject: [PATCH 1/9] Fix several encoding issues; update requirements. --- maro/cli/inspector/cim_dashboard.py | 2 +- maro/cli/inspector/citi_bike_dashboard.py | 2 +- maro/cli/inspector/env_data_process.py | 2 +- maro/requirements.build.txt | 30 +++++- maro/simulator/scenarios/citi_bike/station.py | 2 +- requirements.dev.txt | 91 +++++++------------ 6 files changed, 63 insertions(+), 66 deletions(-) diff --git a/maro/cli/inspector/cim_dashboard.py b/maro/cli/inspector/cim_dashboard.py index 11c8564d8..02e24c57c 100644 --- a/maro/cli/inspector/cim_dashboard.py +++ b/maro/cli/inspector/cim_dashboard.py @@ -25,7 +25,7 @@ def start_cim_dashboard(source_path: str, epoch_num: int, prefix: str): --ports.csv: Record ports' attributes in this file. --vessel.csv: Record vessels' attributes in this file. --matrices.csv: Record transfer volume information in this file. - ……………… + ...... --epoch_{epoch_num-1} --manifest.yml: Record basic info like scenario name, name of index_name_mapping file. --config.yml: Record the relationship between ports' index and name. diff --git a/maro/cli/inspector/citi_bike_dashboard.py b/maro/cli/inspector/citi_bike_dashboard.py index b60eb693b..15be35c43 100644 --- a/maro/cli/inspector/citi_bike_dashboard.py +++ b/maro/cli/inspector/citi_bike_dashboard.py @@ -24,7 +24,7 @@ def start_citi_bike_dashboard(source_path: str, epoch_num: int, prefix: str): --stations.csv: Record stations' attributes in this file. --matrices.csv: Record transfer volume information in this file. --stations_summary.csv: Record the summary data of current epoch. - ……………… + ...... --epoch_{epoch_num-1} --manifest.yml: Record basic info like scenario name, name of index_name_mapping file. --full_stations.json: Record the relationship between ports' index and name. diff --git a/maro/cli/inspector/env_data_process.py b/maro/cli/inspector/env_data_process.py index 2e8cb0469..bd2b57a09 100644 --- a/maro/cli/inspector/env_data_process.py +++ b/maro/cli/inspector/env_data_process.py @@ -28,7 +28,7 @@ def start_vis(source_path: str, force: str, **kwargs: dict): -input_file_folder_path --epoch_0 : Data of current epoch. --holder_info.csv: Attributes of current epoch. - ……………… + ...... --epoch_{epoch_num-1} --manifest.yml: Record basic info like scenario name, name of index_name_mapping file. --index_name_mapping file: Record the relationship between an index and its name. diff --git a/maro/requirements.build.txt b/maro/requirements.build.txt index d689fd287..3efb1e941 100644 --- a/maro/requirements.build.txt +++ b/maro/requirements.build.txt @@ -1,6 +1,30 @@ -pyjwt -numpy<1.20.0 -Cython>=0.29.14 altair>=4.1.0 +aria2p>=0.11.2 +cryptography>=36.0.1 +Cython>=0.29.14 +deepdiff>=5.7.0 +Flask>=2.1.2 +flask_cors>=3.0.10 +flask_socketio>=5.2.0 +geopy>=2.2.0 +holidays>=0.12 +Jinja2>=3.0.3 +kubernetes>=21.7.0 +numpy<1.20.0 +pandas>=1.1.5 +paramiko>=2.9.2 +prompt_toolkit>=3.0.24 +psutil>=5.8.0 +ptvsd>=4.3.2 +PyJWT>=2.4.0 +python_dateutil>=2.8.2 +PyYAML>=6.0 +pyzmq>=23.1.0 +requests>=2.26.0 +scipy>=1.7.0 streamlit>=0.69.1 +stringcase>=1.2.0 +tabulate>=0.8.9 +torch==1.6.0 +tornado>=6.1 tqdm>=4.51.0 diff --git a/maro/simulator/scenarios/citi_bike/station.py b/maro/simulator/scenarios/citi_bike/station.py index 9515470d3..02709a47a 100644 --- a/maro/simulator/scenarios/citi_bike/station.py +++ b/maro/simulator/scenarios/citi_bike/station.py @@ -25,7 +25,7 @@ class Station(NodeBase): # avg temp temperature = NodeAttribute("i2") - # 0: sunny, 1: rainy, 2: snowy, 3: sleet + # 0: sunny, 1: rainy, 2: snowy, 3: sleet weather = NodeAttribute("i2") # 0: holiday, 1: not holiday diff --git a/requirements.dev.txt b/requirements.dev.txt index 8c34db6eb..bba9deb20 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -1,69 +1,42 @@ -add-trailing-comma -altair==4.1.0 -aria2p==0.9.1 -astroid==2.3.3 +altair>=4.1.0 +aria2p>=0.9.0 azure-identity azure-mgmt-authorization azure-mgmt-containerservice azure-mgmt-resource azure-mgmt-storage azure-storage-file-share -black==22.3.0 -certifi==2019.9.11 -cryptography==36.0.1 -cycler==0.10.0 -Cython==0.29.14 -deepdiff==5.7.0 +cryptography>=36.0.1 +deepdiff>=5.7.0 +Cython>=0.29.14 docker -editorconfig-checker==2.4.0 -flake8==4.0.1 -flask-cors==3.0.10 -flask==1.1.2 -flask_cors==3.0.10 -flask_socketio==5.2.0 -flloat==0.3.0 -geopy==2.0.0 -guppy3==3.0.9 -holidays==0.10.3 -isort==4.3.21 -jinja2==2.11.3 -kiwisolver==1.1.0 -kubernetes==21.7.0 -lazy-object-proxy==1.4.3 -markupsafe==2.0.1 -matplotlib==3.5.2 -mccabe==0.6.1 -networkx==2.4 -networkx==2.4 +Flask>=1.1.2 +flask_cors>=3.0.10 +flask_socketio>=5.2.0 +geopy>=2.0.0 +holidays>=0.10.0 +Jinja2>=2.11.0 +kubernetes>=21.7.0 +matplotlib>=3.5.1 numpy<1.20.0 -palettable==3.3.0 -pandas==0.25.3 -pre-commit==2.19.0 -prompt_toolkit==2.0.10 -psutil==5.8.0 -ptvsd==4.3.2 -pulp==2.6.0 -pyaml==20.4.0 -PyJWT==2.4.0 -pyparsing==2.4.5 -python-dateutil==2.8.1 -PyYAML==5.4.1 -pyzmq==19.0.2 +pandas>=0.25.0 +paramiko>=2.9.2 +pre-commit>=2.19.0 +prompt_toolkit>=2.0.10 +psutil>=5.8.0 +ptvsd>=4.3.2 +pulp>=2.6.0 +PyJWT>=2.4.0 +python_dateutil>=2.8.1 +PyYAML>=5.4.1 +pyzmq>=19.0.2 recommonmark~=0.6.0 -redis==3.5.3 -requests==2.25.1 -scipy==1.7.0 -setuptools==58.0.4 -six==1.13.0 -sphinx==1.8.6 -sphinx_rtd_theme==1.0.0 -streamlit==0.69.1 -stringcase==1.2.0 -tabulate==0.8.5 -termgraph==0.5.3 +requests>=2.25.1 +scipy>=1.7.0 +setuptools>=58.0.4 +streamlit>=0.69.1 +stringcase>=1.2.0 +tabulate>=0.8.5 +termgraph>=0.5.3 torch==1.6.0 -torchsummary==1.5.1 -tqdm==4.51.0 -urllib3==1.26.5 -wrapt==1.11.2 -zmq==0.0.0 +tqdm>=4.51.0 From 137313f092c9ef053bfe98c15f0d85d36a403cfb Mon Sep 17 00:00:00 2001 From: Huoran Li Date: Tue, 21 Jun 2022 12:52:38 +0800 Subject: [PATCH 2/9] Test & minor --- maro/requirements.build.txt | 28 ++++++++++++++++------------ maro/rl/model/fc_block.py | 2 +- requirements.dev.txt | 5 ++++- 3 files changed, 21 insertions(+), 14 deletions(-) diff --git a/maro/requirements.build.txt b/maro/requirements.build.txt index 3efb1e941..40ad17f3f 100644 --- a/maro/requirements.build.txt +++ b/maro/requirements.build.txt @@ -1,30 +1,34 @@ altair>=4.1.0 -aria2p>=0.11.2 +aria2p>=0.9.0 +coverage>=6.4.1 cryptography>=36.0.1 Cython>=0.29.14 deepdiff>=5.7.0 -Flask>=2.1.2 +docker +Flask>=1.1.2 flask_cors>=3.0.10 flask_socketio>=5.2.0 -geopy>=2.2.0 -holidays>=0.12 -Jinja2>=3.0.3 +geopy>=2.0.0 +holidays>=0.10.0 +Jinja2>=2.11.0 kubernetes>=21.7.0 numpy<1.20.0 -pandas>=1.1.5 +pandas>=0.25.0 paramiko>=2.9.2 -prompt_toolkit>=3.0.24 +pre-commit>=2.19.0 +prompt_toolkit>=2.0.10 psutil>=5.8.0 ptvsd>=4.3.2 PyJWT>=2.4.0 -python_dateutil>=2.8.2 -PyYAML>=6.0 -pyzmq>=23.1.0 -requests>=2.26.0 +pytest>=7.1.2 +python_dateutil>=2.8.1 +PyYAML>=5.4.1 +pyzmq>=19.0.2 +requests>=2.25.1 scipy>=1.7.0 streamlit>=0.69.1 stringcase>=1.2.0 -tabulate>=0.8.9 +tabulate>=0.8.5 torch==1.6.0 tornado>=6.1 tqdm>=4.51.0 diff --git a/maro/rl/model/fc_block.py b/maro/rl/model/fc_block.py index acd7bd16e..a323dedb0 100644 --- a/maro/rl/model/fc_block.py +++ b/maro/rl/model/fc_block.py @@ -84,7 +84,7 @@ def __init__( self._name = name def forward(self, x: torch.Tensor) -> torch.Tensor: - out = self._net(x) + out = self._net(x.float()) if self._skip_connection: out += x return self._softmax(out) if self._softmax else out diff --git a/requirements.dev.txt b/requirements.dev.txt index bba9deb20..d0ef34b71 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -6,9 +6,10 @@ azure-mgmt-containerservice azure-mgmt-resource azure-mgmt-storage azure-storage-file-share +coverage>=6.4.1 cryptography>=36.0.1 -deepdiff>=5.7.0 Cython>=0.29.14 +deepdiff>=5.7.0 docker Flask>=1.1.2 flask_cors>=3.0.10 @@ -27,6 +28,7 @@ psutil>=5.8.0 ptvsd>=4.3.2 pulp>=2.6.0 PyJWT>=2.4.0 +pytest>=7.1.2 python_dateutil>=2.8.1 PyYAML>=5.4.1 pyzmq>=19.0.2 @@ -39,4 +41,5 @@ stringcase>=1.2.0 tabulate>=0.8.5 termgraph>=0.5.3 torch==1.6.0 +tornado>=6.1 tqdm>=4.51.0 From 679730c3a5b643a53f16ffc01f777a3aaac0b495 Mon Sep 17 00:00:00 2001 From: Huoran Li Date: Tue, 21 Jun 2022 15:06:17 +0800 Subject: [PATCH 3/9] Remove torch in requirements.build.txt --- maro/requirements.build.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/maro/requirements.build.txt b/maro/requirements.build.txt index 40ad17f3f..cac58a473 100644 --- a/maro/requirements.build.txt +++ b/maro/requirements.build.txt @@ -29,6 +29,5 @@ scipy>=1.7.0 streamlit>=0.69.1 stringcase>=1.2.0 tabulate>=0.8.5 -torch==1.6.0 tornado>=6.1 tqdm>=4.51.0 From 71375b61a00cb6925ff86ac9796f857572c90b1b Mon Sep 17 00:00:00 2001 From: Huoran Li Date: Tue, 21 Jun 2022 16:03:27 +0800 Subject: [PATCH 4/9] Polish --- examples/requirements.ex.txt | 9 ++++++++- maro/requirements.build.txt | 33 +++------------------------------ notebooks/requirements.nb.txt | 23 +++++++++++------------ requirements.dev.txt | 32 +++++++++++++++----------------- 4 files changed, 37 insertions(+), 60 deletions(-) diff --git a/examples/requirements.ex.txt b/examples/requirements.ex.txt index dbdc8c561..b413e305d 100644 --- a/examples/requirements.ex.txt +++ b/examples/requirements.ex.txt @@ -1 +1,8 @@ -PuLP==2.1 +maro +matplotlib>=3.1.2 +numpy<1.20.0 +pulp>=2.6.0 +pymaro.egg==info +PyYAML>=5.4.1 +torch>=1.6.0 +tweepy>=4.10.0 \ No newline at end of file diff --git a/maro/requirements.build.txt b/maro/requirements.build.txt index cac58a473..277dd8d6b 100644 --- a/maro/requirements.build.txt +++ b/maro/requirements.build.txt @@ -1,33 +1,6 @@ -altair>=4.1.0 -aria2p>=0.9.0 -coverage>=6.4.1 -cryptography>=36.0.1 -Cython>=0.29.14 -deepdiff>=5.7.0 -docker -Flask>=1.1.2 -flask_cors>=3.0.10 -flask_socketio>=5.2.0 -geopy>=2.0.0 -holidays>=0.10.0 -Jinja2>=2.11.0 -kubernetes>=21.7.0 -numpy<1.20.0 -pandas>=0.25.0 -paramiko>=2.9.2 -pre-commit>=2.19.0 -prompt_toolkit>=2.0.10 -psutil>=5.8.0 -ptvsd>=4.3.2 PyJWT>=2.4.0 -pytest>=7.1.2 -python_dateutil>=2.8.1 -PyYAML>=5.4.1 -pyzmq>=19.0.2 -requests>=2.25.1 -scipy>=1.7.0 +numpy<1.20.0 +cython>=0.29.14 +altair>=4.1.0 streamlit>=0.69.1 -stringcase>=1.2.0 -tabulate>=0.8.5 -tornado>=6.1 tqdm>=4.51.0 diff --git a/notebooks/requirements.nb.txt b/notebooks/requirements.nb.txt index 518b1a5de..77859f297 100644 --- a/notebooks/requirements.nb.txt +++ b/notebooks/requirements.nb.txt @@ -1,4 +1,7 @@ -jupyter==1.0.0 +autopep8>=1.4.4 +ipython-genutils>=0.2.0 +ipython>=7.16.3 +isort>=4.3.21 jupyter-client jupyter-console jupyter-contrib-core @@ -7,18 +10,14 @@ jupyter-core jupyter-highlight-selected-word jupyter-latex-envs jupyter-nbextensions-configurator +jupyter>=1.0.0 jupyterlab jupyterlab-server jupyterthemes -isort==4.3.21 -autopep8==1.4.4 -isort==4.3.21 -pandas==0.25.3 -matplotlib==3.1.2 -seaborn==0.9.0 -ipython==7.16.3 -ipython-genutils==0.2.0 -shap==0.32.1 -seaborn==0.9.0 +maro +matplotlib>=3.1.2 +numba>=0.46.0 numpy<1.20.0 -numba==0.46.0 +pandas>=0.25.0 +seaborn>=0.9.0 +shap>=0.32.1 diff --git a/requirements.dev.txt b/requirements.dev.txt index d0ef34b71..4b24978e7 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -1,45 +1,43 @@ altair>=4.1.0 -aria2p>=0.9.0 +aria2p>=0.11.2 +autopep8>=1.4.4 azure-identity azure-mgmt-authorization azure-mgmt-containerservice azure-mgmt-resource azure-mgmt-storage azure-storage-file-share +azure_storage>=0.37.0 coverage>=6.4.1 cryptography>=36.0.1 -Cython>=0.29.14 deepdiff>=5.7.0 docker -Flask>=1.1.2 +Flask>=2.1.2 flask_cors>=3.0.10 flask_socketio>=5.2.0 -geopy>=2.0.0 -holidays>=0.10.0 -Jinja2>=2.11.0 +geopy>=2.2.0 +holidays>=0.12 +ipython-genutils>=0.2.0 +ipython>=7.16.3 +Jinja2>=3.0.3 kubernetes>=21.7.0 -matplotlib>=3.5.1 +numba>=0.46.0 numpy<1.20.0 pandas>=0.25.0 paramiko>=2.9.2 pre-commit>=2.19.0 -prompt_toolkit>=2.0.10 +prompt_toolkit>=3.0.24 psutil>=5.8.0 ptvsd>=4.3.2 -pulp>=2.6.0 PyJWT>=2.4.0 pytest>=7.1.2 -python_dateutil>=2.8.1 -PyYAML>=5.4.1 -pyzmq>=19.0.2 -recommonmark~=0.6.0 -requests>=2.25.1 +python_dateutil>=2.8.2 +recommonmark>=0.6.0 +requests>=2.26.0 scipy>=1.7.0 setuptools>=58.0.4 streamlit>=0.69.1 stringcase>=1.2.0 -tabulate>=0.8.5 +tabulate>=0.8.9 termgraph>=0.5.3 -torch==1.6.0 -tornado>=6.1 tqdm>=4.51.0 From 2ef5cdd4c065f3ad56f04d58021deeb72e154cf3 Mon Sep 17 00:00:00 2001 From: Huoran Li Date: Tue, 21 Jun 2022 16:13:23 +0800 Subject: [PATCH 5/9] Update README --- README.md | 6 ++++-- requirements.dev.txt | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bfb4f050d..2750a51cd 100644 --- a/README.md +++ b/README.md @@ -121,14 +121,16 @@ of user-defined functions for message auto-handling, cluster provision, and job ```sh # Install MARO from source. - bash scripts/install_maro.sh + bash scripts/install_maro.sh; + pip install -r ./requirements.dev.txt; ``` - Windows ```powershell # Install MARO from source. - .\scripts\install_maro.bat + .\scripts\install_maro.bat; + pip install -r ./requirements.dev.txt; ``` - *Notes: If your package is not found, remember to set your PYTHONPATH* diff --git a/requirements.dev.txt b/requirements.dev.txt index 4b24978e7..e34a683d1 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -7,7 +7,6 @@ azure-mgmt-containerservice azure-mgmt-resource azure-mgmt-storage azure-storage-file-share -azure_storage>=0.37.0 coverage>=6.4.1 cryptography>=36.0.1 deepdiff>=5.7.0 From 5c3350cebaf34e411164fa7a1d47131d22a88ecc Mon Sep 17 00:00:00 2001 From: Huoran Li Date: Tue, 21 Jun 2022 16:41:39 +0800 Subject: [PATCH 6/9] Resolve PR comments --- examples/requirements.ex.txt | 6 ++---- notebooks/requirements.nb.txt | 4 ---- requirements.dev.txt | 2 -- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/examples/requirements.ex.txt b/examples/requirements.ex.txt index b413e305d..7e824c758 100644 --- a/examples/requirements.ex.txt +++ b/examples/requirements.ex.txt @@ -1,8 +1,6 @@ maro matplotlib>=3.1.2 -numpy<1.20.0 -pulp>=2.6.0 +pulp>=2.1.0 pymaro.egg==info PyYAML>=5.4.1 -torch>=1.6.0 -tweepy>=4.10.0 \ No newline at end of file +tweepy>=4.10.0 diff --git a/notebooks/requirements.nb.txt b/notebooks/requirements.nb.txt index 77859f297..51f16de21 100644 --- a/notebooks/requirements.nb.txt +++ b/notebooks/requirements.nb.txt @@ -1,7 +1,6 @@ autopep8>=1.4.4 ipython-genutils>=0.2.0 ipython>=7.16.3 -isort>=4.3.21 jupyter-client jupyter-console jupyter-contrib-core @@ -16,8 +15,5 @@ jupyterlab-server jupyterthemes maro matplotlib>=3.1.2 -numba>=0.46.0 -numpy<1.20.0 -pandas>=0.25.0 seaborn>=0.9.0 shap>=0.32.1 diff --git a/requirements.dev.txt b/requirements.dev.txt index e34a683d1..daa74c40c 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -16,8 +16,6 @@ flask_cors>=3.0.10 flask_socketio>=5.2.0 geopy>=2.2.0 holidays>=0.12 -ipython-genutils>=0.2.0 -ipython>=7.16.3 Jinja2>=3.0.3 kubernetes>=21.7.0 numba>=0.46.0 From 090ff97ccc74ca9f7e82d73c5f80c383660c1ede Mon Sep 17 00:00:00 2001 From: Huoran Li Date: Wed, 22 Jun 2022 11:58:21 +0800 Subject: [PATCH 7/9] Keep working --- examples/requirements.ex.txt | 4 +--- maro/requirements.build.txt | 2 +- notebooks/requirements.nb.txt | 2 +- requirements.dev.txt | 37 +++++++++++++++-------------------- setup.py | 30 ++++++++++++---------------- 5 files changed, 32 insertions(+), 43 deletions(-) diff --git a/examples/requirements.ex.txt b/examples/requirements.ex.txt index 7e824c758..b3ddecc5b 100644 --- a/examples/requirements.ex.txt +++ b/examples/requirements.ex.txt @@ -1,6 +1,4 @@ -maro matplotlib>=3.1.2 pulp>=2.1.0 -pymaro.egg==info -PyYAML>=5.4.1 +pymaro tweepy>=4.10.0 diff --git a/maro/requirements.build.txt b/maro/requirements.build.txt index 277dd8d6b..b893b4fdb 100644 --- a/maro/requirements.build.txt +++ b/maro/requirements.build.txt @@ -1,5 +1,5 @@ PyJWT>=2.4.0 -numpy<1.20.0 +numpy>=1.19.0 cython>=0.29.14 altair>=4.1.0 streamlit>=0.69.1 diff --git a/notebooks/requirements.nb.txt b/notebooks/requirements.nb.txt index 51f16de21..d0cc32aa0 100644 --- a/notebooks/requirements.nb.txt +++ b/notebooks/requirements.nb.txt @@ -13,7 +13,7 @@ jupyter>=1.0.0 jupyterlab jupyterlab-server jupyterthemes -maro matplotlib>=3.1.2 seaborn>=0.9.0 shap>=0.32.1 +pymaro diff --git a/requirements.dev.txt b/requirements.dev.txt index daa74c40c..3bbf44e1e 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -1,40 +1,35 @@ altair>=4.1.0 -aria2p>=0.11.2 -autopep8>=1.4.4 +aria2p>=0.9.1 azure-identity azure-mgmt-authorization azure-mgmt-containerservice azure-mgmt-resource azure-mgmt-storage azure-storage-file-share -coverage>=6.4.1 cryptography>=36.0.1 deepdiff>=5.7.0 docker -Flask>=2.1.2 -flask_cors>=3.0.10 -flask_socketio>=5.2.0 -geopy>=2.2.0 -holidays>=0.12 -Jinja2>=3.0.3 +Flask>=1.1.2 +Flask_Cors>=3.0.10 +Flask_SocketIO>=5.2.0 +geopy>=2.0.0 +holidays>=0.10.3 +Jinja2>=2.11.3 kubernetes>=21.7.0 -numba>=0.46.0 -numpy<1.20.0 -pandas>=0.25.0 +numpy>=1.19.5 +pandas>=0.25.3 paramiko>=2.9.2 -pre-commit>=2.19.0 -prompt_toolkit>=3.0.24 +prompt_toolkit>=2.0.10 psutil>=5.8.0 ptvsd>=4.3.2 PyJWT>=2.4.0 -pytest>=7.1.2 -python_dateutil>=2.8.2 -recommonmark>=0.6.0 -requests>=2.26.0 +python_dateutil>=2.8.1 +PyYAML>=5.4.1 +pyzmq>=19.0.2 +requests>=2.25.1 scipy>=1.7.0 -setuptools>=58.0.4 streamlit>=0.69.1 stringcase>=1.2.0 -tabulate>=0.8.9 -termgraph>=0.5.3 +tabulate>=0.8.5 +tornado>=6.1 tqdm>=4.51.0 diff --git a/setup.py b/setup.py index 12e0c035d..72f595298 100644 --- a/setup.py +++ b/setup.py @@ -135,25 +135,21 @@ ], install_requires=[ # TODO: use a helper function to collect these - "numpy<1.20.0", - "scipy<=1.7.0", - "torch<1.8.0", + "azure_storage>=0.37.0", "holidays>=0.10.3", - "pyaml>=20.4.0", + "numpy>=1.19.5", + "pandas>=0.25.3", + "paramiko>=2.9.2", + "ptvsd>=4.3.2", + "python_dateutil>=2.8.1", + "PyYAML>=5.4.1", + "pyzmq>=19.0.2", "redis>=3.5.3", - "pyzmq<22.1.0", - "requests<=2.26.0", - "psutil<5.9.0", - "deepdiff>=5.2.2", - "azure-storage-blob<12.9.0", - "azure-storage-common", - "geopy>=2.0.0", - "pandas<1.2", - "PyYAML<5.5.0", - "paramiko>=2.7.2", - "kubernetes>=12.0.1", - "prompt_toolkit<3.1.0", - "stringcase>=1.2.0", + "requests>=2.25.1", + "scipy>=1.7.0", + "tabulate>=0.8.5", + "torch>=1.6.0, <1.8.0", + "tornado>=6.1", ] + specific_requires, entry_points={ From 4d7f87bfc51a867dafeed6b46de8de84ca173a33 Mon Sep 17 00:00:00 2001 From: Huoran Li Date: Wed, 22 Jun 2022 12:11:41 +0800 Subject: [PATCH 8/9] Keep working --- setup.py | 1 - tests/requirements.test.txt | 25 ++----------------------- 2 files changed, 2 insertions(+), 24 deletions(-) diff --git a/setup.py b/setup.py index 72f595298..213cd09b0 100644 --- a/setup.py +++ b/setup.py @@ -135,7 +135,6 @@ ], install_requires=[ # TODO: use a helper function to collect these - "azure_storage>=0.37.0", "holidays>=0.10.3", "numpy>=1.19.5", "pandas>=0.25.3", diff --git a/tests/requirements.test.txt b/tests/requirements.test.txt index 221ee85cd..ad5ae7bb6 100644 --- a/tests/requirements.test.txt +++ b/tests/requirements.test.txt @@ -1,23 +1,2 @@ -matplotlib>=3.1.2 -geopy -pandas<1.2 -numpy<1.20.0 -holidays>=0.10.3 -pyaml>=20.4.0 -redis>=3.5.3 -pyzmq<22.1.0 -influxdb -requests<=2.26.0 -psutil<5.9.0 -deepdiff>=5.2.2 -azure-storage-blob<12.9.0 -azure-storage-common -torch<1.8.0 -pytest -coverage -termgraph -paramiko>=2.7.2 -pytz==2019.3 -aria2p==0.9.1 -kubernetes>=12.0.1 -PyYAML<5.5.0 \ No newline at end of file +coverage>=6.4.1 +pytest>=7.1.2 From 20a1ce03d5fff7b0c75cc0caa9bae6cdaa0e04a3 Mon Sep 17 00:00:00 2001 From: Huoran Li Date: Wed, 22 Jun 2022 13:50:23 +0800 Subject: [PATCH 9/9] Update test requirements --- tests/requirements.test.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/requirements.test.txt b/tests/requirements.test.txt index ad5ae7bb6..c7ac76f45 100644 --- a/tests/requirements.test.txt +++ b/tests/requirements.test.txt @@ -1,2 +1,17 @@ +altair>=4.1.0 +azure-storage-blob<12.9.0 +azure-storage-common coverage>=6.4.1 +deepdiff>=5.7.0 +geopy>=2.0.0 +holidays>=0.10.3 +kubernetes>=21.7.0 +numpy>=1.19.5 +pandas>=0.25.3 +paramiko>=2.9.2 pytest>=7.1.2 +PyYAML>=5.4.1 +pyzmq>=19.0.2 +redis>=3.5.3 +streamlit>=0.69.1 +termgraph>=0.5.3