Skip to content

Commit 7327f10

Browse files
committed
chore(ci): test on Python 3.12
Update pipenv to the same version as GGShield to fix that error: ``` Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.12.1/x64/bin/pipenv", line 5, in <module> from pipenv import cli File "/opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pipenv/__init__.py", line 58, in <module> from .cli import cli File "/opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pipenv/cli/__init__.py", line 1, in <module> from .command import cli # noqa ^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pipenv/cli/command.py", line 7, in <module> from pipenv.cli.options import ( File "/opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pipenv/cli/options.py", line 3, in <module> from pipenv.project import Project File "/opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pipenv/project.py", line 20, in <module> from pipenv.environment import Environment File "/opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pipenv/environment.py", line 19, in <module> from pipenv.patched.pip._vendor import pkg_resources File "/opt/hostedtoolcache/Python/3.12.1/x64/lib/python3.12/site-packages/pipenv/patched/pip/_vendor/pkg_resources/__init__.py", line 2164, in <module> register_finder(pkgutil.ImpImporter, find_on_path) ^^^^^^^^^^^^^^^^^^^ AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'? ```
1 parent b501175 commit 7327f10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/test-lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
- name: Install dependencies
2828
run: |
2929
python -m pip install --upgrade pip
30-
python -m pip install --upgrade pipenv==2022.10.4 pre-commit
30+
python -m pip install --upgrade pipenv==2023.10.3 pre-commit
3131
pipenv install --dev --skip-lock
3232
3333
- uses: actions/cache@v3
@@ -59,7 +59,7 @@ jobs:
5959
fail-fast: false
6060
matrix:
6161
os: [ubuntu-latest, macos-latest, windows-latest]
62-
python-version: ['3.8', '3.9', '3.10', '3.11']
62+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12']
6363
steps:
6464
- uses: actions/checkout@v4
6565

@@ -71,7 +71,7 @@ jobs:
7171
- name: Install dependencies
7272
run: |
7373
python -m pip install --upgrade pip
74-
python -m pip install --upgrade pipenv==2022.10.4
74+
python -m pip install --upgrade pipenv==2023.10.3
7575
pipenv install --system --dev --skip-lock
7676
7777
- name: Test with pytest

0 commit comments

Comments
 (0)