Skip to content

Conversation

@Wauplin
Copy link
Contributor

@Wauplin Wauplin commented Oct 27, 2025

Add tests for Python 3.14 in CI.

Since Gradio does not run on Python 3.14 yet, I've moved the Gradio test (webhook server) to its own CI test on Python 3.13. The majority of the tests are now run in Python 3.9 and Python 3.14.


EDIT: we actually had a bug to fix in Python 3.14. Type annotations are not handled the same way at runtime so for strict typed dicts it's best to use annotationlib (a new standard lib' shipped in 3.14).

@Wauplin
Copy link
Contributor Author

Wauplin commented Oct 27, 2025

Doesn't work because of gradio (pydantic-core pinned) in testing pipeline. Let's drop it for now and reassess in a bit (not a hurry anyway)

@Wauplin Wauplin closed this Oct 27, 2025
@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@Wauplin Wauplin reopened this Oct 29, 2025
@Wauplin Wauplin requested a review from hanouticelina October 29, 2025 09:52
@Wauplin Wauplin marked this pull request as ready for review October 29, 2025 09:52
@Wauplin Wauplin changed the title Test Python π Add tests + official support for Python 3.14 Oct 29, 2025
@Wauplin Wauplin changed the title Add tests + official support for Python 3.14 Add CI + official support for Python 3.14 Oct 29, 2025
@Wauplin Wauplin marked this pull request as draft October 29, 2025 10:02
@Wauplin Wauplin marked this pull request as ready for review October 29, 2025 12:18
Copy link
Contributor

@hanouticelina hanouticelina left a comment

Choose a reason for hiding this comment

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

thanks!

@Wauplin Wauplin merged commit 2e4d1d5 into main Oct 30, 2025
38 of 39 checks passed
@Wauplin Wauplin deleted the test-on-314 branch October 30, 2025 15:09
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.

4 participants