Skip to content

ci: pin Pytest matrix runner to ubuntu-24.04 - #1261

Merged
devin-ai-integration[bot] merged 1 commit into
mainfrom
devin/1793728837-pin-pytest-runner
Nov 3, 2026
Merged

devin-ai-integration[bot] merged 1 commit into
mainfrom
devin/1793728837-pin-pytest-runner

Conversation

@devin-ai-integration

Copy link
Copy Markdown
Contributor

Summary

The Pytest (All, Python <ver>, Ubuntu) matrix has been failing on main since ubuntu-latest moved to ubuntu-26.04. Each version has about 210 failures, and Pytest (All, Python 3.10, Ubuntu) is a required check, so this blocks every PR.

  • fd9e6c22 (Oct 30) ran on ubuntu-24.04, and the 3.10 job passed.
  • d2b0ae5e (Nov 3, current main HEAD) ran on ubuntu-26.04, and the 3.10 job failed (210 failed, 6077 passed).
  • On 26.04, the tracebacks in the "Python 3.10" job point into /usr/lib/python3.14/asyncio/events.py (RuntimeError: There is no current event loop). So the tests are running under the system Python 3.14 rather than the matrix version. I haven't pinned down the exact mechanism; the venv is still named ...-py3.10.
-    runs-on: "${{ matrix.os }}-latest"
+    runs-on: "${{ matrix.os }}-24.04"

The matrix job names are unchanged, so the required-check contexts still match.

Follow-up

  • Find the actual interpreter-selection issue on 26.04, for example by having Poetry use the setup-python interpreter explicitly. Then remove this pin.

Requested by Oleksandr Bazarnov (Baz (@bazarnov)) in Slack, to unblock #1260.

Link to Devin session: https://app.devin.ai/sessions/983c13c1277044d599fbf2aa459e2982
Open in Devin Desktop: https://app.devin.ai/desktop/session/983c13c1277044d599fbf2aa459e2982?variant=devin

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@devin-ai-integration
devin-ai-integration Bot requested a review from a team as a code owner November 3, 2026 18:01
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".

  • Disable automatic comment, CI, and merge conflict monitoring

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

👋 Greetings, Airbyte Team Member!

Here are some helpful tips and reminders for your convenience.

💡 Show Tips and Tricks

Testing This CDK Version

You can test this version of the CDK using the following:

# Run the CLI from this branch:
uvx 'git+https://github.com/airbytehq/airbyte-python-cdk.git@devin/1793728837-pin-pytest-runner#egg=airbyte-python-cdk[dev]' --help

# Update a connector to use the CDK from this branch ref:
cd airbyte-integrations/connectors/source-example
poe use-cdk-branch devin/1793728837-pin-pytest-runner

PR Slash Commands

Airbyte Maintainers can execute the following slash commands on your PR:

  • /autofix - Fixes most formatting and linting issues
  • /poetry-lock - Updates poetry.lock file
  • /test - Runs connector tests with the updated CDK
  • /prerelease - Triggers a prerelease publish with default arguments
  • /poe build - Regenerate git-committed build artifacts, such as the pydantic models which are generated from the manifest JSON schema in YAML.
  • /poe <command> - Runs any poe command in the CDK environment
📚 Show Repo Guidance

Helpful Resources

📝 Edit this welcome message.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown

PyTest Results (Fast)

6 306 tests  ±0   6 284 ✅ ±0   6m 52s ⏱️ +6s
    1 suites ±0      22 💤 ±0 
    1 files   ±0       0 ❌ ±0 

Results for commit 4988810. ± Comparison against base commit d2b0ae5.

@devin-ai-integration
devin-ai-integration Bot merged commit 664e4dc into main Nov 3, 2026
24 checks passed
@devin-ai-integration
devin-ai-integration Bot deleted the devin/1793728837-pin-pytest-runner branch November 3, 2026 18:10
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