Skip to content
New issue

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

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

Already on GitHub? # to your account

[Bug]: Cookiecutter black version out of date #1223

Closed
visch opened this issue Nov 28, 2022 · 0 comments · Fixed by #1305
Closed

[Bug]: Cookiecutter black version out of date #1223

visch opened this issue Nov 28, 2022 · 0 comments · Fixed by #1305
Labels
kind/Bug Something isn't working valuestream/SDK

Comments

@visch
Copy link
Contributor

visch commented Nov 28, 2022

Singer SDK Version

0.14.0

Python Version

3.8

Bug scope

Taps (catalog, state, stream maps, etc.)

Operating System

Ubuntu

Description

https://github.com/meltano/sdk/blob/main/cookiecutter/tap-template/%7B%7Bcookiecutter.tap_id%7D%7D/pyproject.toml#L22

Needs to use a newer version of Black, latest version 22.10.0 works

Bump to #993 :D

visch@visch-ubuntu:~/git/tap-messagebird$ poetry run black tap_messagebird/
Traceback (most recent call last):
  File "/home/visch/git/tap-messagebird/.venv/bin/black", line 8, in <module>
    sys.exit(patched_main())
  File "/home/visch/git/tap-messagebird/.venv/lib/python3.9/site-packages/black/__init__.py", line 1372, in patched_main
    patch_click()
  File "/home/visch/git/tap-messagebird/.venv/lib/python3.9/site-packages/black/__init__.py", line 1358, in patch_click
    from click import _unicodefun
ImportError: cannot import name '_unicodefun' from 'click' (/home/visch/git/tap-messagebird/.venv/lib/python3.9/site-packages/click/__init__.py)

Code

No response

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/Bug Something isn't working valuestream/SDK
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant