Azure / Azure/azure-storage-python

new version cryptography dependency crashes app

未关闭
#706 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Python
星标
343
派生
243
PR 合并指标
30 天内没有已合并 PR

描述

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)

贡献指南

打开贡献指南

调研方向

issue 中没有指定依赖文件或测试。首先定位项目的依赖声明,并检查如何为日志中描述的 Azure Python 环境选择 cryptography。完成的标准是受支持的环境不再安装不兼容的 cryptography 版本,并且在现有测试允许的情况下,为报告的导入失败提供覆盖。

由索引模型根据 Issue 内容生成。

评估

技术栈
azure, cryptography, python
领域
backend
Issue 类型
缺陷
难度
2/5
预计耗时
1-3 小时
活跃度
停滞
描述清晰度
基本清楚
新手友好度
35/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。