rfc3986 uses its own deprecated method - warning spam
还没有人认领这个 Issue。
评估
调研方向
从 URIMixin.resolve_with() 的实现开始,检查它如何调用 URIReference.is_valid()。将已弃用的验证路径替换为 Validator,然后运行相关的项目检查,并确认大量警告已经消失。
由索引模型根据 Issue 内容生成。
描述
In Version 2.0, in URIMixin.resolve_with() rfc3986 uses the deprecated URIReference.is_valid() instead of a Validator.
Apart from it being a bad look, it causes literally thousands of warnings in our pipeline (since resolve_with() is used often from the json-schema and jschon packages) - see below. This spams our logs and can make it hard to debug.
I made a fix: https://github.com/jpmaterial/rfc3986/tree/release/2.0 (and verified it), but there is no branch that offers itself for a pull request.
Are you interested in the fix (and releasing a 2.0.1 I guess) and if yes, on which branch should I request a pull?
- 主要语言
- Python
- 星标
- 189
- 派生
- 38
- 平均合并
- 13 小时 36 分钟
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python-hyper/rfc3986 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
python-hyper/rfc3986#138 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 55/100
python-hyper/rfc3986#129 ·
-
wrong parse 未关闭
难度 3/5 1-2 天 新手友好度 38/100
python-hyper/rfc3986#128 ·
-
难度 4/5 3-5 天 新手友好度 35/100
python-hyper/rfc3986#122 · 3 条评论 · 1 个 reaction ·
-
Label 未关闭
难度 5/5 一周以上 新手友好度 1/100
python-hyper/rfc3986#120 ·
查看 python-hyper/rfc3986 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 86/100
zostera/django-bootstrap4#894 ·
-
难度 2/5 1-3 小时 新手友好度 78/100
use-agent-os/agent-os#3276 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
zephyrproject-rtos/zephyr#119726 ·
-
area/auth bug comp/agent P3 platform/discord type/security
难度 2/5 1-3 小时 新手友好度 88/100
NousResearch/hermes-agent#117848 ·
-
难度 2/5 1-3 小时 新手友好度 82/100
zilliztech/memsearch#759 ·