Closed sarahboyce closed 3 months ago
Thanks for the report! I'll ask the team to fix that up.
Bump for this issue. Just add setuptools to install_requires
on this line:
Or alternatively use the importlib.resources
module if the pkg_resources
module does not exist. pkg_resources
is deprecated in newer versions of Python.
If it will makes things faster, I can provide a PR that fixes this issue. Just LMK
@rianhunter Thanks! We welcome PRs, but I can't promise a timeline for when the team would be able to review/test/release it.
v12.0.0 no longer packages a resource file, so it no longer needs pkg_resources
at runtime. Can you give that a try?
Tried it with Python trunk:
$ env/bin/python
Python 3.14.0a0 (heads/main:fbe6a0988f, May 14 2024, 15:17:09) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dropbox
>>> dropbox.__version__
'12.0.0'
>>>
Imports just fine now. Feel free to close.
Describe the bug This package cannot be used on Python 3.12. Traceback:
This appears to be caused by the following deprecation:
Ref: Python 3.12 release notes: https://docs.python.org/3/whatsnew/3.12.html
I hope that's enough context 👍