Skip to content

fix: use available Python 3.10.20 in docs CI workflow#316

Merged
JohnGriffiths merged 2 commits intomainfrom
copilot/update-python-version-3-10-20
Mar 16, 2026
Merged

fix: use available Python 3.10.20 in docs CI workflow#316
JohnGriffiths merged 2 commits intomainfrom
copilot/update-python-version-3-10-20

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 16, 2026

CI was failing because actions/setup-python was requesting Python 3.10.18, which is no longer available on GitHub-hosted runners (only 3.10.20 is available).

Change

  • .github/workflows/docs.yml: bump python-version from 3.10.183.10.20
Original prompt

The CI job fails because it requests Python version 3.10.18 (x64), which is unavailable. Only 3.10.20 (x64) is available. Update the workflow file (.github/workflows/docs.yml) to set 'python-version: 3.10.20' instead of 3.10.18 in all relevant steps using actions/setup-python. This should fix the workflow failure.

The following is the prior conversation context from the user's chat exploration (may be truncated):

User: Please find a solution for failing job 67287579334. Use the logs, job definition, and any referenced files where the failure occurred. Keep your response focused on the solution and include code suggestions when appropriate.

Assistant: The job failed because Python version 3.10.18 (x64) was not found. The available version is 3.10.20 (x64).

Solution:
Update your workflow file (.github/workflows/docs.yml) to use python-version: 3.10.20 instead of 3.10.18. For example:

- uses: actions/setup-python@v4
  with:
    python-version: '3.10.20'

This change will resolve the failure.

User: make a PR implementing this fix

Assistant: A pull request will be created to update the workflow to use python-version 3.10.20 and resolve the CI failure.

This pull request was created from Copilot chat.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: JohnGriffiths <397826+JohnGriffiths@users.noreply.github.com>
Copilot AI changed the title [WIP] Update Python version in workflow to 3.10.20 fix: use available Python 3.10.20 in docs CI workflow Mar 16, 2026
Copilot AI requested a review from JohnGriffiths March 16, 2026 19:23
@JohnGriffiths JohnGriffiths marked this pull request as ready for review March 16, 2026 19:41
@JohnGriffiths JohnGriffiths merged commit bd43880 into main Mar 16, 2026
1 check passed
@github-actions
Copy link
Copy Markdown

📖 Documentation preview for this PR is available at:
https://griffithslab.github.io/whobpyt/pr-316/

This preview will be updated as you push new commits to this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants