Uploaded image for project: 'Python Integrations'
  1. Python Integrations
  2. INTPYTHON-80

Pre-Commit Needs an Upgrade

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None

      https://github.com/psf/black/issues/2964

      https://github.com/blink1073/motor/runs/5742510321?check_suite_focus=true

      Traceback (most recent call last):
        File "/home/runner/.cache/pre-commit/repom3mz62d4/py_env-python3.10/bin/black", line 8, in <module>
          sys.exit(patched_main())
        File "/home/runner/.cache/pre-commit/repom3mz62d4/py_env-python3.10/lib/python3.10/site-packages/black/__init__.py", line 1423, in patched_main
          patch_click()
        File "/home/runner/.cache/pre-commit/repom3mz62d4/py_env-python3.10/lib/python3.10/site-packages/black/__init__.py", line 1409, in patch_click
          from click import _unicodefun
      ImportError: cannot import name '_unicodefun' from 'click' (/home/runner/.cache/pre-commit/repom3mz62d4/py_env-python3.10/lib/python3.10/site-packages/click/__init__.py)
      

            Assignee:
            steve.silvester@mongodb.com Steve Silvester
            Reporter:
            steve.silvester@mongodb.com Steve Silvester
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: