Skip to content

Commit 2622873

Browse files
Balandatgpleiss
andauthored
Unpin pyro. (#2068)
See discussion here: #2059 (comment) Co-authored-by: Geoff Pleiss <[email protected]>
1 parent 0a5275f commit 2622873

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/run_test_suite.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ jobs:
5252
pip install torch==1.10+cpu -f https://download.pytorch.org/whl/torch_stable.html;
5353
fi
5454
if [[ ${{ matrix.pyro }} == "with-pyro" ]]; then
55-
pip install "pyro-ppl<=1.8";
55+
pip install "pyro-ppl>=1.8";
5656
fi
5757
pip install -r requirements.txt
5858
- name: Run unit tests
@@ -72,7 +72,7 @@ jobs:
7272
pip install pytest nbval jupyter tqdm matplotlib torchvision scipy
7373
pip install -r requirements.txt
7474
python setup.py build develop
75-
pip install "pyro-ppl<=1.8";
75+
pip install "pyro-ppl>=1.8";
7676
- name: Run example notebooks
7777
run: |
7878
grep -l smoke_test examples/**/*.ipynb | xargs grep -L 'smoke_test = False' | CI=true xargs pytest --nbval-lax --current-env

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ def find_version(*file_paths):
6161
"dev": ["black", "twine", "pre-commit"],
6262
"docs": ["ipython", "ipykernel", "sphinx<3.0.0", "sphinx_rtd_theme", "nbsphinx", "m2r"],
6363
"examples": ["ipython", "jupyter", "matplotlib", "scipy", "torchvision", "tqdm"],
64-
"pyro": ["pyro-ppl==1.8"],
64+
"pyro": ["pyro-ppl>=1.8"],
6565
"keops": ["pykeops>=1.1.1"],
6666
"test": ["flake8==4.0.1", "flake8-print==4.0.0", "pytest", "nbval"],
6767
},

0 commit comments

Comments
 (0)