PyBites-Open-Source / pybites-tools

A repo to commit common Python utility scripts and snippets
MIT License
18 stars 8 forks source link

add missing pytz dependency in pyproject.toml #24

Closed fischa closed 2 years ago

fischa commented 2 years ago

As the PyPi version is outdated in comparison to the code I tried installing from the Git repo directly which works. But pytz module is missing in pyproject.toml:

(tool-test) ➜  tool-test python -m pybites_tools.worldclock
Traceback (most recent call last):
  File "/Users/axel/.pyenv/versions/3.9.10/lib/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Users/axel/.pyenv/versions/3.9.10/lib/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/Users/axel/git/tool-test/.venv/lib/python3.9/site-packages/pybites_tools/worldclock.py", line 7, in <module>
    import pytz
ModuleNotFoundError: No module named 'pytz'

This PR fixes this issue.