Open hajes opened 1 year ago
python3 -m pip install aioutils Defaulting to user installation because normal site-packages is not writeable DEPRECATION: Loading egg at /usr/lib/python3.11/site-packages/cupshelpers-1.0-py3.11.egg is deprecated. pip 23.3 will enforce this behaviour change. A possible replacement is to use pip for package installation.. Collecting aioutils Using cached aioutils-0.3.10.tar.gz (9.3 kB) Preparing metadata (setup.py) ... error error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [11 lines of output]
Traceback (most recent call last):
File "
note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed
× Encountered error while generating package metadata. ╰─> See above for output.
note: This is an issue with the package mentioned above, not pip. hint: See above for details.
looks like python 3.11 refuses to work with outdated aioutils
Same issue python 3.11. Any resolution?
It uses outdated modules...i have written own script
Very nice,.. mind sharing your script?
Thanks for the report. Yeah it looks like aionotify
upstream stopped doing releases, so it's currently broken on python3.11+
. https://github.com/rbarrois/aionotify/pull/19/commits
We could potentially port to another library like https://github.com/absperf/asyncinotify/
So far, my kludge is a custom bash script. Of course, it is a dumb script that needs some manual handling - otherwise it will try to copy all at once to all destinations.
Eventually, every major distro will move to 3.11+. It looks like this module is not developed anymore.
I updated the README to mention this, https://github.com/lmacken/plow#known-issues
./plow.py Traceback (most recent call last): File "/home/hajes/./plow.py", line 16, in
import aionotify
File "/home/hajes/.local/lib/python3.11/site-packages/aionotify/init.py", line 5, in
from .base import Watcher
File "/home/hajes/.local/lib/python3.11/site-packages/aionotify/base.py", line 10, in
from . import aioutils
File "/home/hajes/.local/lib/python3.11/site-packages/aionotify/aioutils.py", line 122, in
@asyncio.coroutine
^^^^^^^^^^^^^^^^^
AttributeError: module 'asyncio' has no attribute 'coroutine'. Did you mean: 'coroutines'?