mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Merge pull request #10500 from freqtrade/dependabot/pip/develop/aiohttp-3.10.1
chore(deps): bump aiohttp from 3.9.5 to 3.10.1
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
# flake8: noqa: F401
|
||||
|
||||
from freqtrade.configuration.asyncio_config import asyncio_setup
|
||||
from freqtrade.configuration.config_secrets import sanitize_config
|
||||
from freqtrade.configuration.config_setup import setup_utils_configuration
|
||||
from freqtrade.configuration.config_validation import validate_config_consistency
|
||||
|
||||
9
freqtrade/configuration/asyncio_config.py
Normal file
9
freqtrade/configuration/asyncio_config.py
Normal file
@@ -0,0 +1,9 @@
|
||||
import asyncio
|
||||
import sys
|
||||
|
||||
|
||||
def asyncio_setup() -> None: # pragma: no cover
|
||||
# Set eventloop for win32 setups
|
||||
|
||||
if sys.platform == "win32":
|
||||
asyncio.set_event_loop_policy(asyncio.WindowsSelectorEventLoopPolicy())
|
||||
@@ -15,6 +15,7 @@ if sys.version_info < (3, 9): # pragma: no cover
|
||||
|
||||
from freqtrade import __version__
|
||||
from freqtrade.commands import Arguments
|
||||
from freqtrade.configuration import asyncio_setup
|
||||
from freqtrade.constants import DOCS_LINK
|
||||
from freqtrade.exceptions import ConfigurationError, FreqtradeException, OperationalException
|
||||
from freqtrade.loggers import setup_logging_pre
|
||||
@@ -33,6 +34,7 @@ def main(sysargv: Optional[List[str]] = None) -> None:
|
||||
return_code: Any = 1
|
||||
try:
|
||||
setup_logging_pre()
|
||||
asyncio_setup()
|
||||
arguments = Arguments(sysargv)
|
||||
args = arguments.get_parsed_arg()
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ def asyncio_setup() -> None: # pragma: no cover
|
||||
# Set eventloop for win32 setups
|
||||
# Reverts a change done in uvicorn 0.15.0 - which now sets the eventloop
|
||||
# via policy.
|
||||
# TODO: is this workaround actually needed?
|
||||
import sys
|
||||
|
||||
if sys.version_info >= (3, 8) and sys.platform == "win32":
|
||||
|
||||
@@ -7,7 +7,7 @@ pandas-ta==0.3.14b
|
||||
ccxt==4.3.76
|
||||
cryptography==42.0.8; platform_machine == 'armv7l'
|
||||
cryptography==43.0.0; platform_machine != 'armv7l'
|
||||
aiohttp==3.9.5
|
||||
aiohttp==3.10.1
|
||||
SQLAlchemy==2.0.32
|
||||
python-telegram-bot==21.4
|
||||
# can't be hard-pinned due to telegram-bot pinning httpx with ~
|
||||
|
||||
Reference in New Issue
Block a user