Closed wyfo closed 2 weeks ago
For anyone else landing here, while this gets fixed, you can pin the version of the runner image on your action to 22.04.
jobs:
black:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: isort/isort-action@v1
Github recently updated its ubuntu-latest worker to 24.04, which uses Python 3.12, while 22.04 was using 3.10. On this new ubuntu-latest worker, isort-action fails with the following error:
Many resources on the internet mention this error as being a consequence of upgrade to Python 3.12