2020 runs-on : ubuntu-latest
2121 strategy :
2222 matrix :
23- python-version : [3.8 ]
23+ python-version : [3.12 ]
2424 steps :
2525 - uses : actions/checkout@v2
2626 - name : Set up Python ${{ matrix.python-version }}
2929 python-version : ${{ matrix.python-version }}
3030 - name : Install dependencies
3131 run : |
32- python -m pip install --upgrade pip wheel ' setuptools!=58.5.*,<60'
32+ python -m pip install --upgrade pip wheel setuptools
3333 pip install ruff black mypy nbstripout nbformat
3434 - name : Lint
3535 run : |
3939 needs : lint
4040 strategy :
4141 matrix :
42- python-version : [3.8 ]
42+ python-version : [3.12 ]
4343 steps :
4444 - uses : actions/checkout@v2
4545 - name : Set up Python ${{ matrix.python-version }}
@@ -51,12 +51,13 @@ jobs:
5151 sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
5252 sudo apt-get update
5353 sudo apt-get install gcc-9 g++-9 ninja-build graphviz
54- python -m pip install --upgrade pip wheel ' setuptools!=58.5.*,<60'
54+ python -m pip install --upgrade pip wheel setuptools
5555 # Keep track of pyro-api master branch
5656 pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
5757 pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
5858 pip install .[test]
5959 pip install -r docs/requirements.txt
60+ pip install --upgrade sphinx docutils sphinx-rtd-theme
6061 pip freeze
6162 - name : Build docs and run doctest
6263 run : |
6768 needs : lint
6869 strategy :
6970 matrix :
70- python-version : [3.8 ]
71+ python-version : [3.12 ]
7172 steps :
7273 - uses : actions/checkout@v2
7374 - name : Set up Python ${{ matrix.python-version }}
7980 sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
8081 sudo apt-get update
8182 sudo apt-get install gcc-9 g++-9 ninja-build graphviz pandoc
82- python -m pip install --upgrade pip wheel ' setuptools!=58.5.*,<60'
83+ python -m pip install --upgrade pip wheel setuptools
8384 # Keep track of pyro-api master branch
8485 pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
8586 pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
@@ -101,7 +102,7 @@ jobs:
101102 needs : docs
102103 strategy :
103104 matrix :
104- python-version : [3.8 ]
105+ python-version : [3.12 ]
105106 steps :
106107 - uses : actions/checkout@v2
107108 - name : Set up Python ${{ matrix.python-version }}
@@ -113,7 +114,7 @@ jobs:
113114 sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
114115 sudo apt-get update
115116 sudo apt-get install gcc-9 g++-9 ninja-build
116- python -m pip install --upgrade pip wheel ' setuptools!=58.5.*,<60'
117+ python -m pip install --upgrade pip wheel setuptools
117118 # Keep track of pyro-api master branch
118119 pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
119120 pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
@@ -133,7 +134,7 @@ jobs:
133134 needs : [docs, tutorials-html]
134135 strategy :
135136 matrix :
136- python-version : [3.8 ]
137+ python-version : [3.12 ]
137138 steps :
138139 - uses : actions/checkout@v2
139140 - name : Set up Python ${{ matrix.python-version }}
@@ -147,7 +148,7 @@ jobs:
147148 sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
148149 sudo apt-get update
149150 sudo apt-get install gcc-9 g++-9 ninja-build
150- python -m pip install --upgrade pip wheel ' setuptools!=58.5.*,<60'
151+ python -m pip install --upgrade pip wheel setuptools
151152 # Keep track of pyro-api master branch
152153 pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
153154 pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
@@ -169,7 +170,7 @@ jobs:
169170 needs : docs
170171 strategy :
171172 matrix :
172- python-version : [3.8 ]
173+ python-version : [3.12 ]
173174 steps :
174175 - uses : actions/checkout@v2
175176 - name : Set up Python ${{ matrix.python-version }}
@@ -181,7 +182,7 @@ jobs:
181182 sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
182183 sudo apt-get update
183184 sudo apt-get install gcc-9 g++-9 ninja-build
184- python -m pip install --upgrade pip wheel ' setuptools!=58.5.*,<60'
185+ python -m pip install --upgrade pip wheel setuptools
185186 # Keep track of pyro-api master branch
186187 pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
187188 pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
@@ -201,7 +202,7 @@ jobs:
201202 needs : docs
202203 strategy :
203204 matrix :
204- python-version : [3.8 ]
205+ python-version : [3.12 ]
205206 steps :
206207 - uses : actions/checkout@v2
207208 - name : Set up Python ${{ matrix.python-version }}
@@ -213,7 +214,7 @@ jobs:
213214 sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
214215 sudo apt-get update
215216 sudo apt-get install gcc-9 g++-9 ninja-build
216- python -m pip install --upgrade pip wheel ' setuptools!=58.5.*,<60'
217+ python -m pip install --upgrade pip wheel setuptools
217218 # Keep track of pyro-api master branch
218219 pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
219220 pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
@@ -233,7 +234,7 @@ jobs:
233234 needs : docs
234235 strategy :
235236 matrix :
236- python-version : [3.8 ]
237+ python-version : [3.12 ]
237238 steps :
238239 - uses : actions/checkout@v2
239240 - name : Set up Python ${{ matrix.python-version }}
@@ -245,7 +246,7 @@ jobs:
245246 sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
246247 sudo apt-get update
247248 sudo apt-get install gcc-9 g++-9 ninja-build
248- python -m pip install --upgrade pip wheel ' setuptools!=58.5.*,<60'
249+ python -m pip install --upgrade pip wheel setuptools
249250 # Keep track of pyro-api master branch
250251 pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
251252 pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
@@ -267,7 +268,7 @@ jobs:
267268 runs-on : ubuntu-latest
268269 strategy :
269270 matrix :
270- python-version : [3.8 ]
271+ python-version : [3.12 ]
271272 steps :
272273 - uses : actions/checkout@v2
273274 - name : Set up Python ${{ matrix.python-version }}
0 commit comments