aboutcode-org / aboutcode-org/python-inspector

Update test files to support Python 3.12

Abierto
#212 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
23
Forks
28
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

SafeConfigParser is a deprecated API since 3.2 and removed in Python 3.12
https://docs.python.org/3/whatsnew/3.11.html#standard-library

pkg:pypi/limits@1.6 uses an outdated versioneer version that does not support this updated API https://github.com/python-versioneer/python-versioneer therefore some tests fail like `test_cli_with_insecure_option_testpkh` - this is more or less based on https://github.com/inveniosoftware/requirements-builder/blob/ec2e84b974290aaefa71b5ce19d0c343d29efffa/setup.py and support Python 2.7 build.

I suggest that we eventually update this test and drop support for Python 2.7 after making a release that will be the last to support Python 2.7.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.