Skip to content

Commit 6c82f2a

Browse files
🐳 chore: try to fix github action failure
ImportError: cannot import name 'Sequence' from 'collections' (/opt/hostedtoolcache/Python/3.11.5/x64/lib/python3.11/collections/__init__.py) this is caused by mkdocs on py3.10
1 parent 7c8c719 commit 6c82f2a

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

.github/workflows/dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ jobs:
6969
- uses: actions/checkout@v4
7070
- uses: actions/setup-python@v4
7171
with:
72-
python-version: '3.11'
72+
python-version: '3.9'
7373

7474
- name: Install dependencies
7575
run: |

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
strategy:
2222
matrix:
23-
python-versions: ['3.11']
23+
python-versions: ['3.9']
2424

2525
# map step outputs to job outputs so they can be share among jobs
2626
outputs:
@@ -61,7 +61,7 @@ jobs:
6161

6262
- name: publish documentation
6363
run: |
64-
poetry install -E dev
64+
poetry install -E doc
6565
poetry run mkdocs build
6666
git config --global user.name Docs deploy
6767
git config --global user.email [email protected]

{{cookiecutter.project_slug}}/.github/workflows/dev.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ jobs:
8383
- uses: actions/checkout@v4
8484
- uses: actions/setup-python@v4
8585
with:
86-
python-version: '3.11'
86+
python-version: '3.9'
8787

8888
- name: Install dependencies
8989
run: |

{{cookiecutter.project_slug}}/.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020

2121
strategy:
2222
matrix:
23-
python-versions: ['3.11']
23+
python-versions: ['3.9']
2424

2525
# map step outputs to job outputs so they can be share among jobs
2626
outputs:

0 commit comments

Comments
 (0)