Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-3185

Pre-Commit Needs an Upgrade

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Unknown
    • Resolution: Fixed
    • None
    • 4.1
    • None
    • None

    Description

      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)
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: