Commit c44e782
Add support for Python 3.12 (#1272)
* Bump the dev-dependencies group with 13 updates
Bumps the dev-dependencies group with 13 updates:
| Package | From | To |
| --- | --- | --- |
| [pytest](https://github.com/pytest-dev/pytest) | `7.4.0` | `7.4.4` |
| [black](https://github.com/psf/black) | `23.7.0` | `23.12.1` |
| [poethepoet](https://github.com/nat-n/poethepoet) | `0.22.0` | `0.24.4` |
| [coverage](https://github.com/nedbat/coveragepy) | `7.3.0` | `7.4.0` |
| [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) | `0.21.1` | `0.23.3` |
| [pylint](https://github.com/pylint-dev/pylint) | `2.17.5` | `3.0.3` |
| [setuptools](https://github.com/pypa/setuptools) | `68.1.2` | `69.0.3` |
| [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.11.1` | `3.12.0` |
| [pytest-xdist](https://github.com/pytest-dev/pytest-xdist) | `3.3.1` | `3.5.0` |
| [pyright](https://github.com/RobertCraigie/pyright-python) | `1.1.325` | `1.1.345` |
| [isort](https://github.com/pycqa/isort) | `5.12.0` | `5.13.2` |
| [pytest-rerunfailures](https://github.com/pytest-dev/pytest-rerunfailures) | `12.0` | `13.0` |
| [cairo-lang](https://github.com/starkware-libs/cairo-lang) | `0.12.2` | `0.13.0` |
Updates `pytest` from 7.4.0 to 7.4.4
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest@7.4.0...7.4.4)
Updates `black` from 23.7.0 to 23.12.1
- [Release notes](https://github.com/psf/black/releases)
- [Changelog](https://github.com/psf/black/blob/main/CHANGES.md)
- [Commits](psf/black@23.7.0...23.12.1)
Updates `poethepoet` from 0.22.0 to 0.24.4
- [Release notes](https://github.com/nat-n/poethepoet/releases)
- [Commits](nat-n/poethepoet@v0.22.0...v0.24.4)
Updates `coverage` from 7.3.0 to 7.4.0
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](coveragepy/coveragepy@7.3.0...7.4.0)
Updates `pytest-asyncio` from 0.21.1 to 0.23.3
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](pytest-dev/pytest-asyncio@v0.21.1...v0.23.3)
Updates `pylint` from 2.17.5 to 3.0.3
- [Release notes](https://github.com/pylint-dev/pylint/releases)
- [Commits](pylint-dev/pylint@v2.17.5...v3.0.3)
Updates `setuptools` from 68.1.2 to 69.0.3
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](pypa/setuptools@v68.1.2...v69.0.3)
Updates `pytest-mock` from 3.11.1 to 3.12.0
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-mock@v3.11.1...v3.12.0)
Updates `pytest-xdist` from 3.3.1 to 3.5.0
- [Release notes](https://github.com/pytest-dev/pytest-xdist/releases)
- [Changelog](https://github.com/pytest-dev/pytest-xdist/blob/master/CHANGELOG.rst)
- [Commits](pytest-dev/pytest-xdist@v3.3.1...v3.5.0)
Updates `pyright` from 1.1.325 to 1.1.345
- [Release notes](https://github.com/RobertCraigie/pyright-python/releases)
- [Commits](RobertCraigie/pyright-python@v1.1.325...v1.1.345)
Updates `isort` from 5.12.0 to 5.13.2
- [Release notes](https://github.com/pycqa/isort/releases)
- [Changelog](https://github.com/PyCQA/isort/blob/main/CHANGELOG.md)
- [Commits](PyCQA/isort@5.12.0...5.13.2)
Updates `pytest-rerunfailures` from 12.0 to 13.0
- [Changelog](https://github.com/pytest-dev/pytest-rerunfailures/blob/master/CHANGES.rst)
- [Commits](pytest-dev/pytest-rerunfailures@12.0...13.0)
Updates `cairo-lang` from 0.12.2 to 0.13.0
- [Release notes](https://github.com/starkware-libs/cairo-lang/releases)
- [Commits](starkware-libs/cairo-lang@v0.12.2...v0.13.0)
---
updated-dependencies:
- dependency-name: pytest
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: black
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: poethepoet
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: coverage
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: pytest-asyncio
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: pylint
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dev-dependencies
- dependency-name: setuptools
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dev-dependencies
- dependency-name: pytest-mock
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: pytest-xdist
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: pyright
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: dev-dependencies
- dependency-name: isort
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
- dependency-name: pytest-rerunfailures
dependency-type: direct:development
update-type: version-update:semver-major
dependency-group: dev-dependencies
- dependency-name: cairo-lang
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: dev-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com>
* revert pytest-asyncio to ^0.21.1 beacause of changes in the context of event_loop
* update hash
* fix lint
* fix linter
* Add issue id to TODO
* fix imports
* format
* downgrade pyright version
* Update pyproject.toml
Co-authored-by: ddoktorski <45050160+ddoktorski@users.noreply.github.com>
* fix
* Add support for python 3.12*
* adds to many arguments
* remove v3.8 python
* fix
* revert version 3.8
* linter
* test
* test
* test
* use python 3.11 to build
* fix
* update
* try version 3.12
* test
* update pyproject
* fix
* feedback
* remove --without py312-dev
* update
* test
* simplyfy install cairo-lang
* remove cairo-lang from deps
* feedback
* remove istall cairo-lang
* Update docs/development.rst
Co-authored-by: ddoktorski <45050160+ddoktorski@users.noreply.github.com>
* Update .github/workflows/checks.yml
Co-authored-by: ddoktorski <45050160+ddoktorski@users.noreply.github.com>
* feedback
* clean up
* clean up code
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ddoktorski <45050160+ddoktorski@users.noreply.github.com>1 parent 976f1fd commit c44e782
File tree
6 files changed
+989
-1942
lines changed- .github/workflows
- docs
- starknet_py
6 files changed
+989
-1942
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
85 | 85 | | |
86 | 86 | | |
87 | 87 | | |
88 | | - | |
| 88 | + | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | 159 | | |
165 | 160 | | |
166 | 161 | | |
| |||
169 | 164 | | |
170 | 165 | | |
171 | 166 | | |
172 | | - | |
| 167 | + | |
173 | 168 | | |
174 | 169 | | |
175 | 170 | | |
| |||
227 | 222 | | |
228 | 223 | | |
229 | 224 | | |
230 | | - | |
| 225 | + | |
231 | 226 | | |
232 | 227 | | |
233 | 228 | | |
| |||
238 | 233 | | |
239 | 234 | | |
240 | 235 | | |
241 | | - | |
242 | | - | |
243 | | - | |
244 | | - | |
245 | | - | |
246 | | - | |
| 236 | + | |
247 | 237 | | |
248 | 238 | | |
249 | | - | |
| 239 | + | |
250 | 240 | | |
251 | 241 | | |
252 | 242 | | |
253 | 243 | | |
254 | | - | |
| 244 | + | |
255 | 245 | | |
256 | 246 | | |
257 | 247 | | |
| |||
282 | 272 | | |
283 | 273 | | |
284 | 274 | | |
285 | | - | |
| 275 | + | |
286 | 276 | | |
287 | 277 | | |
288 | 278 | | |
| |||
296 | 286 | | |
297 | 287 | | |
298 | 288 | | |
299 | | - | |
| 289 | + | |
300 | 290 | | |
301 | 291 | | |
302 | 292 | | |
| |||
312 | 302 | | |
313 | 303 | | |
314 | 304 | | |
315 | | - | |
316 | | - | |
317 | | - | |
318 | | - | |
319 | | - | |
320 | 305 | | |
321 | 306 | | |
322 | 307 | | |
| |||
325 | 310 | | |
326 | 311 | | |
327 | 312 | | |
328 | | - | |
| 313 | + | |
329 | 314 | | |
330 | 315 | | |
331 | 316 | | |
| |||
356 | 341 | | |
357 | 342 | | |
358 | 343 | | |
359 | | - | |
| 344 | + | |
360 | 345 | | |
361 | 346 | | |
362 | 347 | | |
| |||
370 | 355 | | |
371 | 356 | | |
372 | 357 | | |
373 | | - | |
| 358 | + | |
374 | 359 | | |
375 | 360 | | |
376 | 361 | | |
| |||
381 | 366 | | |
382 | 367 | | |
383 | 368 | | |
384 | | - | |
385 | | - | |
386 | | - | |
387 | | - | |
388 | | - | |
389 | 369 | | |
390 | 370 | | |
391 | 371 | | |
| |||
394 | 374 | | |
395 | 375 | | |
396 | 376 | | |
397 | | - | |
| 377 | + | |
398 | 378 | | |
399 | 379 | | |
400 | 380 | | |
| |||
430 | 410 | | |
431 | 411 | | |
432 | 412 | | |
433 | | - | |
| 413 | + | |
434 | 414 | | |
435 | 415 | | |
436 | 416 | | |
| |||
444 | 424 | | |
445 | 425 | | |
446 | 426 | | |
447 | | - | |
| 427 | + | |
448 | 428 | | |
449 | 429 | | |
450 | 430 | | |
| |||
455 | 435 | | |
456 | 436 | | |
457 | 437 | | |
458 | | - | |
459 | | - | |
460 | | - | |
461 | | - | |
462 | | - | |
463 | 438 | | |
464 | 439 | | |
465 | 440 | | |
| |||
468 | 443 | | |
469 | 444 | | |
470 | 445 | | |
471 | | - | |
| 446 | + | |
472 | 447 | | |
473 | 448 | | |
474 | 449 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
0 commit comments