torproject / stem

Python controller library for Tor
https://stem.torproject.org/
GNU Lesser General Public License v3.0
273 stars 76 forks source link

don't use deprecated int_from_byte to test cryptography #119

Closed orangepizza closed 2 years ago

orangepizza commented 2 years ago

https://github.com/pyca/cryptography/pull/6652/files function int_from_bytes in cryptography.util will be removed form cryptography 37.0, which will be released in April 26ish, which will break stem's cryptography detection because it try to import them only place we call this function is to test if cryptography exsit, so we can safely remove them

atagar commented 2 years ago

Thanks orangepizza, merged.