diff options
| author | Alexandru Ardelean <ardeleanalex@gmail.com> | 2022-07-07 15:49:50 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-07-07 15:49:50 +0300 |
| commit | 23eb031777e1cf1065dc0fc9824b1a08d263797d (patch) | |
| tree | 28706c5808e81e693219d428835ad4cd92a54e55 /lang/python/python-cryptography/patches | |
| parent | 798cf62bd8bf463f603f6582eb26ac69e154e439 (diff) | |
| parent | 9e3b7d78837b7181b859472894aa243a2eae595b (diff) | |
Merge pull request #18883 from jefferyto/python-cryptography-fix-build
python-cryptography: Fix failing build
Diffstat (limited to 'lang/python/python-cryptography/patches')
| -rw-r--r-- | lang/python/python-cryptography/patches/0004-disable-rust.patch | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/python/python-cryptography/patches/0004-disable-rust.patch b/lang/python/python-cryptography/patches/0004-disable-rust.patch index b005851cb..81c45a44d 100644 --- a/lang/python/python-cryptography/patches/0004-disable-rust.patch +++ b/lang/python/python-cryptography/patches/0004-disable-rust.patch @@ -9,9 +9,12 @@ except ImportError: print( """ -@@ -45,7 +45,7 @@ setuptools_rust = "setuptools-rust>=0.11 +@@ -43,9 +43,9 @@ with open(os.path.join(src_dir, "cryptog + # `pyproject.toml` + setuptools_rust = "setuptools-rust>=0.11.4" install_requirements = ["cffi>=1.12"] - setup_requirements = install_requirements + [setuptools_rust] +-setup_requirements = install_requirements + [setuptools_rust] ++setup_requirements = install_requirements -if os.environ.get("CRYPTOGRAPHY_DONT_BUILD_RUST"): +if True: |
