Skip to content

CI: Implement Python Matrix & Drop Legacy Support#3398

Open
abstract-333 wants to merge 2 commits intoxtekky:mainfrom
abstract-333:feature-unittest-matrix
Open

CI: Implement Python Matrix & Drop Legacy Support#3398
abstract-333 wants to merge 2 commits intoxtekky:mainfrom
abstract-333:feature-unittest-matrix

Conversation

@abstract-333
Copy link
Copy Markdown

Summary

Modernized the Unittest workflow by replacing sequential testing with a parallelized matrix strategy. This significantly reduces CI wait times and ensures compatibility across the latest Python releases.

Key Improvements

  • Parallel Execution: Added a matrix for Python 3.10 through 3.14, allowing tests to run concurrently.
  • Dropped Legacy 3.8: Removed Python 3.8 support due to library incompatibilities.
  • Robustness: Added fail-fast: false to ensure a single version failure doesn't kill the entire test suite.

Verification:

  • Tested & Verified: The updated workflow has been manually triggered and successfully passed across all matrix versions, link.

@hlohaus
Copy link
Copy Markdown
Collaborator

hlohaus commented Mar 26, 2026

@abstract-333 Thank you for contributing to gpt4free! However, this isn't quite the test matrix I'm looking for. The ideal flow should first check the minimum requirements and then move on to the full requirements. This approach works very well for this project.

@abstract-333
Copy link
Copy Markdown
Author

@hlohaus
So, should we first test with the minimum requirements, then the full requirements, for every Python version?

@hlohaus
Copy link
Copy Markdown
Collaborator

hlohaus commented Apr 1, 2026

@abstract-333, you are able to verify the minimum requirements by exclusively considering the minimum Python version.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Apr 9, 2026

Bumping this pull request because it has been open for 7 days with no activity. Closing automatically in 7 days unless it becomes active again.

@github-actions github-actions bot added the stale label Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants