Skip to content

Update Python version to 3.7.18 in workflow#69

Closed
elenagonzalez870 wants to merge 6 commits into
masterfrom
elenagonzalez870-patch-1
Closed

Update Python version to 3.7.18 in workflow#69
elenagonzalez870 wants to merge 6 commits into
masterfrom
elenagonzalez870-patch-1

Conversation

@elenagonzalez870

Copy link
Copy Markdown
Contributor

Testing to see if this will allow the Unit Tests to start

Testing to see if this will allow the Unit Tests to start
Copilot AI review requested due to automatic review settings February 23, 2026 18:21

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request attempts to fix unit test issues by updating the Python version specification in the GitHub Actions workflow from 3.7 to 3.7.18. The change modifies the matrix strategy to use a specific patch version rather than just the major.minor version.

Changes:

  • Updated Python version in the python-package.yml workflow from 3.7 to 3.7.18

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread .github/workflows/python-package.yml Outdated
fail-fast: false
matrix:
python-version: [3.7]
python-version: [3.7.18]

Copilot AI Feb 23, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The GitHub Actions setup-python action expects a major.minor version (e.g., "3.7") rather than a full version with patch level (e.g., "3.7.18"). The action will automatically select the latest available patch version for the specified major.minor version. Using "3.7.18" may cause the workflow to fail if this exact patch version is not available in the GitHub Actions runner environment. Change this back to "3.7" to allow the action to select an appropriate patch version automatically.

Suggested change
python-version: [3.7.18]
python-version: [3.7]

Copilot uses AI. Check for mistakes.
Comment thread .github/workflows/python-package.yml Outdated
fail-fast: false
matrix:
python-version: [3.7]
python-version: [3.7.18]

Copilot AI Feb 23, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Python version specification in this workflow file is now inconsistent with the deploy-github-pages.yml workflow, which uses "3.7". For consistency and to avoid potential environment differences between workflows, consider keeping the version specification aligned across all workflow files.

Suggested change
python-version: [3.7.18]
python-version: [3.7]

Copilot uses AI. Check for mistakes.
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