intuit / intuit/oauth-pythonclient

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

オープン
#37 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
86
フォーク
59
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。