Skip to contentSkip to conversation

python3-pyinotify: do not rely on smtpd module

PATCH In review Armin Kuster 2 participants 3 messages Jan 23, 2024 – Mar 18, 2024 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 python3-pyinotify: do not rely on smtpd module

It's not mentioned anywhere in source code, and python 3.12 has removed it.

---
 .../recipes-devtools/python/python3-pyinotify_0.9.6.bb           | 1 -
 1 file changed, 1 deletion(-)
dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb +0 -1
index 8dd5e15..963fcfe 100644
@@ -9,7 +9,6 @@ RDEPENDS:${PN} += "\
     ${PYTHON_PN}-logging \
     ${PYTHON_PN}-misc \
     ${PYTHON_PN}-shell \
-    ${PYTHON_PN}-smtpd \
     ${PYTHON_PN}-threading \
 "
 
Signature · 1 line
2.34.1
#1 lore raw

Below error issues once the RDEPENDS removed.

# 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.
Quoted 1 line
Quoted 1 line
Quoted 1 line

import pyinotify

Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib64/python3.12/site-packages/pyinotify.py", line 71, in
<module>
import asyncore
ModuleNotFoundError: No module named 'asyncore'

Quoted 1 line
Quoted 1 line
Quoted 1 line

Thanks,

Quoted 36 lines · Armin Kuster

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

It's not mentioned anywhere in source code, and python 3.12 has removed it.

---
  .../recipes-devtools/python/python3-pyinotify_0.9.6.bb           | 1 -
  1 file changed, 1 deletion(-)
dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb +0 -2
index 8dd5e15..963fcfe 100644
@@ -9,7 +9,6 @@ RDEPENDS:${PN} += "\
      ${PYTHON_PN}-logging \
      ${PYTHON_PN}-misc \
      ${PYTHON_PN}-shell \
-    ${PYTHON_PN}-smtpd \
      ${PYTHON_PN}-threading \
  "
 
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62244): https://lists.yoctoproject.org/g/yocto/message/62244
Mute This Topic: https://lists.yoctoproject.org/mt/103910351/3618448
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Sent the patch https://patchwork.yoctoproject.org/project/yocto/patch/[email protected]/ to fix the issue.

Thanks,

Quoted 60 lines · Mingli

Below error issues once the RDEPENDS removed.

# 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.
Quoted 1 line
Quoted 1 line
Quoted 1 line

import pyinotify

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib64/python3.12/site-packages/pyinotify.py", line 71, in
<module>
    import asyncore
ModuleNotFoundError: No module named 'asyncore'

Quoted 1 line
Quoted 1 line
Quoted 1 line

Thanks,

Quoted 23 lines · Armin Kuster

CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

It's not mentioned anywhere in source code, and python 3.12 has removed it.

---
  .../recipes-devtools/python/python3-pyinotify_0.9.6.bb           | 1 -

  1 file changed, 1 deletion(-)
dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb +0 -1
index 8dd5e15..963fcfe 100644
--- 

a/dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb
+++
b/dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb

dynamic-layers/meta-python/recipes-devtools/python/python3-pyinotify_0.9.6.bb +0 -1
@@ -9,7 +9,6 @@ RDEPENDS:${PN} += "\
       ${PYTHON_PN}-logging \
       ${PYTHON_PN}-misc \
       ${PYTHON_PN}-shell \
-    ${PYTHON_PN}-smtpd \
       ${PYTHON_PN}-threading \
Quoted 9 lines

  "

Signature · 1 line
2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#62775): https://lists.yoctoproject.org/g/yocto/message/62775
Mute This Topic: https://lists.yoctoproject.org/mt/103910351/3618448
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-