From 3f29f3dc30c3702d9533801abeb2d043ed612e71 Mon Sep 17 00:00:00 2001 From: Roman Date: Sun, 18 Jan 2026 00:07:49 +0000 Subject: [PATCH] deprecate Python 3.9 support --- .devcontainer/Dockerfile | 2 +- .python-version | 2 +- README.md | 4 ++-- pyproject.toml | 5 ++--- 4 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index ff261bad..db3ed8a3 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -ARG VARIANT="3.9" +ARG VARIANT="3.10" FROM mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT} USER vscode diff --git a/.python-version b/.python-version index 43077b24..eae0123d 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.9.18 +3.10.19 diff --git a/README.md b/README.md index add4340b..3eea186f 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![PyPI version](https://img.shields.io/pypi/v/groq.svg?label=pypi%20(stable))](https://pypi.org/project/groq/) -The Groq Python library provides convenient access to the Groq REST API from any Python 3.9+ +The Groq Python library provides convenient access to the Groq REST API from any Python 3.10+ application. The library includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx). @@ -478,7 +478,7 @@ print(groq.__version__) ## Requirements -Python 3.9 or higher. +Python 3.10 or higher. ## Contributing diff --git a/pyproject.toml b/pyproject.toml index b54bdb25..0c2ff41d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,11 +17,10 @@ dependencies = [ "sniffio", ] -requires-python = ">= 3.9" +requires-python = ">= 3.10" classifiers = [ "Typing :: Typed", "Intended Audience :: Developers", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", @@ -143,7 +142,7 @@ filterwarnings = [ # there are a couple of flags that are still disabled by # default in strict mode as they are experimental and niche. typeCheckingMode = "strict" -pythonVersion = "3.9" +pythonVersion = "3.10" exclude = [ "_dev",