Skip to content

Conversation

@xrmx
Copy link
Member

@xrmx xrmx commented Jan 15, 2026

What does this pull request do?

Start running tests with Python 3.14, while at it fix some removal and deprecation warnings.

Related issues

Fixes #2530

@github-actions
Copy link

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@xrmx xrmx changed the title Py314 support Run tests in Python 3.14 in full matrix Jan 15, 2026
@github-actions
Copy link

🔍 Preview links for changed docs

xrmx added 4 commits January 15, 2026 14:36
pkgutil.get_loader has been removed in 3.14
Since it has been deprecated
In 3.14 after https://peps.python.org/pep-0765/ the pattern of using
return in a finally block is considered harmful.
I guess the intent here is to just swallow any exception raised in the
try block and always return the response.
Copy link
Member Author

@xrmx xrmx left a comment

Choose a reason for hiding this comment

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

/test matrix

Copy link
Member Author

@xrmx xrmx left a comment

Choose a reason for hiding this comment

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

/test matrix

@xrmx xrmx marked this pull request as ready for review January 16, 2026 08:10
@xrmx xrmx requested a review from a team as a code owner January 16, 2026 08:10
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.

Python 3.14 SyntaxWarnings: 'return' in a 'finally' block

2 participants