Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 26, 2026

GitHub Actions no longer provides Python 3.9 (Version 3.9 with arch x64 not found). The workflow was failing on all builds.

Changes

  • Removed Python 3.9 from test matrix in .github/workflows/build-test.yaml
  • Added Python 3.14 to test matrix
  • Quoted all Python versions consistently to avoid YAML parsing edge cases
  • Matrix now runs: ['3.10', '3.11', '3.12', '3.13', '3.14'] × [pyspark 3, 4]

Project already requires python = ">3.9.1,<4.0.0" in pyproject.toml, so no dependency conflicts.

Original prompt

The GitHub Actions job in the 'sparkdantic' repository, specifically the 'Run Tests' workflow defined in .github/workflows/build-test.yaml, is failing due to an error related to the Python version. The error message from the failed job indicates: 'Version 3.9 with arch x64 not found. Available versions: 3.10.19 (x64)'. To resolve this issue, update the .github/workflows/build-test.yaml file to use a valid Python version, such as 3.10.19, instead of 3.9.

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.

Copilot AI changed the title [WIP] Update Python version in build-test workflow Remove Python 3.9 from CI matrix - no longer available in GitHub Actions Jan 26, 2026
Copilot AI requested a review from mitchelllisle January 26, 2026 21:25
Copy link
Owner

@mitchelllisle mitchelllisle left a comment

Choose a reason for hiding this comment

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

Add 3.14 if it's available

Co-authored-by: mitchelllisle <[email protected]>
Copy link
Contributor Author

Copilot AI commented Jan 26, 2026

Add 3.14 if it's available

Added Python 3.14 to the test matrix in commit 89fe864. The workflow will now test against Python versions 3.10, 3.11, 3.12, 3.13, and 3.14.

Copilot AI changed the title Remove Python 3.9 from CI matrix - no longer available in GitHub Actions Update Python versions in CI matrix - remove 3.9, add 3.14 Jan 26, 2026
Copilot AI requested a review from mitchelllisle January 26, 2026 21:31
@codecov
Copy link

codecov bot commented Jan 26, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.53%. Comparing base (4077686) to head (89fe864).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #853      +/-   ##
==========================================
- Coverage   97.54%   97.53%   -0.02%     
==========================================
  Files           4        4              
  Lines         244      243       -1     
==========================================
- Hits          238      237       -1     
  Misses          6        6              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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