Current python-automat version 20.2.0 no longer work with Python 3.11
updated in commit 738500c296
.
Running package runtime test with command:
support/testing/run-tests \
-d dl \
-o output_folder \
tests.package.test_python_automat.TestPythonPy3Automat
Fails with output:
Traceback (most recent call last):
File "/root/sample_python_automat.py", line 27, in <module>
led.turn_on()
^^^^^^^^^^^
File "/usr/lib/python3.11/site-packages/automat/_methodical.py", line 232, in __get__
File "/usr/lib/python3.11/site-packages/automat/_introspection.py", line 43, in decorator
File "/usr/lib/python3.11/site-packages/automat/_introspection.py", line 35, in copyfunction
File "/usr/lib/python3.11/site-packages/automat/_introspection.py", line 23, in copycode
TypeError: code() argument 13 must be str, not int
This commit fixes this issue by updating the package to the latest
version.
Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
16 lines
618 B
Makefile
16 lines
618 B
Makefile
################################################################################
|
|
#
|
|
# python-automat
|
|
#
|
|
################################################################################
|
|
|
|
PYTHON_AUTOMAT_VERSION = 22.10.0
|
|
PYTHON_AUTOMAT_SOURCE = Automat-$(PYTHON_AUTOMAT_VERSION).tar.gz
|
|
PYTHON_AUTOMAT_SITE = https://files.pythonhosted.org/packages/7a/7b/9c3d26d8a0416eefbc0428f168241b32657ca260fb7ef507596ff5c2f6c4
|
|
PYTHON_AUTOMAT_SETUP_TYPE = setuptools
|
|
PYTHON_AUTOMAT_LICENSE = MIT
|
|
PYTHON_AUTOMAT_LICENSE_FILES = LICENSE
|
|
PYTHON_AUTOMAT_DEPENDENCIES = host-python-m2r host-python-setuptools-scm
|
|
|
|
$(eval $(python-package))
|