diff --git a/CHANGELOG.md b/CHANGELOG.md index 5d0f177..1ada649 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [2.9.11] - 2023-02-18 +### Fixed +- SSL certificate issues + ## [2.9.10] - 2023-02-13 ### Added - API: register_extra_tentacle_data diff --git a/README.md b/README.md index 3b6f6fb..71d70b2 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# OctoBot-Tentacles-Manager [2.9.10](https://github.com/Drakkar-Software/OctoBot-Tentacles-Manager/tree/master/CHANGELOG.md) +# OctoBot-Tentacles-Manager [2.9.11](https://github.com/Drakkar-Software/OctoBot-Tentacles-Manager/tree/master/CHANGELOG.md) [![PyPI](https://img.shields.io/pypi/v/OctoBot-Tentacles-Manager.svg)](https://pypi.python.org/pypi/OctoBot-Tentacles-Manager/) [![Downloads](https://pepy.tech/badge/OctoBot-Tentacles-Manager/month)](https://pepy.tech/project/OctoBot-Tentacles-Manager) [![Github-Action-CI](https://github.com/Drakkar-Software/OctoBot-Tentacles-Manager/workflows/OctoBot-Tentacles-Manager-CI/badge.svg)](https://github.com/Drakkar-Software/OctoBot-Tentacles-Manager/actions) diff --git a/octobot_tentacles_manager/__init__.py b/octobot_tentacles_manager/__init__.py index afc8c79..47d5f32 100644 --- a/octobot_tentacles_manager/__init__.py +++ b/octobot_tentacles_manager/__init__.py @@ -14,5 +14,5 @@ # You should have received a copy of the GNU Lesser General Public # License along with this library. -VERSION = "2.9.10" +VERSION = "2.9.11" PROJECT_NAME = "OctoBot-Tentacles-Manager" diff --git a/octobot_tentacles_manager/cli.py b/octobot_tentacles_manager/cli.py index 92faae5..74d1c7a 100644 --- a/octobot_tentacles_manager/cli.py +++ b/octobot_tentacles_manager/cli.py @@ -16,8 +16,9 @@ import argparse import asyncio -import aiohttp import octobot_commons.logging as logging +import octobot_commons.aiohttp_util as aiohttp_util +import octobot_commons.constants as commons_constants import sys import octobot_tentacles_manager @@ -42,7 +43,9 @@ async def _handle_package_manager_command(starting_args, cythonize) -> int: error_count = 0 LOGGER = logging.get_logger(f"{octobot_tentacles_manager.PROJECT_NAME}-CLI") - async with aiohttp.ClientSession() as aiohttp_session: + async with aiohttp_util.ssl_fallback_aiohttp_client_session( + commons_constants.KNOWN_POTENTIALLY_SSL_FAILED_REQUIRED_URL + ) as aiohttp_session: include_dev_mode = starting_args.include_dev_mode include_tentacles_export = starting_args.include_tentacles_export should_use_package_name_when_exporting = starting_args.export_with_package_name diff --git a/requirements.txt b/requirements.txt index 3a33cd5..516eda5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,13 +3,13 @@ setuptools cython==0.29.32 # Drakkar-Software requirements -OctoBot-Commons>=1.9.39, <1.10 +OctoBot-Commons>=1.9.44, <1.10 # async files management aiofiles>=0.6.0, <0.7 # async http requests -aiohttp>=3.8.1 +aiohttp>=3.9.5 # Templating requirements jinja2>=3.0.3