diff --git a/pyproject.toml b/pyproject.toml index ea3c3405d..b6b1a83cb 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -14,10 +14,10 @@ classifiers = [ "Intended Audience :: Developers", "Intended Audience :: Education", "Operating System :: Linux", - "Programming Language :: Python :: 3.10", + "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering :: Artificial Intelligence for Inference Accelerator", ] -requires-python = ">=3.8,<3.11" +requires-python = ">=3.8,<3.13" dependencies = [ "transformers==4.55.0", "huggingface-hub==0.34.0", @@ -44,6 +44,7 @@ dependencies = [ "torch@https://download.pytorch.org/whl/cpu/torch-2.4.1%2Bcpu-cp38-cp38-linux_x86_64.whl ; python_version=='3.8' and platform_machine=='x86_64'", "torch@https://download.pytorch.org/whl/cpu/torch-2.7.0%2Bcpu-cp39-cp39-manylinux_2_28_x86_64.whl ; python_version=='3.9' and platform_machine=='x86_64'", "torch@https://download.pytorch.org/whl/cpu/torch-2.7.0%2Bcpu-cp310-cp310-manylinux_2_28_x86_64.whl ; python_version=='3.10' and platform_machine=='x86_64'", + "torch@https://download.pytorch.org/whl/cpu/torch-2.7.0%2Bcpu-cp312-cp312-manylinux_2_28_x86_64.whl ; python_version=='3.12' and platform_machine=='x86_64'", ] [project.optional-dependencies] diff --git a/scripts/Jenkinsfile b/scripts/Jenkinsfile index d9d391d47..6e2ec7578 100644 --- a/scripts/Jenkinsfile +++ b/scripts/Jenkinsfile @@ -17,8 +17,8 @@ pipeline { sudo docker exec ${BUILD_TAG} bash -c " cd /efficient-transformers && apt update && - apt install -y python3.10-venv && - python3.10 -m venv preflight_qeff && + DEBIAN_FRONTEND=noninteractive apt install -y tzdata python3.12-venv && + python3.12 -m venv preflight_qeff && . preflight_qeff/bin/activate && pip install --upgrade pip setuptools && pip install .[test] &&