Skip to content

Commit

Permalink
try fix `Python 3.12 + "AttributeError: module ‘pkgutil’ has no attri…
Browse files Browse the repository at this point in the history
…bute ‘ImpImporter’. Did you mean: ‘zipimporter’?"

Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
  • Loading branch information
jkowalleck committed Oct 5, 2023
1 parent ded2897 commit 23edace
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ jobs:
- # test with the lowest dependencies
python-version: '3.7'
toxenv-factor: 'lowest'
env:
VIRTUALENV_DOWNLOAD: ${{ matrix.python-version == '3.12' }}
steps:
- name: Checkout
# see https://github.com/actions/checkout
Expand Down Expand Up @@ -112,8 +114,6 @@ jobs:
name: Test (${{ matrix.os }} py${{ matrix.python-version }} ${{ matrix.toxenv-factor }})
runs-on: ${{ matrix.os }}
timeout-minutes: 10
env:
REPORTS_ARTIFACT: tests-reports
strategy:
fail-fast: false
matrix:
Expand All @@ -131,6 +131,9 @@ jobs:
os: 'ubuntu-latest'
python-version: '3.7'
toxenv-factor: 'lowest'
env:
REPORTS_ARTIFACT: tests-reports
VIRTUALENV_DOWNLOAD: ${{ matrix.python-version == '3.12' }}
steps:
- name: Checkout
# see https://github.com/actions/checkout
Expand Down

0 comments on commit 23edace

Please sign in to comment.