hash error when installing with poetry
還沒有人認領這個 Issue。
評估
研究方向
在 Windows Server 2019 上使用 Poetry 1.42 和 swat 1.12.1 重現 poetry add swat@latest,以 D:\miniconda\lib\hashlib.py 中回報的 traceback 作為起點。追蹤安裝為何要求不受支援的 sha 雜湊,並在 package 能夠沒有該錯誤完成安裝時視為 issue 完成。
由索引模型根據 Issue 內容生成。
描述
Hi, I'm getting this error on Windows server 2019, latest poetry 1.42:
>poetry add swat@latest
Using version ^1.12.1 for swat
Updating dependencies
Resolving dependencies... Downloading https://files.pythonhosted.org/packages/3c/c8/5d6bb20ba20d8770e933d8c0fe956fdc11940af2c39f5b23e02196e0395c/swat-1.12.1-0-cp27-cp27m-macosx_10_9_x86_64.whl#sha256=30ad0ce7e69fa40e19433aa8327b55ae1c0f092fResolving dependencies... (1.6s)
Writing lock file
Package operations: 1 install, 0 updates, 0 removals
• Installing swat (1.12.1): Failed
ValueError
unsupported hash type
at D:\miniconda\lib\hashlib.py:157 in __hash_new
153│ # It does neither support keyed blake2 nor advanced features like
154│ # salt, personal, tree hashing or SSE.
155│ return __get_builtin_constructor(name)(data, **kwargs)
156│ try:
→ 157│ return _hashlib.new(name, data)
158│ except ValueError:
159│ # If the _hashlib module (OpenSSL) doesn't support the named
160│ # hash, try using our builtin implementations.
161│ # This allows for SHA224/256 and SHA384/512 support even though
The following error occurred when trying to handle this error:
ValueError
unsupported hash type sha
at D:\miniconda\lib\hashlib.py:120 in __get_builtin_constructor
116│ constructor = cache.get(name)
117│ if constructor is not None:
118│ return constructor
119│
→ 120│ raise ValueError('unsupported hash type ' + name)
121│
122│
123│ def __get_openssl_constructor(name):
124│ if name in __block_openssl_constructor:
- 主要語言
- Python
- 星號
- 159
- 分支
- 66
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
- 沒有 Dockerfile 或 Docker Compose 檔案
- 沒有 Pull Request 範本
- 閱讀貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
sassoftware/python-swat 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 30/100
sassoftware/python-swat#191 · 1 則留言 ·
-
難度 3/5 1-2 天 新手友好度 35/100
sassoftware/python-swat#183 · 1 則留言 ·
-
難度 4/5 3-5 天 新手友好度 25/100
sassoftware/python-swat#180 ·
-
難度 2/5 1-3 小時 新手友好度 35/100
sassoftware/python-swat#178 ·
-
難度 4/5 3-5 天 新手友好度 25/100
sassoftware/python-swat#177 · 1 則留言 ·
查看 sassoftware/python-swat 的全部 Issue
相似的 Issue
-
Remove the `pull_request_target` workflow before GitHub blocks it可能已有人在做 @jat255 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 78/100
維護者通常 2 天內回覆
-
難度 2/5 1-3 小時 新手友好度 85/100
IBM/mcp-context-forge#7483 ·
維護者通常 2 天內回覆
-
bug good first issue
難度 2/5 1-3 小時 新手友好度 78/100
-
[Bug Report]: OpenAI 辅助 API 连通性测试因输出上限仅 1 token 误报“未知错误”可能已有人在做 @fjfanjian 今天認領。 未關閉
難度 2/5 1-3 小時 新手友好度 72/100
Project-N-E-K-O/N.E.K.O#3640 ·
維護者通常 1 天內回覆
-
author-page correction
難度 2/5 1-3 小時 新手友好度 64/100
acl-org/acl-anthology#10808 · 1 則留言 ·
維護者通常 1 天內回覆