← All tasks
pythontrinodb/trino-python-client #165Verified, not scored yet

ModuleNotFoundError: No module named 'pytz'

envgap__trinodb__trino-python-client-165

01 / FAILURE SIGNATURE

As reported upstream

ModuleNotFoundError: No module named 'pytz'
Not scored yet.
  • The failure reproduces in a clean container and the known fix makes the project run; it has not been scored yet.

02 / ENVIRONMENT RECIPE

Base commit
dd5e51ad645000541a0c46b8a6b0ec7e2e2d79ed
Manifest
setup.py
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

trinodb/trino-python-client #165 · read the original issue
For the version [0.311.0](https://github.com/trinodb/trino-python-client/compare/0.310.0...0.311.0), `pytz` was removed from dependencies but included only for tests with the PR https://github.com/trinodb/trino-python-client/pull/160. I am getting `ModuleNotFoundError: No module named 'pytz'` although I did not set `experimental_python_types=True` or anything. I am just importing `trino.dbapi.connect`:



```

>>> from trino.dbapi import connect



Traceback (most recent call last):

  File "<stdin>", line 1, in <module>

  File "/usr/local/lib/python3.9/site-packages/trino/__init__.py", line 13, in <module>

    from . import auth

  File "/usr/local/lib/python3.9/site-packages/trino/auth.py", line 25, in <module>

    from trino.client import exceptions

  File "/usr/local/lib/python3.9/site-packages/trino/client.py", line 44, in <module>

    import pytz

ModuleNotFoundError: No module named 'pytz'

```
Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]