intuit / intuit/oauth-pythonclient
DeprecationWarning for call to pkg_resources.declare_namespace() on import.
- Ngôn ngữ chính
- Python
- Star
- 86
- Fork
- 59
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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.
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Đánh giá
Issue này chưa được đánh giá.