Skip to content

black 22.1.0 failed, it requires click 8.1.0 #11493

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

Closed
grubberr opened this issue Mar 29, 2022 · 0 comments · Fixed by #11494
Closed

black 22.1.0 failed, it requires click 8.1.0 #11493

grubberr opened this issue Mar 29, 2022 · 0 comments · Fixed by #11494
Assignees
Labels
type/bug Something isn't working

Comments

@grubberr
Copy link
Contributor

grubberr commented Mar 29, 2022

Environment

  • Airbyte version: example is 0.22.0-alpha
  • OS Version / Instance: example macOS, Windows 7/10, Ubuntu 18.04, GCP n2. , AWS EC2
  • Deployment: example are Docker or Kubernetes deploy env
  • Source Connector and version: (if applicable example Salesforce 0.2.3)
  • Destination Connector and version: (if applicable example Postgres 0.3.3)
  • Severity: Very Low / Low / Medium / High / Critical
  • Step where error happened: Deploy / Sync job / Setup new connection / Update connector / Upgrade Airbyte

Current Behavior

./gradlew :airbyte-integrations:connectors:source-amazon-ads:blackFormat

> Task :airbyte-integrations:connectors:source-amazon-ads:blackFormat FAILED
[python] .venv/bin/python -m black --config /home/user/airbyte/pyproject.toml ./
         Traceback (most recent call last):
           File "/home/user/.pyenv/versions/3.7.9/lib/python3.7/runpy.py", line 193, in _run_module_as_main
             "__main__", mod_spec)
           File "/home/user/.pyenv/versions/3.7.9/lib/python3.7/runpy.py", line 85, in _run_code
             exec(code, run_globals)
           File "/home/user/airbyte/airbyte-integrations/connectors/source-amazon-ads/.venv/lib/python3.7/site-packages/black/__main__.py", line 3, in <module>
             patched_main()
           File "src/black/__init__.py", line 1423, in patched_main
           File "src/black/__init__.py", line 1409, in patch_click
         ImportError: cannot import name '_unicodefun' from 'click' (/home/user/airbyte/airbyte-integrations/connectors/source-amazon-ads/.venv/lib/python3.7/site-packages/click/__init__.py)

Expected Behavior

Tell us what should happen.

Logs

If applicable, please upload the logs from the failing operation.
For sync jobs, you can download the full logs from the UI by going to the sync attempt page and
clicking the download logs button at the top right of the logs display window.

LOG

replace this with
your long log
output here

Steps to Reproduce

Are you willing to submit a PR?

Remove this with your answer.

@grubberr grubberr added type/bug Something isn't working needs-triage labels Mar 29, 2022
@grubberr grubberr self-assigned this Mar 29, 2022
@grubberr grubberr moved this to Implementation in progress in GL Roadmap Mar 29, 2022
@grubberr grubberr linked a pull request Mar 29, 2022 that will close this issue
@grubberr grubberr moved this from Implementation in progress to Done in GL Roadmap Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Something isn't working
Projects
No open projects
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant