From ab18e45f97bdfac65b78b5725951c22318461957 Mon Sep 17 00:00:00 2001 From: Andre Basche Date: Sun, 19 Nov 2023 23:50:03 +0100 Subject: [PATCH] Add python3.12 support --- .github/workflows/python-check.yml | 2 +- requirements.txt | 2 +- requirements_dev.txt | 5 +++-- setup.py | 5 +++-- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/python-check.yml b/.github/workflows/python-check.yml index 00027a2..9d931ec 100644 --- a/.github/workflows/python-check.yml +++ b/.github/workflows/python-check.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ["3.10", "3.11"] + python-version: ["3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/requirements.txt b/requirements.txt index 60a0f18..b5d953a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ -aiohttp~=3.8 +aiohttp~=3.9 yarl~=1.9 typing-extensions~=4.8 diff --git a/requirements_dev.txt b/requirements_dev.txt index baeaf1c..847cb81 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -1,4 +1,5 @@ -black~=23.9 +black~=23.11 flake8~=6.1 -mypy~=1.6 +mypy~=1.7 pylint~=3.0 +setuptools~=68.2 diff --git a/setup.py b/setup.py index ae187f8..bcdb90b 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ with open("README.md", "r", encoding="utf-8") as f: setup( name="pyhOn", - version="0.15.10", + version="0.15.11", author="Andre Basche", description="Control hOn devices with python", long_description=long_description, @@ -21,7 +21,7 @@ setup( packages=find_packages(), include_package_data=True, python_requires=">=3.10", - install_requires=["aiohttp~=3.8", "typing-extensions~=4.8", "yarl~=1.9"], + install_requires=["aiohttp~=3.9", "typing-extensions~=4.8", "yarl~=1.9"], classifiers=[ "Development Status :: 4 - Beta", "Environment :: Console", @@ -30,6 +30,7 @@ setup( "Operating System :: OS Independent", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Software Development :: Libraries :: Python Modules", ], entry_points={