Skip to content

Conversation

@mwiebe
Copy link
Contributor

@mwiebe mwiebe commented Oct 27, 2025

What was the problem/requirement? (What/Why)

When running in Python 3.14, importing pydantic.v1 produces a warning message. The code was porting it specifically for a Python 3.9 compatibility issue.

What was the solution? (How)

This change is to only do that import in Python 3.9 and for 3.10+ only use the newer pydantic.

What is the impact of this change?

Remove the warning message when using Python 3.14.

How was this change tested?

Added Python versions 3.13 and 3.14 to the github action test matrix

Was this change documented?

No

Is this a breaking change?

No

Does this change impact security?

No


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

When running in Python 3.14, importing pydantic.v1 produces a warning
message. The code was porting it specifically for a Python 3.9
compatibility issue, so this change is to only do that import in Python
3.9 and for 3.10+ only use the newer pydantic.

Added Python versions 3.13 and 3.14 to the github action test matrix

Signed-off-by: Mark <[email protected]>
@mwiebe mwiebe requested a review from a team as a code owner October 27, 2025 19:13
@sonarqubecloud
Copy link

@mwiebe mwiebe enabled auto-merge (rebase) October 27, 2025 19:16
@mwiebe mwiebe merged commit 3e9086e into OpenJobDescription:mainline Oct 27, 2025
26 checks passed
@mwiebe mwiebe deleted the py314-compat branch October 27, 2025 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants