From b02160370d705e34c3fad939e029e00d99e72c60 Mon Sep 17 00:00:00 2001 From: Remco de Boer <29308176+redeboer@users.noreply.github.com> Date: Wed, 16 Oct 2024 20:17:39 +0200 Subject: [PATCH] FIX: switch back to `python-constraint` --- .constraints/py3.10.txt | 2 +- .constraints/py3.11.txt | 2 +- .constraints/py3.12.txt | 2 +- .constraints/py3.8.txt | 2 +- .constraints/py3.9.txt | 2 +- pyproject.toml | 3 +-- 6 files changed, 6 insertions(+), 7 deletions(-) diff --git a/.constraints/py3.10.txt b/.constraints/py3.10.txt index 1bc95693..11686f4b 100644 --- a/.constraints/py3.10.txt +++ b/.constraints/py3.10.txt @@ -121,7 +121,7 @@ pytest==8.3.2 pytest-cov==5.0.0 pytest-profiling==1.7.0 pytest-xdist==3.6.1 -python-constraint2==2.0.0b5 +python-constraint==1.4.0 python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 diff --git a/.constraints/py3.11.txt b/.constraints/py3.11.txt index fd32efd0..54ca4964 100644 --- a/.constraints/py3.11.txt +++ b/.constraints/py3.11.txt @@ -120,7 +120,7 @@ pytest==8.3.2 pytest-cov==5.0.0 pytest-profiling==1.7.0 pytest-xdist==3.6.1 -python-constraint2==2.0.0b5 +python-constraint==1.4.0 python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 diff --git a/.constraints/py3.12.txt b/.constraints/py3.12.txt index 187c11d8..75eeb4cb 100644 --- a/.constraints/py3.12.txt +++ b/.constraints/py3.12.txt @@ -120,7 +120,7 @@ pytest==8.3.2 pytest-cov==5.0.0 pytest-profiling==1.7.0 pytest-xdist==3.6.1 -python-constraint2==2.0.0b5 +python-constraint==1.4.0 python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 diff --git a/.constraints/py3.8.txt b/.constraints/py3.8.txt index 67b05998..8e92c6ec 100644 --- a/.constraints/py3.8.txt +++ b/.constraints/py3.8.txt @@ -126,7 +126,7 @@ pytest==8.3.2 pytest-cov==5.0.0 pytest-profiling==1.7.0 pytest-xdist==3.6.1 -python-constraint2==2.0.0b5 +python-constraint==1.4.0 python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 diff --git a/.constraints/py3.9.txt b/.constraints/py3.9.txt index 608df10d..b29310b9 100644 --- a/.constraints/py3.9.txt +++ b/.constraints/py3.9.txt @@ -121,7 +121,7 @@ pytest==8.3.2 pytest-cov==5.0.0 pytest-profiling==1.7.0 pytest-xdist==3.6.1 -python-constraint2==2.0.0b5 +python-constraint==1.4.0 python-dateutil==2.9.0.post0 python-json-logger==2.0.7 python-lsp-jsonrpc==1.1.2 diff --git a/pyproject.toml b/pyproject.toml index f836a7f9..6d0c0ef6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -31,9 +31,8 @@ dependencies = [ "attrs >=20.1.0", # on_setattr and https://www.attrs.org/en/stable/api.html#next-gen "jsonschema", "particle", + "python-constraint", "tqdm >=4.24.0", # autonotebook - 'python-constraint2; python_version >="3.8.0"', - 'python-constraint; python_version <"3.8.0"', 'typing-extensions; python_version <"3.8.0"', # Literal, Protocol ] description = "Rule-based particle reaction problem solver on a quantum number level"