@@ -32,15 +32,15 @@ jobs:
3232 pip install poetry
3333 poetry config installer.modern-installation false
3434
35- - name : Set up Python 3.9
35+ - name : Set up Python 3.12
3636 uses : actions/setup-python@v4
3737 with :
38- python-version : " 3.9 "
38+ python-version : " 3.12 "
3939 cache : ' poetry'
4040
4141 - name : Install dependencies
4242 run : |
43- poetry install --without py39-dev
43+ poetry install
4444
4545 - name : Check poetry.lock
4646 run : |
6767 runs-on : ubuntu-latest
6868 strategy :
6969 matrix :
70- python-version : [ "3.9 " ]
70+ python-version : [ "3.12 " ]
7171 steps :
7272
7373 # ====================== SETUP ====================== #
7676
7777 - uses : actions/setup-python@v4
7878 with :
79- python-version : " 3.9 "
79+ python-version : " 3.12 "
8080 cache : ' pip'
8181
8282 - name : Install poetry
@@ -85,10 +85,10 @@ jobs:
8585 pip install poetry
8686 poetry config installer.modern-installation false
8787
88- - name : Install python 3.9 requirements
88+ - name : Install deprecated cairo compiler
8989 run : |
90- poetry export -f requirements.txt --only=py39-dev --without-hashes --output requirements.txt
91- pip install -r requirements.txt
90+ pip install --upgrade setuptools
91+ pip install cairo-lang==0.13.0
9292
9393 - name : Set up Python ${{ matrix.python-version }}
9494 uses : actions/setup-python@v4
9898
9999 - name : Install dependencies
100100 run : |
101- poetry install --without py39-dev
101+ poetry install
102102
103103 # ====================== CONTRACTS v0 ====================== #
104104
@@ -131,7 +131,7 @@ jobs:
131131 strategy :
132132 fail-fast : false
133133 matrix :
134- python-version : [ "3.8", "3.9", "3.10", "3.11" ]
134+ python-version : [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
135135 steps :
136136 - uses : actions/checkout@v3
137137 - uses : actions-rust-lang/setup-rust-toolchain@v1
@@ -145,7 +145,7 @@ jobs:
145145
146146 - uses : actions/setup-python@v4
147147 with :
148- python-version : " 3.9 "
148+ python-version : " 3.12 "
149149 cache : ' pip'
150150
151151 # ====================== SETUP PYTHON ====================== #
@@ -156,11 +156,6 @@ jobs:
156156 pip install poetry
157157 poetry config installer.modern-installation false
158158
159- - name : Install python 3.9 requirements
160- run : |
161- poetry export -f requirements.txt --only=py39-dev --without-hashes --output requirements.txt
162- pip install -r requirements.txt
163-
164159 - name : Set up Python ${{ matrix.python-version }}
165160 uses : actions/setup-python@v4
166161 with :
@@ -169,7 +164,7 @@ jobs:
169164
170165 - name : Install dependencies
171166 run : |
172- poetry install --without py39-dev
167+ poetry install
173168
174169 # ====================== SETUP DEVNET ====================== #
175170
@@ -227,7 +222,7 @@ jobs:
227222
228223 - uses : actions/setup-python@v4
229224 with :
230- python-version : " 3.9 "
225+ python-version : " 3.12 "
231226 cache : ' pip'
232227
233228 # ====================== SETUP PYTHON ====================== #
@@ -238,20 +233,15 @@ jobs:
238233 pip install poetry
239234 poetry config installer.modern-installation false
240235
241- - name : Install python 3.9 requirements
242- run : |
243- poetry export -f requirements.txt --only=py39-dev --without-hashes --output requirements.txt
244- pip install -r requirements.txt
245-
246- - name : Set up Python 3.9
236+ - name : Set up Python 3.12
247237 uses : actions/setup-python@v4
248238 with :
249- python-version : " 3.9 "
239+ python-version : " 3.12 "
250240 cache : ' poetry'
251241
252242 - name : Install dependencies
253243 run : |
254- poetry install --without py39-dev
244+ poetry install
255245
256246 # ====================== RUN TESTS ====================== #
257247
@@ -282,7 +272,7 @@ jobs:
282272 strategy :
283273 fail-fast : false
284274 matrix :
285- python-version : [ "3.8", "3.9", "3.10", "3.11" ]
275+ python-version : [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
286276 steps :
287277 - uses : actions/checkout@v3
288278 - uses : actions-rust-lang/setup-rust-toolchain@v1
@@ -296,7 +286,7 @@ jobs:
296286
297287 - uses : actions/setup-python@v4
298288 with :
299- python-version : " 3.9 "
289+ python-version : " 3.12 "
300290 cache : ' pip'
301291
302292 # ====================== SETUP DEVNET ====================== #
@@ -312,11 +302,6 @@ jobs:
312302 pip install poetry
313303 poetry config installer.modern-installation false
314304
315- - name : Install python 3.9 requirements
316- run : |
317- poetry export -f requirements.txt --only=py39-dev --without-hashes --output requirements.txt
318- pip install -r requirements.txt
319-
320305 - name : Set up Python ${{ matrix.python-version }}
321306 uses : actions/setup-python@v4
322307 with :
@@ -325,7 +310,7 @@ jobs:
325310
326311 - name : Install dependencies
327312 run : |
328- poetry install --without py39-dev
313+ poetry install
329314
330315 # ====================== RUN TESTS ====================== #
331316
@@ -356,7 +341,7 @@ jobs:
356341 strategy :
357342 fail-fast : false
358343 matrix :
359- python-version : [ "3.8", "3.9", "3.10", "3.11" ]
344+ python-version : [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
360345 steps :
361346 - uses : actions/checkout@v3
362347 - uses : actions-rust-lang/setup-rust-toolchain@v1
@@ -370,7 +355,7 @@ jobs:
370355
371356 - uses : actions/setup-python@v4
372357 with :
373- python-version : " 3.9 "
358+ python-version : " 3.12 "
374359 cache : ' pip'
375360
376361 # ====================== SETUP PYTHON ====================== #
@@ -381,11 +366,6 @@ jobs:
381366 pip install poetry
382367 poetry config installer.modern-installation false
383368
384- - name : Install python 3.9 requirements
385- run : |
386- poetry export -f requirements.txt --only=py39-dev --without-hashes --output requirements.txt
387- pip install -r requirements.txt
388-
389369 - name : Set up Python ${{ matrix.python-version }}
390370 uses : actions/setup-python@v4
391371 with :
@@ -394,7 +374,7 @@ jobs:
394374
395375 - name : Install dependencies
396376 run : |
397- poetry install --without py39-dev
377+ poetry install
398378
399379 # ====================== SETUP DEVNET ====================== #
400380
@@ -430,7 +410,7 @@ jobs:
430410 strategy :
431411 fail-fast : false
432412 matrix :
433- python-version : [ "3.8", "3.9", "3.10", "3.11" ]
413+ python-version : [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
434414 steps :
435415 - uses : actions/checkout@v3
436416 - uses : actions-rust-lang/setup-rust-toolchain@v1
@@ -444,7 +424,7 @@ jobs:
444424
445425 - uses : actions/setup-python@v4
446426 with :
447- python-version : " 3.9 "
427+ python-version : " 3.12 "
448428 cache : ' pip'
449429
450430 # ====================== SETUP PYTHON ====================== #
@@ -455,11 +435,6 @@ jobs:
455435 pip install poetry
456436 poetry config installer.modern-installation false
457437
458- - name : Install python 3.9 requirements
459- run : |
460- poetry export -f requirements.txt --only=py39-dev --without-hashes --output requirements.txt
461- pip install -r requirements.txt
462-
463438 - name : Set up Python ${{ matrix.python-version }}
464439 uses : actions/setup-python@v4
465440 with :
@@ -468,7 +443,7 @@ jobs:
468443
469444 - name : Install dependencies
470445 run : |
471- poetry install --without py39-dev
446+ poetry install
472447
473448 # ====================== SETUP DEVNET ====================== #
474449
0 commit comments