Bonjour,
J’essaye de packager duniterpy 0.42.3 (dans l’objectif de packager Sakia), mais j’obtiens l’erreur suivante :
running "python setup.py" with command "build" and parameters ()
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setup.py", line 2, in <module>
import duniterpy
File "/tmp/guix-build-python-duniterpy-0.43.2.drv-0/duniterpy-0.43.2/duniterpy/__init__.py", line 24, in <module>
from . import api, documents, key
File "/tmp/guix-build-python-duniterpy-0.43.2.drv-0/duniterpy-0.43.2/duniterpy/documents/__init__.py", line 4, in <module>
from .peer import endpoint, BMAEndpoint, UnknownEndpoint, Peer, SecuredBMAEndpoint, WS2PEndpoint
File "/tmp/guix-build-python-duniterpy-0.43.2.drv-0/duniterpy-0.43.2/duniterpy/documents/peer.py", line 4, in <module>
from ..api.bma import ConnectionHandler
File "/tmp/guix-build-python-duniterpy-0.43.2.drv-0/duniterpy-0.43.2/duniterpy/api/bma/__init__.py", line 29, in <module>
from .api import API, ConnectionHandler, parse_error, parse_response, parse_text
File "/tmp/guix-build-python-duniterpy-0.43.2.drv-0/duniterpy-0.43.2/duniterpy/api/bma/api.py", line 21, in <module>
import aiohttp
File "/gnu/store/c6pm03hs0pqnpl2jsy83h4bw0nj7mbb2-python-aiohttp-3.1.3/lib/python3.6/site-packages/aiohttp/__init__.py", line 6, in <module>
from .client import * # noqa
File "/gnu/store/c6pm03hs0pqnpl2jsy83h4bw0nj7mbb2-python-aiohttp-3.1.3/lib/python3.6/site-packages/aiohttp/client.py", line 16, in <module>
from . import client_exceptions, client_reqrep
File "/gnu/store/c6pm03hs0pqnpl2jsy83h4bw0nj7mbb2-python-aiohttp-3.1.3/lib/python3.6/site-packages/aiohttp/client_reqrep.py", line 18, in <module>
from . import hdrs, helpers, http, multipart, payload
File "/gnu/store/c6pm03hs0pqnpl2jsy83h4bw0nj7mbb2-python-aiohttp-3.1.3/lib/python3.6/site-packages/aiohttp/helpers.py", line 161, in <module>
@attr.s(frozen=True, slots=True)
File "/gnu/store/c6pm03hs0pqnpl2jsy83h4bw0nj7mbb2-python-aiohttp-3.1.3/lib/python3.6/site-packages/aiohttp/helpers.py", line 163, in ProxyInfo
proxy = attr.ib(type=str)
TypeError: attr() got an unexpected keyword argument 'type'
phase `build' failed after 0.9 seconds
Pourriez-vous m’indiquer comment corriger l’erreur, ou du moins, dans quelle direction chercher ?
Cordialement,