snowflake-sqlalchemy: Import of SnowflakeOCSPAsn1Crypto crashes Python
Please answer these questions before submitting your issue. Thanks!
- What version of Python are you using (
python --version)?
Python 3.7.5
- What operating system and processor architecture are you using (
python -c 'import platform; print(platform.platform())')?
Darwin-19.0.0-x86_64-i386-64bit
- What are the component versions in the environment (
pip list)?
see attached log file
- What did you do? If possible, provide a recipe for reproducing the error. A complete runnable program is good.
from snowflake.connector.ocsp_asn1crypto import SnowflakeOCSPAsn1Crypto as SFOCSP
see attached log file for the complete process
-
What did you expect to see?
-
What did you see instead?
Python process crashes
- Can you set logging to DEBUG and collect the logs? log.txt
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 15 (7 by maintainers)
@smtakeda this issue surfaced again with Big Sur beta
Stack is the following
cffi==1.13.2snowflake-connector-python==2.2.9Same means of reproducibility as @ms32035 experienced
Also results in
This fails locally
But will work in
Sounds like cmake’s
find_libraryis on the loose on Big SurSome talk on it in oscrypto
Okay I fixed it using oscryto’s master. I recommend bumpiog the dependency to oscrypto once it’s shipped to pypi
ok, the warning was just covering up the actual problem. Traced the issue to be caused by this https://forums.developer.apple.com/thread/119429