File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -211,6 +211,9 @@ outputs:
211211 - ripgrep
212212 - cmake
213213 - ninja
214+ # Pin to the openssl version used during the build to check whether
215+ # we load the conda-forge version.
216+ - openssl {{ openssl }}
214217 - {{ stdlib('c') }}
215218 - {{ compiler('c') }}
216219 # Tried to use enable_language(C) to avoid needing this. It does not work.
Original file line number Diff line number Diff line change 102102
103103import ssl
104104print ('OPENSSL_VERSION:' , ssl .OPENSSL_VERSION )
105- CONDA_OPENSSL_VERSION = os .getenv ('openssl' ). split ( "." )[ 0 ]
106- assert CONDA_OPENSSL_VERSION in ssl .OPENSSL_VERSION
105+ CONDA_OPENSSL_VERSION = os .getenv ('openssl' )
106+ assert CONDA_OPENSSL_VERSION in ssl .OPENSSL_VERSION , f" { CONDA_OPENSSL_VERSION } not found in { ssl . OPENSSL_VERSION } "
107107
108108# See https://github.com/conda-forge/python-feedstock/issues/718 for context:
109109assert sys .hash_info .algorithm .startswith ("siphash" )
You can’t perform that action at this time.
0 commit comments