Skip to content

Commit

Permalink
refactor: Remove psycopg2 installation from source
Browse files Browse the repository at this point in the history
psycopg/psycopg2#1360 is resolved.
Installation from source no longer needed.
  • Loading branch information
MoritzWeber0 committed Jul 26, 2023
1 parent 12ca4cb commit 1113eba
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion backend/Dockerfile
Expand Up @@ -46,7 +46,7 @@ ENV PATH="$VIRTUAL_ENV/bin:$PATH"

WORKDIR /tmp/backend
RUN --mount=type=cache,id=capella-collaboration-backend-dependencies,target=/root/.cache/pip,sharing=locked \
pip install ".[psycopg2]"
pip install .

RUN mkdir -p /var/log/backend && \
chmod -R 777 /var/log/backend
Expand Down
3 changes: 0 additions & 3 deletions backend/pyproject.toml
Expand Up @@ -66,9 +66,6 @@ dev = [
"pytest-cov",
"aioresponses"
]
psycopg2 = [
"psycopg2", # Need when running in a Docker container with AArch64: https://github.com/psycopg/psycopg2/issues/1360
]

[project.entry-points."capellacollab.authentication.providers"]
oauth = "capellacollab.core.authentication.provider.oauth"
Expand Down

0 comments on commit 1113eba

Please sign in to comment.