user/py3-pyirc: FTTFS: AttributeError: type object 'UnsharedSignal' has no attribute 'PRIORITY_NORMAL'
Found on ppc64:
...
copying PyIRC/extensions/ircd/hybridfamily.py -> build/lib/PyIRC/extensions/ircd
EEEE
======================================================================
ERROR: test_base (unittest.loader._FailedTest.test_base)
----------------------------------------------------------------------
ImportError: Failed to import test module: test_base
Traceback (most recent call last):
File "/usr/lib/python3.11/unittest/loader.py", line 407, in _find_test_path
module = self._get_module_from_name(name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/unittest/loader.py", line 350, in _get_module_from_name
__import__(name)
File "/root/packages/user/py3-pyirc/src/py3-pyirc-3.0b1_git20190929/tests/test_base.py", line 14, in <module>
from PyIRC import *
File "/root/packages/user/py3-pyirc/src/py3-pyirc-3.0b1_git20190929/PyIRC/base.py", line 19, in <module>
from PyIRC.signal import SignalStorage
File "/root/packages/user/py3-pyirc/src/py3-pyirc-3.0b1_git20190929/PyIRC/signal.py", line 22, in <module>
def event(hclass, event_name, priority=UnsharedSignal.PRIORITY_NORMAL,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: type object 'UnsharedSignal' has no attribute 'PRIORITY_NORMAL'
Caused by recent Python 3.11
bump.
Note: this is after the py3-taillight
bump to 0.5.2
.
-depends="python3 py3-taillight~0.3"
+depends="python3 py3-taillight"