Skip to content

Supported python version matrix for CI/CD#3420

Draft
GumpacG wants to merge 2 commits intoapache:masterfrom
GumpacG:gha-python
Draft

Supported python version matrix for CI/CD#3420
GumpacG wants to merge 2 commits intoapache:masterfrom
GumpacG:gha-python

Conversation

@GumpacG
Copy link
Copy Markdown
Contributor

@GumpacG GumpacG commented May 5, 2026

Summary

Run gremlin-python tests across all supported Python versions in parallel

Converts the single-version python job in build-test.yml into a fail-fast: false matrix covering Python 3.10-3.14, and
parameterizes gremlin-python/docker-compose.yml (image: python:${PYTHON_VERSION:-3.10}) so the matrix value actually reaches theinterpreter inside Docker. Default behavior for local mvn verify -pl gremlin-python is unchanged. Per-version JUnit reports areuploaded as artifacts.

Design

The python build-test for multiple versions are running in parallel and should take around the same time to complete (~25 min.) as before this change.
Screenshot 2026-05-05 at 9 30 23 AM

Follow up tasks

  • This is a CI/CD change only and should be backported to 3.8-dev and 3.7-dev. Python 3.9 should be added to the matrix for 3.7-dev.
  • Other GLVs should adopt this change as well for documented supported versions

TODO

There is an error from testing regarding asyncio.get_event_loop for Python 3.14 that is in progress.

Note

Assisted-by: Devin: Claude Opus 4.7

@codecov-commenter
Copy link
Copy Markdown

codecov-commenter commented May 5, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.31%. Comparing base (cfd6889) to head (b65fb04).
⚠️ Report is 1036 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3420      +/-   ##
============================================
- Coverage     77.87%   76.31%   -1.56%     
+ Complexity    13578    13377     -201     
============================================
  Files          1015     1011       -4     
  Lines         59308    60147     +839     
  Branches       6835     7046     +211     
============================================
- Hits          46184    45902     -282     
- Misses        10817    11535     +718     
- Partials       2307     2710     +403     

☔ 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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