Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit 35f6cf5

Browse files
committed
Bump sqlalchemy version
Previously, `worker` would pin this to v1.3, but that would then fail tests within `shared` in a common workspace, as some tests in `shared` depend on v1.4 features.
1 parent a61ed97 commit 35f6cf5

File tree

4 files changed

+37
-10
lines changed

4 files changed

+37
-10
lines changed

database/engine.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,12 +78,12 @@ def get_bind(self, mapper=None, clause=None):
7878
database_url=get_config(
7979
"services",
8080
"database_url",
81-
default="postgres://postgres:@postgres:5432/postgres",
81+
default="postgresql://postgres:@postgres:5432/postgres",
8282
),
8383
timeseries_database_url=get_config(
8484
"services",
8585
"timeseries_database_url",
86-
default="postgres://postgres:@timescale:5432/postgres",
86+
default="postgresql://postgres:@timescale:5432/postgres",
8787
),
8888
)
8989

docker/test_codecov_config.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ setup:
55
encryption_secret: "zp^P9*i8aR3"
66

77
services:
8-
database_url: postgres://postgres:password@postgres:5432/postgres
9-
timeseries_database_url: postgres://postgres:password@timescale:5432/postgres
8+
database_url: postgresql://postgres:password@postgres:5432/postgres
9+
timeseries_database_url: postgresql://postgres:password@timescale:5432/postgres
1010
redis_url: redis://redis:6379
1111
minio:
1212
hash_key: testixik8qdauiab1yiffydimvi72ekq # never change this

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ dependencies = [
3939
"requests>=2.32.0",
4040
"sentry-sdk>=2.13.0",
4141
"shared",
42-
"sqlalchemy==1.3.*",
43-
"sqlparse==0.5.0",
42+
"sqlalchemy<2",
43+
"sqlparse>=0.5.0",
4444
"statsd>=3.3.0",
4545
"stripe>=11.4.1",
4646
"test-results-parser",

uv.lock

Lines changed: 31 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)