From a341ffd41d3a133908b4febb35884dca8ce25dde Mon Sep 17 00:00:00 2001 From: profitroll Date: Sat, 21 Sep 2024 00:11:13 +0200 Subject: [PATCH] Dropped Python 3.8 support and added 3.12 support instead --- .gitea/workflows/tests.yml | 2 +- pyproject.toml | 8 ++++---- src/libbot/__init__.py | 2 +- tox.ini | 6 +++--- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.gitea/workflows/tests.yml b/.gitea/workflows/tests.yml index 2bdabf4..232e3eb 100644 --- a/.gitea/workflows/tests.yml +++ b/.gitea/workflows/tests.yml @@ -14,7 +14,7 @@ jobs: container: catthehacker/ubuntu:act-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10", "3.11"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v3 diff --git a/pyproject.toml b/pyproject.toml index c9f761f..2029037 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,17 +8,17 @@ dynamic = ["version", "dependencies", "optional-dependencies"] authors = [{ name = "Profitroll" }] description = "Universal bot library with functions needed for basic Discord/Telegram bot development." readme = "README.md" -requires-python = ">=3.8" +requires-python = ">=3.9" license = { text = "GPLv3" } classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: OS Independent", - "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", + "Programming Language :: Python :: 3.12", "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Utilities", ] @@ -42,7 +42,7 @@ Tracker = "https://git.end-play.xyz/profitroll/LibBotUniversal/issues" where = ["src"] [tool.black] -target-version = ['py38', 'py39', 'py310', 'py311'] +target-version = ['py39', 'py310', 'py311' ,'py312'] [tool.isort] profile = "black" @@ -61,7 +61,7 @@ show_error_codes = true [tool.pylint.main] extension-pkg-whitelist = ["ujson"] -py-version = 3.8 +py-version = 3.9 [tool.coverage.run] source = ["libbot"] diff --git a/src/libbot/__init__.py b/src/libbot/__init__.py index a2c0bdf..2a3d63c 100644 --- a/src/libbot/__init__.py +++ b/src/libbot/__init__.py @@ -1,4 +1,4 @@ -__version__ = "3.2.3" +__version__ = "3.3.0" __license__ = "GPL3" __author__ = "Profitroll" diff --git a/tox.ini b/tox.ini index 7aafed7..2d1f1c1 100644 --- a/tox.ini +++ b/tox.ini @@ -1,14 +1,14 @@ [tox] -minversion = 3.8.0 -envlist = py38, py39, py310, py311 +minversion = 3.9.0 +envlist = py39, py310, py311, py312 isolated_build = true [gh-actions] python = - 3.8: py38 3.9: py39 3.10: py310 3.11: py311 + 3.12: py312 [testenv] setenv =