Skip to content

[python] Add stub test to catch pyi drift in CI - #616

Merged
fresh-borzoni merged 2 commits into
apache:mainfrom
charlesdong1991:test-pyi-drift
Jun 10, 2026
Merged

[python] Add stub test to catch pyi drift in CI#616
fresh-borzoni merged 2 commits into
apache:mainfrom
charlesdong1991:test-pyi-drift

Conversation

@charlesdong1991

Copy link
Copy Markdown
Contributor

Follow-up to #610 (comment)

Add subtest in CI to avoid .pyi drifts

@charlesdong1991 charlesdong1991 changed the title stub test to catch pyi drift [python] Add stub test to catch pyi drift in CI Jun 10, 2026

stubtest:
# For stub tests, we only needs the module importable, so no
# test cluster is started and a single Python version should be sufficient.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

i think 1 version is enough for stub test, so no need to put to matrix to test across all versions... but no strong opinion

@charlesdong1991

Copy link
Copy Markdown
Contributor Author

cc @fresh-borzoni @leekeiabstraction let me know what you think? 🙏

@fresh-borzoni fresh-borzoni left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@charlesdong1991 Thank you for the PR, LGTM

@fresh-borzoni
fresh-borzoni merged commit 9cfeda7 into apache:main Jun 10, 2026
11 checks passed
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