Skip to content

Commit 97f582c

Browse files
committed
add psycopg
1 parent e765a30 commit 97f582c

File tree

3 files changed

+31
-19
lines changed

3 files changed

+31
-19
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jobs:
5353
uses: addnab/docker-run-action@v3
5454
with:
5555
image: ${{ env.IMAGE_NAME }}:ci
56-
options: -e DATABASE_URL=postgresql://postgres:postgres@postgres:5432/postgres
56+
options: -e DATABASE_URL=postgresql+psycopg://postgres:postgres@postgres:5432/postgres
5757
run: pytest
5858
build:
5959
name: Build and push image

poetry.lock

+29-17
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ click = "^8.1.7"
1515
gunicorn = "^22.0.0"
1616
flask = "^3.0.3"
1717
flask-sqlalchemy = "^3.1.1"
18-
psycopg2 = "^2.9.9"
18+
psycopg = "^3.1.19"
1919

2020
[tool.poetry.scripts]
2121
teufa = "teufa.cli:cli"

0 commit comments

Comments
 (0)