Skip to content

Commit 8716dec

Browse files
mabdinurmergify[bot]
authored andcommitted
ci(starlette/fastapi): pin SQLAlchemy to fix framework tests (#4406)
* fix(fastapi): pin SQLAlchemy * pin sqlalchemy in starlette to fix framework test Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 0c85f62 commit 8716dec

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/test_frameworks.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ jobs:
120120
#Installs all dependencies needed for FastAPI
121121
- name: Install Dependencies
122122
run: flit install --symlink
123+
- name: Pin SQLAlchemy
124+
# https://github.com/encode/databases/issues/512
125+
run: pip install "SQLAlchemy==1.4.41"
123126
- name: Inject ddtrace
124127
run: pip install ../ddtrace
125128
- name: Test
@@ -249,6 +252,9 @@ jobs:
249252
run: pip install ../ddtrace
250253
- name: Install dependencies
251254
run: scripts/install
255+
- name: Pin SQLAlchemy
256+
# https://github.com/encode/databases/issues/512
257+
run: pip install "SQLAlchemy==1.4.41"
252258
#Parameters for keyword expression skip 3 failing tests that are expected due to asserting on headers. The errors are because our context propagation headers are being added
253259
#test_staticfiles_with_invalid_dir_permissions_returns_401 fails with and without ddtrace enabled
254260
- name: Run tests

0 commit comments

Comments
 (0)