Skip to content

Commit af884cb

Browse files
authored
First step for Python 3.12 support (RustPython#5078)
* Mark 3.12 * Update importlib from Python 3.12.0 * Update test_importlib from Python3.12 * Mark failings tests from importlib * Update test.support from Python3.12 * Fix unsupported parser feature * mark failing test * Update functools from Python 3.12 * manual type annotation * slice behavior changed in 3.12 * empty unittest.main returns non-zero * test_decimal from CPython 3.12 * Mark failing tests * Update test_unicode from CPython 3.12 * Update test_functools from Python 3.12 * Update enum from Python 3.12 * enum * Doc format changed * Update test_module from CPython --------- Co-authored-by: CPython developers <>
1 parent a75f26b commit af884cb

File tree

113 files changed

+4828
-3626
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+4828
-3626
lines changed

.github/workflows/ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ env:
105105
test_weakref
106106
test_yield_from
107107
# Python version targeted by the CI.
108-
PYTHON_VERSION: "3.11.4"
108+
PYTHON_VERSION: "3.12.0"
109109

110110
jobs:
111111
rust_tests:

.github/workflows/cron-ci.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ name: Periodic checks/tasks
77

88
env:
99
CARGO_ARGS: --no-default-features --features stdlib,zlib,importlib,encodings,ssl,jit
10-
PYTHON_VERSION: "3.11.4"
10+
PYTHON_VERSION: "3.12.0"
1111

1212
jobs:
1313
# codecov collects code coverage data from the rust tests, python snippets and python test suite.

DEVELOPMENT.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ RustPython requires the following:
2525
stable version: `rustup update stable`
2626
- If you do not have Rust installed, use [rustup](https://rustup.rs/) to
2727
do so.
28-
- CPython version 3.11 or higher
28+
- CPython version 3.12 or higher
2929
- CPython can be installed by your operating system's package manager,
3030
from the [Python website](https://www.python.org/downloads/), or
3131
using a third-party distribution, such as

0 commit comments

Comments
 (0)