python / python/cpython

3.10, 3.11, 3.12: Windows fails to build, test_ssl NOT_ENOUGH_DATA failure on macOS, test_socket fails on Fedora Stable (Linux 7.1)

未关闭
#153,598 8 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

tests topic-SSL type-bug
主要语言
Python
星标
77.2k
派生
35.9k
PR 合并指标
PR 指标待抓取

描述

There are multiple issues on 3.10, 3.11 and 3.12 branches:

  • Windows fails to build on 3.10: PCbuild/find_python.bat downloads a corrupted nuget.exe. The nuget URL should be updated. Fix: commit 106eb532ea3b243423e62a702719e9d3c0e40c16 should be backported.
  • test_socket: UDP Lite tests fail on AMD64 Fedora Stable, the machine was rebooted 3 days ago to upgrade to Linux kernel from 7.0 and 7.1, but Linux 7.1 removes UDP Lite support. Fix: commit 3cfc249e11a132dc69624150843779aa96c72b2b should be backported.
  • test_ssl fails with NOT_ENOUGH_DATA on macOS. Fix commit acfe02f3b05436658d92add6b168538b30f357f0 should be backported.

For test_socket (UDP Lite), I prepared fixes:

The test_socket issue is not blocked the GitHub Action, only buildbots are failing.

I'm not sure in which order we should fix these issues.

Maybe we should start from test_ssl fixes:

The Windows and macOS issues block my test_socket PRs since the Windows and macOS jobs fail.

cc @hugovk @encukou

贡献指南

打开贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

调研方向

首先检查所引用的提交、现有的 test_socket pull request,以及针对 3.10–3.12 分支的 test_ssl pull request。检查 PCbuild/find_python.bat 和受影响的 test_socket、test_ssl 测试用例,然后确认 Windows、macOS 和 Fedora buildbot 的失败已在列出的所有分支中得到解决。

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

评估

技术栈
python
领域
build-system, operating-systems, testing-qa
Issue 类型
缺陷
难度
4/5
预计耗时
3-5 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
25/100

把新 issue 发到你的邮箱

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