From 575583e9e50047397c1d45d6972837031c380eb1 Mon Sep 17 00:00:00 2001 From: Andreas Motl Date: Mon, 4 Nov 2024 16:57:54 +0100 Subject: [PATCH] Dependencies: Update to `crate-1.0.0` --- CHANGES.md | 1 + pyproject.toml | 2 +- tests/query_caching.py | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 53131e3..a6fd238 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -2,6 +2,7 @@ ## Unreleased - CI: Verified support on Python 3.13 +- Dependencies: Updated to `crate-1.0.0` ## 2024/10/07 0.40.0 - Propagate error traces properly, using the `error_trace` `connect_args` option, diff --git a/pyproject.toml b/pyproject.toml index 48dd47b..2f127be 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -82,7 +82,7 @@ dynamic = [ ] dependencies = [ "backports.zoneinfo<1; python_version<'3.9'", - "crate==1.0.0.dev1", + "crate>=1.0.0.dev2,<2", "geojson<4,>=2.5", "importlib-resources; python_version<'3.9'", "sqlalchemy<2.1,>=1", diff --git a/tests/query_caching.py b/tests/query_caching.py index 34d0180..35df4d0 100644 --- a/tests/query_caching.py +++ b/tests/query_caching.py @@ -24,7 +24,6 @@ from unittest import TestCase, skipIf import sqlalchemy as sa -from crate.testing.settings import crate_host from sqlalchemy.orm import Session from sqlalchemy.sql.operators import eq @@ -36,6 +35,8 @@ except ImportError: from sqlalchemy.ext.declarative import declarative_base +from tests.settings import crate_host + class SqlAlchemyQueryCompilationCaching(TestCase): def setUp(self):