From 81787e24055bf05e07fcb6bce4390f2ded2b01dd Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Fri, 17 Jan 2025 21:00:59 +0100 Subject: [PATCH] Dependencies: Update to `crate>=2.0.0.dev6`, restoring JSON marshalling --- pyproject.toml | 2 +- tests/sqlalchemy/test_patch.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 477a2bf3..77656d13 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -100,7 +100,7 @@ dependencies = [ "python-dotenv<2", "python-slugify<9", "pyyaml<7", - "sqlalchemy-cratedb>=0.41.0.dev1", + "sqlalchemy-cratedb>=0.41.0.dev2", "sqlparse<0.6", "tqdm<5", 'typing-extensions<5; python_version <= "3.7"', diff --git a/tests/sqlalchemy/test_patch.py b/tests/sqlalchemy/test_patch.py index 15d81dc7..a7969fe3 100644 --- a/tests/sqlalchemy/test_patch.py +++ b/tests/sqlalchemy/test_patch.py @@ -53,7 +53,7 @@ def test_json_encoder_date(): """ data = {"date": datetime.date(2024, 6, 4)} encoded = json_dumps(data) - assert encoded == b'{"date":"2024-06-04"}' + assert encoded == b'{"date":1717459200000}' def test_json_encoder_numpy():