Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • F ffmpeg-python
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 402
    • Issues 402
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 34
    • Merge requests 34
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Karl Kroening
  • ffmpeg-python
  • Merge requests
  • !680

Fix Black in GHA for Python 2.7

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Karl Kroening requested to merge KK/black-py27 into master Jul 11, 2022
  • Overview 1
  • Commits 1
  • Pipelines 0
  • Changes 1

CI has started failing due to the following error when attempting to run Black:

ImportError: cannot import name '_unicodefun' from 'click' (/home/runner/work/_actions/psf/black/21.12b0/.black-env/lib/python3.8/site-packages/click/__init__.py)

The issue is described in Stack Overflow #71673404. But it's only problematic because of being tied to an older version of Black to support ancient Python 2.7 syntax.

We really need to kill off Python 2.7 support; but that's for a separate PR. This just stabilizes things for the time being.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: KK/black-py27