Verify the PyInstaller fix for missing python3t.dll on Windows Python 3.15

未关闭 适合新手
#399 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

将PyInstaller升级到包含修复的稳定版本后,在使用标准CPython 3.15的Windows x64 runner上运行现有回归测试。从issue中的三个PowerShell命令开始,包括 pydrive2/__pyinstaller/test_hook-googleapiclient.py。冻结后的可执行文件能够启动并找到打包的Drive v2 discovery document,即为完成。

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

描述

maintenance priority-p2 tests

On Windows x64 with standard CPython 3.15.2, PyInstaller 6.22.3 builds the
sample app, but the executable exits on startup while importing
cryptography.hazmat.bindings._rust. PyInstaller reports that it cannot
resolve python3t.dll, which the cryptography 50.0.2 wheel uses.
The CI job on #395 captured both the build warning and the traceback.

PyInstaller has merged a fix that looks for the DLL in CPython's
abi3t-compat directory. Version 6.22.3 was the latest stable release
when this issue was opened. Upstream issue

Once a stable release includes the fix, remove the Windows 3.15 skip in
pydrive2/__pyinstaller/test_hook-googleapiclient.py and run the test on a
Windows x64 runner with standard Python 3.15:

python -m pip install -e '.[fsspec,tests]'
python -m pip install --upgrade pyinstaller
python -m pytest -q pydrive2/__pyinstaller/test_hook-googleapiclient.py

Close this issue when the frozen executable starts and finds the bundled
Drive v3 discovery document (drive.v3.json).

主要语言
Python
星标
671
派生
76
平均合并
17 小时 55 分钟
30 天内合并 PR
46

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

iterative/PyDrive2 的其他 Issue

查看 iterative/PyDrive2 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

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