Skip to content

Commit

Permalink
Fixed docker image and added comments after review
Browse files Browse the repository at this point in the history
  • Loading branch information
bmispelon committed Nov 2, 2024
1 parent 96f7860 commit a8774ab
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ permissions:

env:
DJANGO_SETTINGS_MODULE: tracdjangoplugin.settings_tests
# passlib has a conditional import for `crypt` which is going away in python 3.13
# and therefore throwing warnings
PYTHONWARNINGS: >
error,
default:::passlib.utils,
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pull official base image
FROM python:3.12-slim-bookworm
FROM python:3.11-slim-bookworm

# set work directory
WORKDIR /code
Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ psycopg2==2.9.9 --no-binary=psycopg2
Django==4.2.16
libsass==0.23.0

# Optional Trac dependencies that make DeprecationWarning go away
# Optional Trac dependencies that make DeprecationWarning go away.
# When upgrading Trac or Python, check if these dependencies are still needed
# by uninstalling them and running the test suite (or CI) with PYTHONWARNINGS=error
multipart==1.1.0
passlib==1.7.4

Expand Down

0 comments on commit a8774ab

Please sign in to comment.