intuit / intuit/oauth-pythonclient

DeprecationWarning for call to pkg_resources.declare_namespace() on import.

Abierto
#37 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Python
Estrellas
86
Forks
59
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

setuptools 67.3.0 has deprecated `pkg_resources.declare_namespace()`: https://setuptools.pypa.io/en/latest/history.html#v67-3-0

This is being triggered by importing `intuit-oauth`:

```
DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('intuitlib')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)
```

To remain a namespace package, the `__init__.py` may be deleted. But I'm not sure the package needs to be a namespace package, and we may be able to use an empty `__init__.py` instead.

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.