Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add python 3.13 support #1132

Merged
merged 3 commits into from
Nov 18, 2024
Merged

Add python 3.13 support #1132

merged 3 commits into from
Nov 18, 2024

Conversation

Meallia
Copy link
Contributor

@Meallia Meallia commented Oct 30, 2024

The logging.Handler class changed in 3.13 and will now always try to acquire the lock in its handle method. (cf python/cpython#109462)

Removed the optimization that created the handler without a lock.

Also configure the CI to run on Python 3.13.

Signed-off-by: Jonathan GAYVALLET <jonathan.gayvallet@orange.com>
the logging.Handler class changed in 3.13 and will now always
try to acquire the lock in its `handle` method.

Removed the optimization that created the handler without a lock
when running python >= 3.13.

Also configure the CI to run on Python 3.13.

Signed-off-by: Jonathan GAYVALLET <jonathan.gayvallet@orange.com>
@nolar nolar enabled auto-merge November 18, 2024 19:34
@nolar nolar mentioned this pull request Nov 18, 2024
@nolar nolar merged commit 6b8ce27 into nolar:main Nov 18, 2024
30 checks passed
@nolar
Copy link
Owner

nolar commented Nov 18, 2024

Thank you for your contribution! Sorry for a delayed response from my side. The change is released as 1.37.3.

@Meallia Meallia deleted the py313-logging-lock branch November 18, 2024 20:13
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