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

Update base image to use Python 3.13 #338

Merged
merged 2 commits into from
Nov 13, 2024
Merged

Conversation

cdce8p
Copy link
Member

@cdce8p cdce8p commented Nov 12, 2024

No description provided.

Comment on lines +1 to +22
--- a/src/libcec/SwigHelper.h
+++ b/src/libcec/SwigHelper.h
@@ -119,7 +119,7 @@ namespace CEC
if (!!m_callbacks[callback])
{
/** call the callback */
- result = PyEval_CallObject(m_callbacks[callback], arglist);
+ result = PyObject_CallObject(m_callbacks[callback], arglist);

/** unref the argument and result */
if (!!arglist)
--- a/src/libcec/libcec.i
+++ b/src/libcec/libcec.i
@@ -141,7 +141,7 @@ namespace std {
if (!!lib)
{
lib->InitVideoStandalone();
- PyEval_InitThreads();
+ // PyEval_InitThreads();
}
return lib;
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Member

@frenck frenck left a comment

Choose a reason for hiding this comment

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

Thanks, @cdce8p 👍

🎉

../Frenck

@frenck frenck merged commit 4db773a into home-assistant:master Nov 13, 2024
9 checks passed
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.

2 participants