Fix requirements.txt parsing in nightly SDK installation checks
Fix requirements.txt parsing in nightly sdk installation checks
@@ -830,7 +830,7 @@ jobs:
name: "Install stable version of wandb with pre-release versions of dependencies"
command: |
wget https://raw.githubusercontent.com/wandb/wandb/$CIRCLE_BRANCH/requirements.txt
- for r in `grep -o '^[^#]*' requirements.txt`; do pip install --upgrade --pre "$r"; done
+ for r in `grep -o '^[^(#,;)]*' requirements.txt`; do pip install --upgrade --pre "$r"; done
pip install wandb
python -c "import wandb"
pip freeze > deps_wandb_deps_pre.txt
@@ -839,7 +839,7 @@ jobs:
- run:
name: "Install pre-release version of wandb with pre-release versions of dependencies"
command: |
- for r in `grep -o '^[^#]*' requirements.txt`; do pip install --upgrade --pre "$r"; done
+ for r in `grep -o '^[^(#,;)]*' requirements.txt`; do pip install --upgrade --pre "$r"; done
pip install --pre wandb
python -c "import wandb"
when: always
