Skip to content

Commit

Permalink
Dependencies: Update to crate>=2.0.0.dev6, restoring JSON marshalling
Browse files Browse the repository at this point in the history
  • Loading branch information
amotl committed Jan 17, 2025
1 parent 0e54160 commit 81787e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"',
Expand Down
2 changes: 1 addition & 1 deletion tests/sqlalchemy/test_patch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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():
Expand Down

0 comments on commit 81787e2

Please sign in to comment.