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

Aberta Para iniciantes
#399 1 comentário 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
2/5
Tempo estimado
1-3 horas
Facilidade para iniciantes
82/100
Tipo de issue
Bug
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
python
Domínio
backend, testing

Direção de pesquisa

Execute o teste de regressão existente em um runner Windows x64 com CPython 3.15 padrão após atualizar o PyInstaller para uma versão estável que contenha a correção. Comece com os três comandos do PowerShell na issue, incluindo pydrive2/__pyinstaller/test_hook-googleapiclient.py. A tarefa está concluída quando o executável congelado inicia e encontra o documento de descoberta do Drive v2 incluído no pacote.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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).

Linguagem predominante
Python
Estrelas
671
Forks
76
Merge médio
17h 55min
PRs com merge (30d)
46

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de iterative/PyDrive2

Todas as issues de iterative/PyDrive2

Issues semelhantes

Mais issues de Python

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.