From 4e2d73ae3f908a591a6025a6e258b016dcd9a614 Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Tue, 27 May 2025 13:25:21 +0200 Subject: [PATCH] python: bump last remaining 3.8 to 3.9 note: Protobuf v31.0 has dropped support of Python 3.8 --- ortools/python/README.md | 2 +- ortools/python/setup.py.in | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/ortools/python/README.md b/ortools/python/README.md index b149ac78f6..e95202f480 100644 --- a/ortools/python/README.md +++ b/ortools/python/README.md @@ -1,6 +1,6 @@ # Introduction -This is the documentation page for the Python 3.8+ wrapper of OR-Tools. +This is the documentation page for the Python 3.9+ wrapper of OR-Tools. This project aim to explain how you build a Python native wheel package using [`setup.py`](https://packaging.python.org/tutorials/packaging-projects/). diff --git a/ortools/python/setup.py.in b/ortools/python/setup.py.in index 23b6654505..b38b5fd708 100644 --- a/ortools/python/setup.py.in +++ b/ortools/python/setup.py.in @@ -41,7 +41,7 @@ setup( name='@PYTHON_PROJECT@', version='@PROJECT_VERSION@', packages=find_packages(), - python_requires='>= 3.8', + python_requires='>= 3.9', install_requires=[ 'absl-py >= 2.0.0', 'numpy >= 1.13.3', @@ -171,7 +171,6 @@ setup( 'Programming Language :: Python', 'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: 3.8', 'Programming Language :: Python :: 3.9', 'Programming Language :: Python :: 3.10', 'Programming Language :: Python :: 3.11',