Skip to content

Commit 8e34ca0

Browse files
committed
pip-compile
1 parent 4b38eed commit 8e34ca0

File tree

3 files changed

+34
-25
lines changed

3 files changed

+34
-25
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050

5151
steps:
5252
- uses: actions/checkout@v4
53+
with:
54+
persist-credentials: false
5355

5456
- name: JupyterHub version
5557
id: version
@@ -75,7 +77,7 @@ jobs:
7577
allTags: ${{ (github.ref != format('refs/heads/{0}', env.LATEST_BRANCH)) && (github.base_ref != format('refs/heads/{0}', env.LATEST_BRANCH)) }}
7678
strict: "true"
7779

78-
- name: Get new tag
80+
- name: Get new tag # zizmor: ignore[template-injection]
7981
id: new
8082
run: |
8183
echo "TAG=${{ steps.version.outputs.VERSION }}-${{ steps.quayio.outputs.buildNumber }}" >> $GITHUB_OUTPUT
@@ -95,6 +97,8 @@ jobs:
9597

9698
steps:
9799
- uses: actions/checkout@v4
100+
with:
101+
persist-credentials: false
98102

99103
- name: Should we push this image to a public registry?
100104
run: |
@@ -106,8 +110,6 @@ jobs:
106110
echo "PUBLIC=false" >> $GITHUB_ENV
107111
fi
108112
109-
- uses: actions/checkout@v4
110-
111113
# Setup docker to build for multiple platforms, see:
112114
# https://github.com/docker/build-push-action/tree/v6.9.0?tab=readme-ov-file#usage
113115
# https://docs.docker.com/build/ci/github-actions/multi-platform/
@@ -120,7 +122,7 @@ jobs:
120122
# Allows pushing to registry on localhost:5000
121123
driver-opts: network=host
122124

123-
- name: Setup push rights to Docker Hub
125+
- name: Setup push rights to Docker Hub # zizmor: ignore[template-injection]
124126
# This was setup by...
125127
# 1. Creating a [Robot Account](https://quay.io/organization/jupyterhub?tab=robots) in the JupyterHub
126128
# . Quay.io org
@@ -150,7 +152,7 @@ jobs:
150152
${{ env.REGISTRY }}${{ env.IMAGE }}:
151153
${{ (env.PUBLIC == 'true' && env.PUBLISH_DOCKERIO == 'true') && format('{0}:', env.IMAGE) || '' }}
152154
153-
- name: Print tags
155+
- name: Print tags # zizmor: ignore[template-injection]
154156
run: |
155157
echo "Existing tags: ${{ needs.tag.outputs.existing-tags }}"
156158
echo "New tags: ${{ needs.tag.outputs.new-tag }}"

.pre-commit-config.yaml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@ ci:
1414
autoupdate_schedule: monthly
1515

1616
repos:
17-
- repo: https://github.com/pre-commit/mirrors-prettier
18-
rev: v4.0.0-alpha.8
17+
# https://github.com/pre-commit/mirrors-prettier is not maintained
18+
- repo: https://github.com/rbubley/mirrors-prettier
19+
rev: v3.4.2
1920
hooks:
2021
- id: prettier
22+
23+
- repo: https://github.com/woodruffw/zizmor-pre-commit
24+
rev: v0.8.0
25+
hooks:
26+
- id: zizmor

base/requirements.txt

Lines changed: 19 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.12
33
# by the following command:
44
#
55
# pip-compile
@@ -10,19 +10,19 @@ annotated-types==0.7.0
1010
# via pydantic
1111
arrow==1.3.0
1212
# via isoduration
13-
attrs==24.2.0
13+
attrs==24.3.0
1414
# via
1515
# jsonschema
1616
# referencing
17-
certifi==2024.8.30
17+
certifi==2024.12.14
1818
# via requests
1919
certipy==0.2.1
2020
# via jupyterhub
2121
cffi==1.17.1
2222
# via cryptography
23-
charset-normalizer==3.4.0
23+
charset-normalizer==3.4.1
2424
# via requests
25-
cryptography==43.0.3
25+
cryptography==44.0.0
2626
# via certipy
2727
fqdn==1.5.1
2828
# via jsonschema
@@ -35,19 +35,19 @@ idna==3.10
3535
# requests
3636
isoduration==20.11.0
3737
# via jsonschema
38-
jinja2==3.1.4
38+
jinja2==3.1.5
3939
# via jupyterhub
4040
jsonpointer==3.0.0
4141
# via jsonschema
4242
jsonschema[format-nongpl]==4.23.0
4343
# via jupyter-events
4444
jsonschema-specifications==2024.10.1
4545
# via jsonschema
46-
jupyter-events==0.10.0
46+
jupyter-events==0.11.0
4747
# via jupyterhub
4848
jupyterhub==5.2.1
4949
# via -r requirements.in
50-
mako==1.3.6
50+
mako==1.3.8
5151
# via alembic
5252
markupsafe==3.0.2
5353
# via
@@ -59,23 +59,23 @@ packaging==24.2
5959
# via jupyterhub
6060
pamela==1.2.0
6161
# via jupyterhub
62-
prometheus-client==0.21.0
62+
prometheus-client==0.21.1
6363
# via jupyterhub
6464
pycparser==2.22
6565
# via cffi
66-
pydantic==2.10.1
66+
pydantic==2.10.5
6767
# via jupyterhub
68-
pydantic-core==2.27.1
68+
pydantic-core==2.27.2
6969
# via pydantic
7070
python-dateutil==2.9.0.post0
7171
# via
7272
# arrow
7373
# jupyterhub
74-
python-json-logger==2.0.7
74+
python-json-logger==3.2.1
7575
# via jupyter-events
7676
pyyaml==6.0.2
7777
# via jupyter-events
78-
referencing==0.35.1
78+
referencing==0.36.0
7979
# via
8080
# jsonschema
8181
# jsonschema-specifications
@@ -90,15 +90,15 @@ rfc3986-validator==0.1.1
9090
# via
9191
# jsonschema
9292
# jupyter-events
93-
rpds-py==0.21.0
93+
rpds-py==0.22.3
9494
# via
9595
# jsonschema
9696
# referencing
97-
six==1.16.0
97+
six==1.17.0
9898
# via
9999
# python-dateutil
100100
# rfc3339-validator
101-
sqlalchemy==2.0.36
101+
sqlalchemy==2.0.37
102102
# via
103103
# alembic
104104
# jupyterhub
@@ -108,17 +108,18 @@ traitlets==5.14.3
108108
# via
109109
# jupyter-events
110110
# jupyterhub
111-
types-python-dateutil==2.9.0.20241003
111+
types-python-dateutil==2.9.0.20241206
112112
# via arrow
113113
typing-extensions==4.12.2
114114
# via
115115
# alembic
116116
# pydantic
117117
# pydantic-core
118+
# referencing
118119
# sqlalchemy
119120
uri-template==1.3.0
120121
# via jsonschema
121-
urllib3==2.2.3
122+
urllib3==2.3.0
122123
# via requests
123124
webcolors==24.11.1
124125
# via jsonschema

0 commit comments

Comments
 (0)