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

Abierto Apto para principiantes
#399 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
82/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python
Área
backend, testing

Línea de trabajo

Ejecuta la prueba de regresión existente en un runner Windows x64 con CPython 3.15 estándar después de actualizar PyInstaller a una versión estable que incluya la corrección. Empieza con los tres comandos de PowerShell del issue, incluido pydrive2/__pyinstaller/test_hook-googleapiclient.py. La tarea está terminada cuando el ejecutable congelado se inicia y encuentra el documento de descubrimiento de Drive v2 incluido en el paquete.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Python
Estrellas
671
Forks
76
Merge medio
17 h 55 min
PR fusionados (30 d)
46

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de iterative/PyDrive2

Todos los issues de iterative/PyDrive2

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.