Skip to content

Commit

Permalink
Bump pyo3 and lower MSRV (#5823)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Feb 13, 2021
1 parent 2ed0792 commit 7e30277
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 21 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ jobs:
PYTHON:
- {VERSION: "3.9", TOXENV: "py39"}
RUST:
# Cover MSRV and in-dev versions
# Cover MSRV (and likely next MSRV) and in-dev versions
- 1.41.0
- 1.45.0
- beta
- nightly
Expand Down
6 changes: 3 additions & 3 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Alpine

.. warning::

The Rust available by default in Alpine < 3.13 is older than the minimum
The Rust available by default in Alpine < 3.12 is older than the minimum
supported version. See the :ref:`Rust installation instructions
<installation:Rust>` for information about installing a newer Rust.

Expand Down Expand Up @@ -137,7 +137,7 @@ Fedora/RHEL 8/CentOS 8
.. warning::

For RHEL and CentOS you must be on version 8.3 or newer for the command
below to install a sufficiently new Rust. If your Rust is less than 1.45.0
below to install a sufficiently new Rust. If your Rust is less than 1.41.0
please see the :ref:`Rust installation instructions <installation:Rust>`
for information about installing a newer Rust.

Expand Down Expand Up @@ -327,7 +327,7 @@ Rust
a binary wheel and require no compiler if you have an updated ``pip``!

Building ``cryptography`` requires having a working Rust toolchain. The current
minimum supported Rust version is 1.45.0. **This is newer than the Rust most
minimum supported Rust version is 1.41.0. **This is newer than the Rust most
package managers ship**, so users will likely need to install with the
instructions below.

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
if platform.python_implementation() == "PyPy"
else ["pyo3/abi3-py36"]
),
rust_version=">=1.45.0",
rust_version=">=1.41.0",
)
]

Expand Down
74 changes: 58 additions & 16 deletions src/rust/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 7e30277

Please sign in to comment.