Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Mark 3.12
  • Loading branch information
youknowone committed Oct 23, 2023
commit a13a5ed67badf6fd5684a9752e1fd44c2e7f5134
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ env:
test_weakref
test_yield_from
# Python version targeted by the CI.
PYTHON_VERSION: "3.11.4"
PYTHON_VERSION: "3.12.0"

jobs:
rust_tests:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cron-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ name: Periodic checks/tasks

env:
CARGO_ARGS: --no-default-features --features stdlib,zlib,importlib,encodings,ssl,jit
PYTHON_VERSION: "3.11.4"
PYTHON_VERSION: "3.12.0"

jobs:
# codecov collects code coverage data from the rust tests, python snippets and python test suite.
Expand Down
2 changes: 1 addition & 1 deletion DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RustPython requires the following:
stable version: `rustup update stable`
- If you do not have Rust installed, use [rustup](https://rustup.rs/) to
do so.
- CPython version 3.11 or higher
- CPython version 3.12 or higher
- CPython can be installed by your operating system's package manager,
from the [Python website](https://www.python.org/downloads/), or
using a third-party distribution, such as
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# [RustPython](https://rustpython.github.io/)

A Python-3 (CPython >= 3.11.0) Interpreter written in Rust :snake: :scream:
A Python-3 (CPython >= 3.12.0) Interpreter written in Rust :snake: :scream:
:metal:.

[![Build Status](https://github.com/RustPython/RustPython/workflows/CI/badge.svg)](https://github.com/RustPython/RustPython/actions?query=workflow%3ACI)
Expand Down
4 changes: 2 additions & 2 deletions vm/src/version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
use chrono::{prelude::DateTime, Local};
use std::time::{Duration, UNIX_EPOCH};

// = 3.11.0alpha
// = 3.12.0alpha
pub const MAJOR: usize = 3;
pub const MINOR: usize = 11;
pub const MINOR: usize = 12;
pub const MICRO: usize = 0;
pub const RELEASELEVEL: &str = "alpha";
pub const RELEASELEVEL_N: usize = 0xA;
Expand Down
4 changes: 2 additions & 2 deletions whats_left.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
implementation = platform.python_implementation()
if implementation != "CPython":
sys.exit(f"whats_left.py must be run under CPython, got {implementation} instead")
if sys.version_info[:2] < (3, 11):
sys.exit(f"whats_left.py must be run under CPython 3.11 or newer, got {implementation} {sys.version} instead")
if sys.version_info[:2] < (3, 12):
sys.exit(f"whats_left.py must be run under CPython 3.12 or newer, got {implementation} {sys.version} instead")

def parse_args():
parser = argparse.ArgumentParser(description="Process some integers.")
Expand Down