Comments (4)
你好,请提供一下能复现问题的相关信息,比如 poetry 版本、pyproject.toml 文件内容等。
from bkpaas-python-sdk.
使用版本: Poetry (version 1.2.2)
使用命令: poetry install --sync
poetry add blue-krill=1.2.2 的时候报错哈希值不匹配问题
from bkpaas-python-sdk.
先行修改 poetry 版本问题,切换到 1.1.15 再尝试一遍
from bkpaas-python-sdk.
Poetry 1.2.X 引入了一个问题:python-poetry/poetry#6301 ,导致无法从那些仅支持 MD5 digest 的私有 PyPI 源上装包。如果你所在的网络环境,会将 blue-krill 包劫持到某个私有的 PyPI 源中(我所处的网络环境就是这样),便会遇到你发的这个摘要不匹配问题。
临时的解决办法:
- 降级 poetry 版本
- 使用一个不劫持 blue-krill 包到私有 PyPI server 的镜像站
from bkpaas-python-sdk.
Related Issues (11)
- 完善 setup.py 信息,丰富 pypi project 页面
- 增加对于 Django 版本的限定,避免安装漏洞版本 HOT 1
- bug: BKRepoStorage file_overwrite 不生效 HOT 2
- [apigw-manager]期望提供一个能够向网关中添加管理应用的 API
- apigw-manager 支持 Django 3.x 版本 HOT 2
- blue-krill 支持 Python 3.8/3.9/3.10
- blue_krill 中 EnumField 是否可以增加一个字段 metadata,用来存储一些关联的额外数据 HOT 2
- bkpaas-auth 中打印的日志包含敏感信息 bk_token,需将其部分打码 HOT 1
- 将项目 pre-commit 中使用的 Linter 工具切换为 Ruff
- bkstorages 在 django 3.2.13 版本使用异常 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bkpaas-python-sdk.