Skip to content

Commit

Permalink
🐳 chore: try to fix github action failure
Browse files Browse the repository at this point in the history
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
  • Loading branch information
aaron-yang-biz committed Sep 9, 2023
1 parent 7c8c719 commit 6c82f2a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.9'

- name: Install dependencies
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

strategy:
matrix:
python-versions: ['3.11']
python-versions: ['3.9']

# map step outputs to job outputs so they can be share among jobs
outputs:
Expand Down Expand Up @@ -61,7 +61,7 @@ jobs:

- name: publish documentation
run: |
poetry install -E dev
poetry install -E doc
poetry run mkdocs build
git config --global user.name Docs deploy
git config --global user.email [email protected]
Expand Down
2 changes: 1 addition & 1 deletion {{cookiecutter.project_slug}}/.github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v4
with:
python-version: '3.11'
python-version: '3.9'

- name: Install dependencies
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:

strategy:
matrix:
python-versions: ['3.11']
python-versions: ['3.9']

# map step outputs to job outputs so they can be share among jobs
outputs:
Expand Down

0 comments on commit 6c82f2a

Please sign in to comment.