From f3b5c13c01cc6740449ac41d794fa0fbc51b3e96 Mon Sep 17 00:00:00 2001 From: cliu-us Date: Sat, 29 Mar 2025 01:22:00 +0000 Subject: [PATCH] upgrade to python 3.12 Signed-off-by: cliu-us --- .github/workflows/test.yml | 2 +- pyproject.toml | 2 +- tox.ini | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 22988d5a..53126ef1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -40,9 +40,9 @@ jobs: strategy: matrix: python: - - "3.9" - "3.10" - "3.11" + - "3.12" platform: - "ubuntu-latest" diff --git a/pyproject.toml b/pyproject.toml index c4705d7a..022f4793 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "fms-model-optimizer" description = "Quantization Techniques" readme = "README.md" license = {text = "Apache-2.0"} -requires-python = ">3.9,<=3.12" +requires-python = ">3.9,<3.13" classifiers=[ "Development Status :: 3 - Alpha", "License :: OSI Approved :: Apache Software License", diff --git a/tox.ini b/tox.ini index 03a19113..05eeed6b 100644 --- a/tox.ini +++ b/tox.ini @@ -17,7 +17,7 @@ commands = unitcov: {envpython} -W error::UserWarning -m pytest --cov=fms_mo --cov-report term --cov-report=html:coverage-{env_name} --cov-report=xml:coverage-{env_name}.xml --html=durations/{env_name}.html {posargs:tests -m "not (examples or slow)"} [testenv:py3] -basepython = python3.11 +basepython = python3.12 [testenv:unit] basepython = {[testenv:py3]basepython} @@ -91,6 +91,6 @@ commands = [gh] python = + 3.11 = 3.12-{unitcov} 3.11 = 3.11-{unitcov} 3.10 = 3.10-{unitcov} - 3.9 = 3.9-{unitcov}