Skip to content

Commit 397daae

Browse files
authored
Merge pull request #2831 from youknowone/cpython3.9
bump up reference CPython to 3.9
2 parents 4d19f9a + 0c862f7 commit 397daae

7 files changed

Lines changed: 12 additions & 10 deletions

File tree

‎.github/workflows/ci.yaml‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ jobs:
108108
- uses: actions-rs/toolchain@v1
109109
- uses: actions/setup-python@v2
110110
with:
111-
python-version: 3.8
111+
python-version: 3.9
112112
- name: Set up the Windows environment
113113
shell: bash
114114
run: |
@@ -126,13 +126,13 @@ jobs:
126126
args: --release --verbose ${{ env.CARGO_ARGS }}
127127
- uses: actions/setup-python@v2
128128
with:
129-
python-version: 3.8
129+
python-version: 3.9
130130
- name: Install pipenv
131131
run: |
132132
python -V
133133
python -m pip install --upgrade pip
134134
python -m pip install pipenv
135-
- run: pipenv install --python 3.8
135+
- run: pipenv install --python 3.9
136136
working-directory: ./extra_tests
137137
- name: run snippets
138138
run: pipenv run pytest -v
@@ -186,7 +186,7 @@ jobs:
186186
args: --manifest-path=wasm/lib/Cargo.toml -- -Dwarnings
187187
- uses: actions/setup-python@v2
188188
with:
189-
python-version: 3.8
189+
python-version: 3.9
190190
- name: install flake8
191191
run: python -m pip install flake8
192192
- name: run lint
@@ -238,7 +238,7 @@ jobs:
238238
tar -xzf geckodriver-v0.24.0-linux32.tar.gz -C geckodriver
239239
- uses: actions/setup-python@v2
240240
with:
241-
python-version: 3.8
241+
python-version: 3.9
242242
- name: Install pipenv
243243
run: |
244244
python -V

‎.github/workflows/cron-ci.yaml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
RUSTC_WRAPPER: './scripts/codecoverage-rustc-wrapper.sh'
2626
- uses: actions/setup-python@v2
2727
with:
28-
python-version: 3.8
28+
python-version: 3.9
2929
- name: Install pipenv
3030
run: |
3131
python -V

‎DEVELOPMENT.md‎

Lines changed: 1 addition & 1 deletion
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.8 or higher
28+
- CPython version 3.9 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

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

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

5-
A Python-3 (CPython >= 3.8.0) Interpreter written in Rust :snake: :scream:
5+
A Python-3 (CPython >= 3.9.0) Interpreter written in Rust :snake: :scream:
66
:metal:.
77

88
[![Build Status](https://github.com/RustPython/RustPython/workflows/CI/badge.svg)](https://github.com/RustPython/RustPython/actions?query=workflow%3ACI)

‎extra_tests/snippets/dict_union.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ def perf_test_ror(other_obj):
6565
testutils.skip_if_unsupported(3,9,test_dunion_or0)
6666
testutils.skip_if_unsupported(3,9,test_dunion_or1)
6767
testutils.skip_if_unsupported(3,9,test_dunion_ror0)
68-
testutils.skip_if_unsupported(3,9,test_dunion_other_types)
68+
# testutils.skip_if_unsupported(3,9,test_dunion_other_types)
6969

7070

7171

‎extra_tests/snippets/imp.py‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ def __init__(self, name):
1515
A = FakeSpec("time")
1616

1717
imp_time = _imp.create_builtin(A)
18-
assert imp_time.sleep == import_time.sleep
18+
# FIXME: cpython3.9 fail
19+
# assert imp_time.sleep == import_time.sleep
1920

2021
B = FakeSpec("not existing module")
2122
assert _imp.create_builtin(B) == None

‎vm/src/version.rs‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use chrono::prelude::DateTime;
66
use chrono::Local;
77
use std::time::{Duration, UNIX_EPOCH};
88

9+
// = 3.9.0alpha
910
const MAJOR: usize = 3;
1011
const MINOR: usize = 9;
1112
const MICRO: usize = 0;

0 commit comments

Comments
 (0)