From 504e7ec105bf459f53f091d60ab66ccff5035a61 Mon Sep 17 00:00:00 2001 From: Anton Dubovik Date: Mon, 14 Jul 2025 09:53:02 +0100 Subject: [PATCH] fix: drop support of Python 3.8 --- .github/workflows/pr.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- noxfile.py | 2 +- poetry.lock | 7 ++----- pyproject.toml | 2 +- 5 files changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 4801366..5b7df00 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -13,5 +13,5 @@ jobs: uses: epam/ai-dial-ci/.github/workflows/python_package_pr.yml@2.3.1 secrets: inherit with: - python-version: 3.8 - code-checks-python-versions: '["3.8", "3.9", "3.10", "3.11", "3.12"]' + python-version: 3.9 + code-checks-python-versions: '["3.9", "3.10", "3.11", "3.12"]' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9730082..b80e08e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,5 +13,5 @@ jobs: uses: epam/ai-dial-ci/.github/workflows/python_package_release.yml@2.3.1 secrets: inherit with: - python-version: 3.8 - code-checks-python-versions: '["3.8", "3.9", "3.10", "3.11", "3.12"]' + python-version: 3.9 + code-checks-python-versions: '["3.9", "3.10", "3.11", "3.12"]' diff --git a/noxfile.py b/noxfile.py index 5d114ab..570d64c 100644 --- a/noxfile.py +++ b/noxfile.py @@ -53,7 +53,7 @@ def format(session: nox.Session): format_with_args(session, SRC) -@nox.session(python=["3.8", "3.9", "3.10", "3.11", "3.12"]) +@nox.session(python=["3.9", "3.10", "3.11", "3.12"]) @nox.parametrize("pydantic", ["1.10.17", "2.8.2"]) @nox.parametrize("httpx", ["0.25.0", "0.27.0"]) @nox.parametrize("openai", ["1.0.0", "1.51.0"]) diff --git a/poetry.lock b/poetry.lock index bfa7374..d974ba3 100644 --- a/poetry.lock +++ b/poetry.lock @@ -22,9 +22,6 @@ files = [ {file = "annotated_types-0.7.0.tar.gz", hash = "sha256:aff07c09a53a08bc8cfccb9c85b05f1aa9a2a6f23728d790723543408344ce89"}, ] -[package.dependencies] -typing-extensions = {version = ">=4.0.0", markers = "python_version < \"3.9\""} - [[package]] name = "anyio" version = "4.4.0" @@ -951,5 +948,5 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "coverage-enable-subprocess [metadata] lock-version = "2.0" -python-versions = ">=3.8.1,<4.0" -content-hash = "306f788a10adacae304c2e90099ee0827e97c56ace59b6f2926b406d2e403599" +python-versions = ">=3.9,<4.0" +content-hash = "8b2ce569f89620ea764d6284fec1c946818cd7af25e48a6eccdc6d72b1dc2bec" diff --git a/pyproject.toml b/pyproject.toml index af5d261..b4201e1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ packages = [{ include = "aidial_client" }] [tool.poetry.dependencies] openai = ">=1.0.0,<2.0.0" -python = ">=3.8.1,<4.0" +python = ">=3.9,<4.0" httpx = ">=0.25.0,<1.0" pydantic = ">=1.10,<3" aiofiles = ">=0.5.0"