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 摘要。