That does not help.  Looks like that is too old.

      running build_ext
      generating cffi module 
'build/temp.cygwin-3.6.0-x86_64-cpython-312/_padding.c'
      creating build/temp.cygwin-3.6.0-x86_64-cpython-312
      generating cffi module 
'build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c'
      building '_openssl' extension
      creating 
build/temp.cygwin-3.6.0-x86_64-cpython-312/build/temp.cygwin-3.6.0-x86_64-cpython-312
      gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall 
-I/usr/include/python3.12 -c 
build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c -o 
build/temp.cygwin-3.6.0-x86_64-cpython-312/build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.o
 -Wconversion -Wno-error=sign-conversion
      build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c: In function 
‘Cryptography_pem_password_cb’:
      build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c:2390:37: warning: 
conversion to ‘size_t’ {aka ‘long unsigned int’} from ‘int’ may change the sign 
of the result [-Wsign-conversion]
       2390 |         memcpy(buf, st->password, st->length);
            |                                   ~~^~~~~~~~
      build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c: In function 
‘_cffi_d_BIO_s_datagram’:
      build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c:10329:10: warning: 
return discards ‘const’ qualifier from pointer target type 
[-Wdiscarded-qualifiers]
      10329 |   return BIO_s_datagram();
            |          ^~~~~~~~~~~~~~~~
      build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c: In function 
‘_cffi_f_BIO_s_datagram’:
      build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c:10340:12: warning: 
assignment discards ‘const’ qualifier from pointer target type 
[-Wdiscarded-qualifiers]
      10340 |   { result = BIO_s_datagram(); }
            |            ^
      build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c: In function 
‘_cffi_d_BIO_s_mem’:
      build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c:10355:10: warning: 
return discards ‘const’ qualifier from pointer target type 
[-Wdiscarded-qualifiers]
      10355 |   return BIO_s_mem();
            |          ^~~~~~~~~~~
      build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c: In function 
‘_cffi_f_BIO_s_mem’:
      build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c:10366:12: warning: 
assignment discards ‘const’ qualifier from pointer target type 
[-Wdiscarded-qualifiers]
      10366 |   { result = BIO_s_mem(); }
            |            ^
      build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c: In function 
‘_cffi_d_ERR_GET_FUNC’:
      build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c:18785:10: warning: 
implicit declaration of function ‘ERR_GET_FUNC’; did you mean ‘ERR_GET_LIB’? 
[-Wimplicit-function-declaration]
      18785 |   return ERR_GET_FUNC(x0);
            |          ^~~~~~~~~~~~
            |          ERR_GET_LIB
      build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c: In function 
‘_cffi_d_FIPS_mode’:
      build/temp.cygwin-3.6.0-x86_64-cpython-312/_openssl.c:23538:10: warning: 
implicit declaration of function ‘FIPS_mode’ [-Wimplicit-function-declaration]
      23538 |   return FIPS_mode();
 



________________________________________
From: Michael Cook <mich...@waxrat.com>
Sent: Saturday, March 29, 2025 7:18 AM
To: Mercurio, Steven W-CTR (FAA)
Cc: cygwin@cygwin.com
Subject: Re: Is there a pre-made python312-cryptography module?

CAUTION: This email originated from outside of the Federal Aviation 
Administration (FAA). Do not click on links or open attachments unless you 
recognize the sender and know the content is safe.


You can try this:

CRYPTOGRAPHY_DONT_BUILD_RUST=1 python -m pip install cryptography==3.4.3

to install an older version of cryptography before it required Rust.
Though the last time I tried that was probably a couple years ago.

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

Reply via email to