From ec7f502c93e6bb994abff0dde310ecf46f516cad Mon Sep 17 00:00:00 2001 From: Yuting Jiang Date: Fri, 17 Feb 2023 05:36:21 +0000 Subject: [PATCH] CI/CD - Upgrade networkx version to fix installation compatibility issue (#478) **Description** Upgrade networkx version to fix installation compatibility issue. --- .azure-pipelines/cpu-unit-test.yml | 3 +++ .azure-pipelines/cuda-unit-test.yml | 1 + setup.py | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.azure-pipelines/cpu-unit-test.yml b/.azure-pipelines/cpu-unit-test.yml index b1db20626..ce2355078 100644 --- a/.azure-pipelines/cpu-unit-test.yml +++ b/.azure-pipelines/cpu-unit-test.yml @@ -11,6 +11,8 @@ strategy: imageTag: '3.6' python-3.7: imageTag: '3.7' + python-3.8: + imageTag: '3.8' # TODO #python-latest: # imageTag: '3' @@ -27,6 +29,7 @@ steps: echo "##vso[task.prependpath]$HOME/.local/bin" displayName: Export path - script: | + python3 -m pip install --upgrade pip python3 -m pip install .[test,cpuworker] make postinstall displayName: Install dependencies diff --git a/.azure-pipelines/cuda-unit-test.yml b/.azure-pipelines/cuda-unit-test.yml index e0ad977bc..1cbb59da2 100644 --- a/.azure-pipelines/cuda-unit-test.yml +++ b/.azure-pipelines/cuda-unit-test.yml @@ -18,6 +18,7 @@ steps: echo "##vso[task.prependpath]$HOME/.local/bin" displayName: Export path - script: | + python3 -m pip install --upgrade pip python3 -m pip install .[test,nvworker] make postinstall displayName: Install dependencies diff --git a/setup.py b/setup.py index 1e8f67492..3c61d0db8 100644 --- a/setup.py +++ b/setup.py @@ -159,11 +159,11 @@ def run(self): 'markdown>=3.3.0', 'matplotlib>=3.0.0', 'natsort>=7.1.1', - 'networkx>=1.11', + 'networkx>=2.5', 'numpy>=1.19.2', 'omegaconf==2.0.6', 'openpyxl>=3.0.7', - 'pandas==1.1.5', + 'pandas>=1.1.5', 'pssh @ git+https://github.com/lilydjwg/pssh.git@v2.3.4', 'pyyaml>=5.3', 'requests>=2.27.1',