diff --git a/pyproject.toml b/pyproject.toml index 36b6ceec8..7c2190881 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -45,12 +45,12 @@ classifiers = [ ] requires-python = ">=3.9" dependencies = [ - "ortools==9.7.2996; python_version < '3.13'", + "ortools==9.7.2996; python_version < '3.12'", # ortools depends on pandas, but 9.7 does not specify it as dependency - "pandas>=2.0.3; python_version < '3.13'", + "pandas>=2.0.3; python_version < '3.12'", # ortools 9.7 requires protobuf<=6.31.1 - "protobuf<=6.31.1 ; python_version < '3.13'", - "ortools==9.12.4544; python_version >= '3.13'", + "protobuf<=6.31.1 ; python_version < '3.12'", + "ortools==9.12.4544; python_version >= '3.12'", "sympy==1.14.0", "unicorn==2.1.4", ] diff --git a/requirements.txt b/requirements.txt index 9b057ac29..fe0021bf6 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,9 @@ -ortools==9.7.2996 ; python_version < "3.13" -ortools==9.12.4544 ; python_version >= "3.13" +ortools==9.7.2996 ; python_version < "3.12" +ortools==9.12.4544 ; python_version >= "3.12" # ortools 9.7 requires protobuf<=6.31.1 -protobuf<=6.31.1 ; python_version < "3.13" +protobuf<=6.31.1 ; python_version < "3.12" # ortools depends on pandas, but 9.7 does not specify it as dependency -pandas>=2.0.3 ; python_version < "3.13" +pandas>=2.0.3 ; python_version < "3.12" sympy==1.14.0 unicorn==2.1.4 black