-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
transifex-python is dependent on six, but it's undisclosed in setup.py declaration. Recently another transifex-python dependency, asttokens dropped six dependency. In effect after installing transifex-python, we end up with ModuleNotFoundError in the line of six package import.
Traceback (most recent call last):
File "/home/runner/work/python-docs-pl/python-docs-pl/./manage_translation.py", line 28, in <module>
from transifex.api import transifex_api
File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/transifex/api/__init__.py", line 6, in <module>
from .jsonapi import JsonApi
File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/transifex/api/jsonapi/__init__.py", line 1, in <module>
from .apis import JsonApi # noqa
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/hostedtoolcache/Python/3.12.7/x64/lib/python3.12/site-packages/transifex/api/jsonapi/apis.py", line 6, in <module>
import six
ModuleNotFoundError: No module named 'six'Possible solutions:
- drop usage of six in transifex-python
- declare the six dependency verbosely in setup.py
3nids, adam-p, rffontenelle and jamessam3nids
Metadata
Metadata
Assignees
Labels
No labels