mirror of
https://github.com/saymrwulf/cryptography.git
synced 2026-05-14 20:37:55 +00:00
Prepare for 42.0.7 release (#10949)
* Prepare for 42.0.7 release * Fix build with Rust nightly (#10936) * Extra cfg
This commit is contained in:
parent
cfad00478a
commit
0cc7fc3843
10 changed files with 32 additions and 5 deletions
2
.github/workflows/wheel-builder.yml
vendored
2
.github/workflows/wheel-builder.yml
vendored
|
|
@ -326,7 +326,7 @@ jobs:
|
|||
architecture: ${{ matrix.WINDOWS.ARCH }}
|
||||
- uses: dtolnay/rust-toolchain@1482605bfc5719782e1267fd0c0cc350fe7646b8
|
||||
with:
|
||||
toolchain: stable
|
||||
toolchain: 1.77.2
|
||||
target: ${{ matrix.WINDOWS.RUST_TRIPLE }}
|
||||
|
||||
- uses: dawidd6/action-download-artifact@e7466d1a7587ed14867642c2ca74b5bcc1e19a2d # v3.0.0
|
||||
|
|
|
|||
|
|
@ -1,6 +1,16 @@
|
|||
Changelog
|
||||
=========
|
||||
|
||||
.. _v42-0-7:
|
||||
|
||||
42.0.7 - 2024-05-06
|
||||
~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
* Restored Windows 7 compatibility for our pre-built wheels. Note that we do
|
||||
not test on Windows 7 and wheels for our next release will not support it.
|
||||
Microsoft no longer provides support for Windows 7 and users are encouraged
|
||||
to upgrade.
|
||||
|
||||
.. _v42-0-6:
|
||||
|
||||
42.0.6 - 2024-05-04
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ build-backend = "setuptools.build_meta"
|
|||
|
||||
[project]
|
||||
name = "cryptography"
|
||||
version = "42.0.6"
|
||||
version = "42.0.7"
|
||||
authors = [
|
||||
{name = "The Python Cryptographic Authority and individual contributors", email = "cryptography-dev@python.org"}
|
||||
]
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ __all__ = [
|
|||
"__copyright__",
|
||||
]
|
||||
|
||||
__version__ = "42.0.6"
|
||||
__version__ = "42.0.7"
|
||||
|
||||
|
||||
__author__ = "The Python Cryptographic Authority and individual contributors"
|
||||
|
|
|
|||
|
|
@ -6,6 +6,13 @@ use std::env;
|
|||
|
||||
#[allow(clippy::unusual_byte_groupings)]
|
||||
fn main() {
|
||||
println!("cargo:rustc-check-cfg=cfg(CRYPTOGRAPHY_OPENSSL_300_OR_GREATER)");
|
||||
println!("cargo:rustc-check-cfg=cfg(CRYPTOGRAPHY_OPENSSL_320_OR_GREATER)");
|
||||
println!("cargo:rustc-check-cfg=cfg(CRYPTOGRAPHY_IS_LIBRESSL)");
|
||||
println!("cargo:rustc-check-cfg=cfg(CRYPTOGRAPHY_LIBRESSL_380_OR_GREATER)");
|
||||
println!("cargo:rustc-check-cfg=cfg(CRYPTOGRAPHY_IS_BORINGSSL)");
|
||||
println!("cargo:rustc-check-cfg=cfg(CRYPTOGRAPHY_OSSLCONF, values(\"OPENSSL_NO_IDEA\", \"OPENSSL_NO_CAST\", \"OPENSSL_NO_BF\", \"OPENSSL_NO_CAMELLIA\", \"OPENSSL_NO_SEED\", \"OPENSSL_NO_SM4\"))");
|
||||
|
||||
if let Ok(version) = env::var("DEP_OPENSSL_VERSION_NUMBER") {
|
||||
let version = u64::from_str_radix(&version, 16).unwrap();
|
||||
|
||||
|
|
|
|||
|
|
@ -7,6 +7,8 @@ use std::path::Path;
|
|||
use std::process::Command;
|
||||
|
||||
fn main() {
|
||||
println!("cargo:rustc-check-cfg=cfg(python_implementation, values(\"CPython\", \"PyPy\"))");
|
||||
|
||||
let target = env::var("TARGET").unwrap();
|
||||
let openssl_static = env::var("OPENSSL_STATIC")
|
||||
.map(|x| x == "1")
|
||||
|
|
|
|||
|
|
@ -5,6 +5,9 @@
|
|||
use std::env;
|
||||
|
||||
fn main() {
|
||||
println!("cargo:rustc-check-cfg=cfg(CRYPTOGRAPHY_IS_LIBRESSL)");
|
||||
println!("cargo:rustc-check-cfg=cfg(CRYPTOGRAPHY_IS_BORINGSSL)");
|
||||
|
||||
if env::var("DEP_OPENSSL_LIBRESSL_VERSION_NUMBER").is_ok() {
|
||||
println!("cargo:rustc-cfg=CRYPTOGRAPHY_IS_LIBRESSL");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -6,6 +6,11 @@ use std::env;
|
|||
|
||||
#[allow(clippy::unusual_byte_groupings)]
|
||||
fn main() {
|
||||
println!("cargo:rustc-check-cfg=cfg(CRYPTOGRAPHY_OPENSSL_300_OR_GREATER)");
|
||||
println!("cargo:rustc-check-cfg=cfg(CRYPTOGRAPHY_OPENSSL_320_OR_GREATER)");
|
||||
println!("cargo:rustc-check-cfg=cfg(CRYPTOGRAPHY_IS_LIBRESSL)");
|
||||
println!("cargo:rustc-check-cfg=cfg(CRYPTOGRAPHY_IS_BORINGSSL)");
|
||||
|
||||
if let Ok(version) = env::var("DEP_OPENSSL_VERSION_NUMBER") {
|
||||
let version = u64::from_str_radix(&version, 16).unwrap();
|
||||
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@ __all__ = [
|
|||
"__version__",
|
||||
]
|
||||
|
||||
__version__ = "42.0.6"
|
||||
__version__ = "42.0.7"
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
|
|||
|
||||
[project]
|
||||
name = "cryptography_vectors"
|
||||
version = "42.0.6"
|
||||
version = "42.0.7"
|
||||
authors = [
|
||||
{name = "The Python Cryptographic Authority and individual contributors", email = "cryptography-dev@python.org"}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue