drop async-service dep and copy relevant code into a local async_service

tool, updated for modern handling of ExceptionGroup
This commit is contained in:
pacrob
2024-05-19 14:48:03 -06:00
committed by Paul Robinson
parent 7de6cbaab0
commit d9b92635c1
28 changed files with 2176 additions and 35 deletions

View File

@ -10,10 +10,6 @@ from typing import (
from async_exit_stack import (
AsyncExitStack,
)
from async_service import (
Service,
background_trio_service,
)
from libp2p.host.host_interface import (
IHost,
@ -21,6 +17,10 @@ from libp2p.host.host_interface import (
from libp2p.pubsub.pubsub import (
Pubsub,
)
from libp2p.tools.async_service import (
Service,
background_trio_service,
)
from libp2p.tools.factories import (
PubsubFactory,
)