Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

chore: disable python 3.9 coverage#2178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
DouweM merged 1 commit intopydantic:mainfromstevenh:chore/disable-py39-cov
Jul 10, 2025

Conversation

stevenh
Copy link
Contributor

@stevenhstevenh commentedJul 10, 2025
edited by DouweM
Loading

Disable python 3.9 coverage in CI as it can get the wrong line numbers resulting in unsolvable coverage errors, as it conflicts with 3.10+.

pep-0626 (3.10) introduced accurate line number tracking.

There's an example of 3.9 getting the wrong line number intests/test_direct.py which is now covered with a# pragma: no cover

This was discovered when developing the AG-UI feature, where multipleifelif blocks were flagged covered by 3.9 but not by other versions, which resulted in failure cycle of not covered and incorrectly marked as not covered.

Disable python 3.9 coverage in CI as it can get the wrong line numbersresulting in unsolvable coverage errors, as it conflicts with 3.10+.
@stevenhstevenhforce-pushed thechore/disable-py39-cov branch fromea7c21c to6e86db5CompareJuly 10, 2025 19:53
@DouweMDouweM self-assigned thisJul 10, 2025
@DouweMDouweM merged commit484022f intopydantic:mainJul 10, 2025
18 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees

@DouweMDouweM

Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@stevenh@DouweM

[8]ページ先頭

©2009-2025 Movatter.jp