From d85ba93799fcac69607ecf9fa554d22d0821fe20 Mon Sep 17 00:00:00 2001 From: Sebastian Raschka Date: Sat, 27 Dec 2025 16:30:13 -0600 Subject: [PATCH] Cover Python 3.12 (#933) --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 916a5c4..37d2cc7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -10,10 +10,10 @@ readme = "README.md" requires-python = ">=3.10,<3.14" dependencies = [ 'torch>=2.6; python_version >= "3.13"', - "torch>=2.2.2,<2.6; sys_platform == 'darwin' and platform_machine == 'x86_64' and python_version < '3.12'", - "torch>=2.2.2; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version < '3.12'", - "torch>=2.2.2; sys_platform == 'linux' and python_version < '3.12'", - "torch>=2.2.2; sys_platform == 'win32' and python_version < '3.12'", + "torch>=2.2.2,<2.6; sys_platform == 'darwin' and platform_machine == 'x86_64' and python_version <= '3.12'", + "torch>=2.2.2; sys_platform == 'darwin' and platform_machine == 'arm64' and python_version <= '3.12'", + "torch>=2.2.2; sys_platform == 'linux' and python_version <= '3.12'", + "torch>=2.2.2; sys_platform == 'win32' and python_version <= '3.12'", "tensorflow>=2.16.2; sys_platform == 'darwin' and platform_machine == 'x86_64'", "tensorflow>=2.18.0; sys_platform == 'darwin' and platform_machine == 'arm64'",