From a066cf047fb122bbcec62424312ae8c51bac99e9 Mon Sep 17 00:00:00 2001 From: Courtney Pacheco <6019922+courtneypacheco@users.noreply.github.com> Date: Thu, 15 May 2025 07:49:04 -0400 Subject: [PATCH] Bump minimum required Python version to 3.11 This bump includes updates to documentation, Git workflows, test configs, etc. Signed-off-by: Courtney Pacheco <6019922+courtneypacheco@users.noreply.github.com> --- .github/workflows/test.yml | 1 - .pylintrc | 2 +- README.md | 4 ++-- pyproject.toml | 4 +--- tox.ini | 1 - 5 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 78c5f3cb..35e10537 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -45,7 +45,6 @@ jobs: fail-fast: false matrix: python: - - "3.10" - "3.11" platform: - "ubuntu-latest" diff --git a/.pylintrc b/.pylintrc index 14b3eb1c..50e7f1b2 100644 --- a/.pylintrc +++ b/.pylintrc @@ -90,7 +90,7 @@ persistent=yes # Minimum Python version to use for version dependent checks. Will default to # the version used to run pylint. -py-version=3.10 +py-version=3.11 # Discover python modules and packages in the file system subtree. recursive=no diff --git a/README.md b/README.md index 9a9900d4..a82cf26b 100644 --- a/README.md +++ b/README.md @@ -90,14 +90,14 @@ A teacher model is used to generate new multiple choice questions based on the k ## Development -> **⚠️ Note:** Must use Python version 3.10 or later. +> **⚠️ Note:** Must use Python version 3.11 or later. ### Set up your dev environment The following tools are required: - [`git`](https://git-scm.com) -- [`python`](https://www.python.org) (v3.10 or v3.11) +- [`python`](https://www.python.org) (v3.11) - [`pip`](https://pypi.org/project/pip/) (v23.0+) - [`bash`](https://www.gnu.org/software/bash/) (v5+, for functional tests) diff --git a/pyproject.toml b/pyproject.toml index 4fb00fa8..f1ffed5f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ authors = [ description = "Evaluation" readme = "README.md" license = {text = "Apache-2.0"} -requires-python = ">=3.9" +requires-python = ">=3.11" classifiers = [ "Development Status :: 3 - Alpha", "Environment :: Console", @@ -22,8 +22,6 @@ classifiers = [ "Operating System :: POSIX :: Linux", "Topic :: Scientific/Engineering :: Artificial Intelligence", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", - "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", "Programming Language :: Python :: Implementation :: CPython", diff --git a/tox.ini b/tox.ini index 8adeebda..c1337d4b 100644 --- a/tox.ini +++ b/tox.ini @@ -103,4 +103,3 @@ passenv = [gh] python = 3.11 = py311-{unitcov, functional} - 3.10 = py310-{unitcov, functional}