Skip to content

Commit

Permalink
chore(workflow): Downgrade the python version in the pdoc action
Browse files Browse the repository at this point in the history
There is a known issue with pdoc3 that prevents it from functioning correctly with Python 3.12. When attempting to execute the command `pdoc module`, the following error occurs: `ModuleNotFoundError: No module named 'distutils'`. As a workaround, temporarily downgrading the python version within the action to `3.11` should allow it to complete successfully.
  • Loading branch information
ERosendo committed Feb 13, 2024
1 parent bdab4df commit 43812ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/pdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.11"

- name: Install Poetry
uses: snok/[email protected]
Expand Down

0 comments on commit 43812ad

Please sign in to comment.