Skip to content

Commit

Permalink
bump deps & fix postgres sequences & bump docker (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlukas authored Jan 21, 2025
1 parent 3104738 commit c8373a1
Show file tree
Hide file tree
Showing 7 changed files with 85 additions and 84 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ FROM python:3.12-slim

WORKDIR /usr/src/up-admin

ENV PYTHONDONTWRITEBYTECODE 1
ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE=1
ENV PYTHONUNBUFFERED=1

# copy pipenv files to container
COPY Pipfile Pipfile.lock ./
Expand Down
8 changes: 4 additions & 4 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ verify_ssl = true
django = "~=5.1.5"
django-csp = "~=3.8.0"
django-debug-toolbar = "~=4.4.6"
django-environ = "~=0.11.2"
django-environ = "~=0.12.0"
django-filter = "~=24.3.0"
djangorestframework = "~=3.15.2"
djangorestframework-simplejwt = "~=5.3.1"
djangorestframework-simplejwt = "~=5.4.0"
gunicorn = "~=23.0.0"
"psycopg2-binary" = "~=2.9.10"
pyyaml = "~=6.0.2"
requests = "~=2.32.3"
sentry-sdk = {extras = ["django"], version = "~=2.19.2"}
sentry-sdk = {extras = ["django"], version = "~=2.20.0"}
setuptools = "*"
uritemplate = "~=4.1.1"
urllib3 = "~=1.26.20"
Expand All @@ -26,7 +26,7 @@ whitenoise = "~=6.8.2"
behave-django = "~=1.5.0"
black = "~=24.10.0"
coverage = "~=6.3.3"
django-stubs = "~=5.1.1"
django-stubs = "~=5.1.2"
djangorestframework-stubs = "~=3.15.2"
mypy = "~=1.14.1"
selenium = "~=3.141.0"
Expand Down
49 changes: 25 additions & 24 deletions Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion db/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM postgres:14

RUN localedef -i cs_CZ -c -f UTF-8 -A /usr/share/locale/locale.alias cs_CZ.UTF-8

ENV LANG cs_CZ.utf8
ENV LANG=cs_CZ.utf8

# copy the file with sample data that can be optionally applied
COPY scripts/sql/sample_data.pgsql .
96 changes: 48 additions & 48 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"@types/react-dom": "^17.0.25",
"@types/react-router-dom": "^5.3.3",
"@types/react-select": "^3.1.2",
"@typescript-eslint/eslint-plugin": "^8.20.0",
"@typescript-eslint/parser": "^8.20.0",
"@typescript-eslint/eslint-plugin": "^8.21.0",
"@typescript-eslint/parser": "^8.21.0",
"audit-ci": "^7.1.0",
"babel-jest": "^27.5.1",
"babel-loader": "^9.2.1",
Expand All @@ -57,7 +57,7 @@
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-jest-dom": "^4.0.3",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-prettier": "^5.2.2",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-testing-library": "^5.11.1",
Expand Down
4 changes: 2 additions & 2 deletions scripts/sql/sample_data.pgsql
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ SELECT pg_catalog.setval('public.admin_application_id_seq', 3, true);
-- Name: admin_attendance_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.admin_attendance_id_seq', 33, true);
SELECT pg_catalog.setval('public.admin_attendance_id_seq', 37, true);


--
Expand Down Expand Up @@ -199,7 +199,7 @@ SELECT pg_catalog.setval('public.admin_group_id_seq', 4, true);
-- Name: admin_lecture_id_seq; Type: SEQUENCE SET; Schema: public; Owner: postgres
--

SELECT pg_catalog.setval('public.admin_lecture_id_seq', 22, true);
SELECT pg_catalog.setval('public.admin_lecture_id_seq', 25, true);


--
Expand Down

0 comments on commit c8373a1

Please sign in to comment.