Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

aliyun-sdk-core doesn't work with crpythongraphy #470

Open
kucharzyk-sebastian opened this issue Apr 27, 2022 · 0 comments
Open

aliyun-sdk-core doesn't work with crpythongraphy #470

kucharzyk-sebastian opened this issue Apr 27, 2022 · 0 comments

Comments

@kucharzyk-sebastian
Copy link

  • Python Version:
    python 3.6
  • aliyunsdkcore Version:
    2.13.36
  • API:
    Initialization of Function Compute

Yesterday a new 37.0.0 version of cryptography has been released. aliyun-python-sdk-core doesn't have an upper bound for this version in the setup.py so it started picking cryptography 37.0.0 on pip install aliyun-python-sdk-core. When a package with aliyun-python-sdk-core and cryptography 37.0.0 is deployed to Function Compute with Python 3.6, the FC fails with the error below on invoke:

[ERROR] {'errorMessage': "Module initialization error: 'module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK''", 'errorType': 'UserCodeError', 'stackTrace': ["AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'"]}

I believe that aliyun-python-sdk-core should require cryptography <=37.0.0,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant