Azure / Azure/azure-storage-python

new version cryptography dependency crashes app

Open
#706 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
343
Forks
243
PR merge metrics
No merged PRs in 30d

Description

Hi, before 2 days there was released cryptography==38.x.x

which makes azure python web app crash (because cryptography fails to load), it could nice to freeze cryptography>=2.x.x as it is now (for storage and tables), because it will cause a lot of problems :)

Downgrading cryptography to `cryptography==37.0.4` can solve this problem.

New version of library is probably written for new 22 ubuntu and azure runs on 20 version.

[2022_09_08_ln0sdlwk00013K_default_docker.log](https://github.com/Azure/azure-storage-python/files/9526708/2022_09_08_ln0sdlwk00013K_default_docker.log)

Just adding here log keys for people also searching this problem:

ImportError: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/site/wwwroot/antenv/lib/python3.7/site-packages/cryptography/hazmat/bindings/_rust.abi3.so)

Contributor guide

Open the contributing guide

Research direction

No dependency file or test is named in the issue. Start by locating the project's dependency declarations and checking how cryptography is selected for the Azure Python environment described in the log. Done means the supported environment no longer installs an incompatible cryptography release, with coverage for the reported import failure if existing tests allow it.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, cryptography, python
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.