From 6dabaf08b391941922b2524a565868eee1795e49 Mon Sep 17 00:00:00 2001 From: kngwyu Date: Mon, 5 Aug 2019 16:55:25 +0900 Subject: [PATCH] Update minimum nightly to 1.37 07-12 --- .travis.yml | 2 +- README.md | 2 +- build.rs | 2 +- guide/src/get_started.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index f235c5dd..636893f8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -21,7 +21,7 @@ matrix: - name: Minimum nightly python: "3.7" # Keep this synced up with build.rs - env: TRAVIS_RUST_VERSION=nightly-2019-06-22 + env: TRAVIS_RUST_VERSION=nightly-2019-07-12 # Tested via anaconda PyPy (since travis's PyPy version is too old) - name: PyPy3.5 7.0 python: "3.7" diff --git a/README.md b/README.md index 4098129f..c6b35fdf 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ A comparison with rust-cpython can be found [in the guide](https://pyo3.rs/maste ## Usage -PyO3 supports Python 3.5 and up. The minimum required Rust version is 1.34.0-nightly 2019-02-06. +PyO3 supports Python 3.5 and up. The minimum required Rust version is 1.37.0-nightly 2019-07-12. PyPy is also supported (via cpyext) for Python 3.5 only, targeted PyPy version is 7.0.0. Please refer to the guide for installation instruction against PyPy. diff --git a/build.rs b/build.rs index ea6ff88f..0f31913c 100644 --- a/build.rs +++ b/build.rs @@ -16,7 +16,7 @@ use version_check::{Channel, Date, Version}; /// Specifies the minimum nightly version needed to compile pyo3. /// Keep this synced up with the travis ci config, /// But note that this is the rustc version which can be lower than the nightly version -const MIN_DATE: &'static str = "2019-06-21"; +const MIN_DATE: &'static str = "2019-07-11"; const MIN_VERSION: &'static str = "1.37.0-nightly"; /// Information returned from python interpreter diff --git a/guide/src/get_started.md b/guide/src/get_started.md index 3ea2c63e..a7a7652e 100644 --- a/guide/src/get_started.md +++ b/guide/src/get_started.md @@ -10,7 +10,7 @@ A comparison with rust-cpython can be found [in the guide](https://pyo3.rs/maste ## Usage -PyO3 supports Python 3.5 and up. The minimum required Rust version is 1.34.0-nightly 2019-02-06. +PyO3 supports Python 3.5 and up. The minimum required Rust version is 1.37.0-nightly 2019-07-12. PyPy is also supported (via cpyext) for Python 3.5 only, targeted PyPy version is 7.0.0. Please refer to the guide for installation instruction against PyPy.