20
20
runs-on : ubuntu-latest
21
21
strategy :
22
22
matrix :
23
- python-version : [3.8 ]
23
+ python-version : [3.12 ]
24
24
steps :
25
25
- uses : actions/checkout@v2
26
26
- name : Set up Python ${{ matrix.python-version }}
29
29
python-version : ${{ matrix.python-version }}
30
30
- name : Install dependencies
31
31
run : |
32
- python -m pip install --upgrade pip wheel ' setuptools!=58.5.*,<60'
32
+ python -m pip install --upgrade pip wheel setuptools
33
33
pip install ruff black mypy nbstripout nbformat
34
34
- name : Lint
35
35
run : |
39
39
needs : lint
40
40
strategy :
41
41
matrix :
42
- python-version : [3.8 ]
42
+ python-version : [3.12 ]
43
43
steps :
44
44
- uses : actions/checkout@v2
45
45
- name : Set up Python ${{ matrix.python-version }}
@@ -51,12 +51,13 @@ jobs:
51
51
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
52
52
sudo apt-get update
53
53
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
55
55
# Keep track of pyro-api master branch
56
56
pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
57
57
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
58
58
pip install .[test]
59
59
pip install -r docs/requirements.txt
60
+ pip install --upgrade sphinx docutils sphinx-rtd-theme
60
61
pip freeze
61
62
- name : Build docs and run doctest
62
63
run : |
67
68
needs : lint
68
69
strategy :
69
70
matrix :
70
- python-version : [3.8 ]
71
+ python-version : [3.12 ]
71
72
steps :
72
73
- uses : actions/checkout@v2
73
74
- name : Set up Python ${{ matrix.python-version }}
79
80
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
80
81
sudo apt-get update
81
82
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
83
84
# Keep track of pyro-api master branch
84
85
pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
85
86
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
@@ -101,7 +102,7 @@ jobs:
101
102
needs : docs
102
103
strategy :
103
104
matrix :
104
- python-version : [3.8 ]
105
+ python-version : [3.12 ]
105
106
steps :
106
107
- uses : actions/checkout@v2
107
108
- name : Set up Python ${{ matrix.python-version }}
@@ -113,7 +114,7 @@ jobs:
113
114
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
114
115
sudo apt-get update
115
116
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
117
118
# Keep track of pyro-api master branch
118
119
pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
119
120
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
@@ -133,7 +134,7 @@ jobs:
133
134
needs : [docs, tutorials-html]
134
135
strategy :
135
136
matrix :
136
- python-version : [3.8 ]
137
+ python-version : [3.12 ]
137
138
steps :
138
139
- uses : actions/checkout@v2
139
140
- name : Set up Python ${{ matrix.python-version }}
@@ -147,7 +148,7 @@ jobs:
147
148
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
148
149
sudo apt-get update
149
150
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
151
152
# Keep track of pyro-api master branch
152
153
pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
153
154
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
@@ -169,7 +170,7 @@ jobs:
169
170
needs : docs
170
171
strategy :
171
172
matrix :
172
- python-version : [3.8 ]
173
+ python-version : [3.12 ]
173
174
steps :
174
175
- uses : actions/checkout@v2
175
176
- name : Set up Python ${{ matrix.python-version }}
@@ -181,7 +182,7 @@ jobs:
181
182
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
182
183
sudo apt-get update
183
184
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
185
186
# Keep track of pyro-api master branch
186
187
pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
187
188
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
@@ -201,7 +202,7 @@ jobs:
201
202
needs : docs
202
203
strategy :
203
204
matrix :
204
- python-version : [3.8 ]
205
+ python-version : [3.12 ]
205
206
steps :
206
207
- uses : actions/checkout@v2
207
208
- name : Set up Python ${{ matrix.python-version }}
@@ -213,7 +214,7 @@ jobs:
213
214
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
214
215
sudo apt-get update
215
216
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
217
218
# Keep track of pyro-api master branch
218
219
pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
219
220
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
@@ -233,7 +234,7 @@ jobs:
233
234
needs : docs
234
235
strategy :
235
236
matrix :
236
- python-version : [3.8 ]
237
+ python-version : [3.12 ]
237
238
steps :
238
239
- uses : actions/checkout@v2
239
240
- name : Set up Python ${{ matrix.python-version }}
@@ -245,7 +246,7 @@ jobs:
245
246
sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
246
247
sudo apt-get update
247
248
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
249
250
# Keep track of pyro-api master branch
250
251
pip install https://github.com/pyro-ppl/pyro-api/archive/master.zip
251
252
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
@@ -267,7 +268,7 @@ jobs:
267
268
runs-on : ubuntu-latest
268
269
strategy :
269
270
matrix :
270
- python-version : [3.8 ]
271
+ python-version : [3.12 ]
271
272
steps :
272
273
- uses : actions/checkout@v2
273
274
- name : Set up Python ${{ matrix.python-version }}
0 commit comments