Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Current version of singer fails due to missing pytz dependency #39

Open
Limess opened this issue Feb 10, 2022 · 1 comment
Open

Current version of singer fails due to missing pytz dependency #39

Limess opened this issue Feb 10, 2022 · 1 comment

Comments

@Limess
Copy link

Limess commented Feb 10, 2022

This can be fixed by using the latest singer version and also bumping backoff to an acceptable version

[2022-02-10, 12:08:44 GMT] {{subprocess.py:74}} INFO - Running command: ['bash', '-c', '/virtualenvs/tap-redshift/bin/tap-redshift --config /tmp/***tmp_singer_tap-redshift_config_4yf3rekf.json --discover > /tmp/***tmp_singer_tap-redshift_catalog__ufmzsfk.json']
[2022-02-10, 12:08:44 GMT] {{subprocess.py:85}} INFO - Output:
[2022-02-10, 12:08:44 GMT] {{subprocess.py:89}} INFO - Traceback (most recent call last):
[2022-02-10, 12:08:44 GMT] {{subprocess.py:89}} INFO -   File "/virtualenvs/tap-redshift/bin/tap-redshift", line 5, in <module>
[2022-02-10, 12:08:44 GMT] {{subprocess.py:89}} INFO -     from tap_redshift import main
[2022-02-10, 12:08:44 GMT] {{subprocess.py:89}} INFO -   File "/virtualenvs/tap-redshift/lib/python3.9/site-packages/tap_redshift/__init__.py", line 30, in <module>
[2022-02-10, 12:08:44 GMT] {{subprocess.py:89}} INFO -     import singer
[2022-02-10, 12:08:44 GMT] {{subprocess.py:89}} INFO -   File "/virtualenvs/tap-redshift/lib/python3.9/site-packages/singer/__init__.py", line 1, in <module>
[2022-02-10, 12:08:44 GMT] {{subprocess.py:89}} INFO -     from singer import utils
[2022-02-10, 12:08:44 GMT] {{subprocess.py:89}} INFO -   File "/virtualenvs/tap-redshift/lib/python3.9/site-packages/singer/utils.py", line 8, in <module>
[2022-02-10, 12:08:44 GMT] {{subprocess.py:89}} INFO -     import pytz
[2022-02-10, 12:08:44 GMT] {{subprocess.py:89}} INFO - ModuleNotFoundError: No module named 'pytz'
[2022-02-10, 12:08:44 GMT] {{subprocess.py:93}} INFO - Command exited with return code 1
[2022-02-10, 12:08:44 GMT] {{taskinstance.py:1700}} ERROR - Task failed with exception
@Limess
Copy link
Author

Limess commented Feb 10, 2022

For reference, we got this tap working by updating all dependencies, and merging existing PRs on our fork: https://github.com/signal-ai/tap-redshift

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant