<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/meta-security.git/dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify, branch wrynose-next</title>
<subtitle>Mirror of git.yoctoproject.org/meta-security.git</subtitle>
<id>https://git.enea.com/cgit/linux/meta-security.git/atom?h=wrynose-next</id>
<link rel='self' href='https://git.enea.com/cgit/linux/meta-security.git/atom?h=wrynose-next'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/'/>
<updated>2024-03-27T16:36:58+00:00</updated>
<entry>
<title>python3-pyinotify: Make asyncore support optional for Python 3</title>
<updated>2024-03-27T16:36:58+00:00</updated>
<author>
<name>Mingli Yu</name>
<email>mingli.yu@windriver.com</email>
</author>
<published>2024-03-18T06:40:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/meta-security.git/commit/?id=283a773f24cedacb45def943a455bc3607f8a7a1'/>
<id>urn:sha1:283a773f24cedacb45def943a455bc3607f8a7a1</id>
<content type='text'>
Simple fix for Python 3.12 since it dropped asyncore. Catches the import
error instead of using a version check so that the user can install the
compatibility package for any uses that can't be upgraded to asyncio or
similar immediately.

Fixes:
 # python3
 Python 3.12.1 (main, Dec 7 2023, 20:45:44) [GCC 13.2.0] on linux
 Type "help", "copyright", "credits" or "license" for more information.
 &gt;&gt;&gt; import pyinotify
 Traceback (most recent call last):
 File "&lt;stdin&gt;", line 1, in &lt;module&gt;
 File "/usr/lib64/python3.12/site-packages/pyinotify.py", line 71, in &lt;module&gt;
 import asyncore
 ModuleNotFoundError: No module named 'asyncore'
 &gt;&gt;&gt;

Signed-off-by: Mingli Yu &lt;mingli.yu@windriver.com&gt;
Signed-off-by: Armin Kuster &lt;akuster808@gmail.com&gt;
</content>
</entry>
</feed>
