Skip to content

Commit

Permalink
Upgrade to authorization-django 1.4 which allows Entry ID tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
vdboor committed Feb 17, 2025
1 parent ed7e374 commit 4ac5cde
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
2 changes: 2 additions & 0 deletions src/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,15 @@ sync: ## Install packages, remove unmentioned p
requirements: requirements.in requirements_dev.in ## Re-generate the requirements/base.txt file for pip.
pip-compile -v --generate-hashes --allow-unsafe --output-file requirements.txt requirements.in
pip-compile -v --generate-hashes --allow-unsafe --output-file requirements_dev.txt requirements_dev.in
perl -pi -e "s!$$(pwd)!.!" requirements*.txt

.PHONY: upgrade
upgrade: ## Tool to upgrade the backend dependencies.
pur --patch=Django -r requirements.in
pur --no-recursive -r requirements_dev.in
pip-compile -v --generate-hashes --allow-unsafe --upgrade --output-file requirements.txt requirements.in
pip-compile -v --generate-hashes --allow-unsafe --upgrade --output-file requirements_dev.txt requirements_dev.in
perl -pi -e "s!$$(pwd)!.!" requirements*.txt

##
## Testing:
Expand Down
2 changes: 1 addition & 1 deletion src/requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ azure-identity == 1.19.0
azure-monitor-opentelemetry == 1.6.4
cachetools == 5.5.1
datadiensten-apikeyclient == 0.6.0
datapunt-authorization-django==1.3.3
datapunt-authorization-django==1.4.0
drf-spectacular == 0.28.0
Geoalchemy2 == 0.17.0
jsonschema == 4.23.0
Expand Down
6 changes: 3 additions & 3 deletions src/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -349,9 +349,9 @@ datadiensten-apikeyclient==0.6.0 \
--hash=sha256:4988b82e27886b31ed1d935d00e814cc9cfca4d4df5dc589c598f22433c010e0 \
--hash=sha256:6dab4a24c5c72028d57feb4d259b0a7df29da66e7709c7e68fd9ebace8959cb7
# via -r requirements.in
datapunt-authorization-django==1.3.3 \
--hash=sha256:3c73944aa4d7e184a3cb00848486eaf1b4019aa979d2c41f410e9b45e58a7158 \
--hash=sha256:e68ed2da074d8e82f66497d75d5ebc59dc43a11dc95aedd23d7cde18c49b50c2
datapunt-authorization-django==1.4.0 \
--hash=sha256:275038acca712139d68041cfd987c9e6d2aa1bcfb7e73d37d27abed64b8f2386 \
--hash=sha256:dd51ccdaf6a7b330cca7826d9570c11f97af3853e8ff184bb9c8345d52f847df
# via -r requirements.in
decorator==5.1.1 \
--hash=sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330 \
Expand Down
6 changes: 3 additions & 3 deletions src/requirements_dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -381,9 +381,9 @@ datadiensten-apikeyclient==0.6.0 \
--hash=sha256:4988b82e27886b31ed1d935d00e814cc9cfca4d4df5dc589c598f22433c010e0 \
--hash=sha256:6dab4a24c5c72028d57feb4d259b0a7df29da66e7709c7e68fd9ebace8959cb7
# via -r ./requirements.in
datapunt-authorization-django==1.3.3 \
--hash=sha256:3c73944aa4d7e184a3cb00848486eaf1b4019aa979d2c41f410e9b45e58a7158 \
--hash=sha256:e68ed2da074d8e82f66497d75d5ebc59dc43a11dc95aedd23d7cde18c49b50c2
datapunt-authorization-django==1.4.0 \
--hash=sha256:275038acca712139d68041cfd987c9e6d2aa1bcfb7e73d37d27abed64b8f2386 \
--hash=sha256:dd51ccdaf6a7b330cca7826d9570c11f97af3853e8ff184bb9c8345d52f847df
# via -r ./requirements.in
decorator==5.1.1 \
--hash=sha256:637996211036b6385ef91435e4fae22989472f9d571faba8927ba8253acbc330 \
Expand Down

0 comments on commit 4ac5cde

Please sign in to comment.