audit-labs/tutorials

Archived

Learn how to perform data analysis, scripting, automation, and more! data-analysis learning scripting tutorials

Commit 7d42f77b34

7d42f77b34600a13e8c4e14026f7a0e4d8c54d8c

parent: cf773b8b9f

Verified · cmc

cmc <hello@cleberg.net> · 2026-10-31 19:42 UTC

Upgrade pinned requirements, require Python 3.12

Regenerate requirements.txt for Python 3.12 with every package at its
latest release. pandas 3.1, numpy 2.5, contourpy 1.4 and soupsieve 3
need Python >= 3.11/3.12, so README and environment.yml move to 3.12.
Replace the deprecated reset_index(inplace=True) in the RACF notebook.

Closes #1
Closes #2

Layout: unified · split

README.md +1 −1
@@ -39,7 +39,7 @@ This repository contains interactive tutorials and example notebooks designed to
3939## Getting started
4040
4141### Prerequisites
42- Python 3.10+ (3.10 recommended)
42- Python 3.12+ (3.12 recommended)
4343- Git (to clone the repo)
4444- JupyterLab or Jupyter Notebook (for local development)
4545
environment.yml +1 −1
@@ -5,7 +5,7 @@ name: audit-tutorials
55channels:
66 - conda-forge
77dependencies:
8 - python=3.10
8 - python=3.12
99 - pip
1010 - pandas>=2.3.3
1111 - numpy>=1.26
notebooks/racf_access_analysis/racf_access_analysis.ipynb +1 −1
@@ -479,7 +479,7 @@
479479 "].copy()\n",
480480 "follow_up[\"Notes\"] = \"Review access appropriateness with system owner\"\n",
481481 "\n",
482 "follow_up.reset_index(drop=True, inplace=True)\n",
482 "follow_up = follow_up.reset_index(drop=True)\n",
483483 "follow_up"
484484 ]
485485 },
requirements.txt +75 −67
@@ -1,6 +1,12 @@
11# This file was autogenerated by uv via the following command:
2# uv pip compile requirements.in -o requirements.txt --python-version 3.10
3anyio==4.14.2
2# uv pip compile requirements.in -o requirements.txt --python-version 3.12
3aiohappyeyeballs==2.7.1
4 # via aiohttp
5aiohttp==3.14.5
6 # via papermill
7aiosignal==1.4.0
8 # via aiohttp
9anyio==4.15.1
410 # via
511 # httpx
612 # jupyter-server
@@ -14,10 +20,11 @@ arrow==1.4.0
1420 # via isoduration
1521asttokens==3.0.2
1622 # via stack-data
17async-lru==2.3.0
23async-lru==2.4.0
1824 # via jupyterlab
1925attrs==26.1.0
2026 # via
27 # aiohttp
2128 # jsonschema
2229 # referencing
2330babel==2.18.0
@@ -26,66 +33,67 @@ beautifulsoup4==4.15.0
2633 # via nbconvert
2734bleach==6.4.0
2835 # via nbconvert
29certifi==2026.7.22
36certifi==2026.10.23
3037 # via
3138 # httpcore
3239 # httpx
3340 # requests
3441cffi==2.1.1
3542 # via argon2-cffi-bindings
36charset-normalizer==3.5.1
43charset-normalizer==3.5.2
3744 # via requests
38click==8.4.2
45click==8.5.0
3946 # via papermill
4047comm==0.2.3
4148 # via ipykernel
42contourpy==1.3.2
49contourpy==1.4.0
4350 # via matplotlib
4451cycler==0.12.1
4552 # via matplotlib
46debugpy==1.8.21
53debugpy==1.8.22
4754 # via ipykernel
48decorator==5.3.1
49 # via ipython
5055defusedxml==0.7.1
5156 # via nbconvert
52entrypoints==0.4
57entrypoints==0.4.2
5358 # via papermill
5459et-xmlfile==2.0.0
5560 # via openpyxl
56exceptiongroup==1.3.1
57 # via
58 # anyio
59 # ipython
60executing==2.2.1
61executing==2.3.0
6162 # via stack-data
6263fastjsonschema==2.22.2
6364 # via nbformat
64fonttools==4.63.0
65fonttools==4.68.0
6566 # via matplotlib
66fqdn==1.5.1
67fqdn==1.6.0
6768 # via jsonschema
69frozenlist==1.8.0
70 # via
71 # aiohttp
72 # aiosignal
6873h11==0.16.0
6974 # via httpcore
7075httpcore==1.0.9
7176 # via httpx
7277httpx==0.28.1
7378 # via jupyterlab
74idna==3.19
79idna==3.20
7580 # via
7681 # anyio
7782 # httpx
7883 # jsonschema
7984 # requests
80ipykernel==7.3.0
85 # yarl
86ipykernel==7.4.0
8187 # via
8288 # -r requirements.in
8389 # jupyterlab
84ipython==8.39.0
90ipython==9.18.0
8591 # via ipykernel
92ipython-pygments-lexers==1.1.1
93 # via ipython
8694isoduration==20.11.0
8795 # via jsonschema
88jedi==0.20.0
96jedi==0.20.1
8997 # via ipython
9098jinja2==3.1.6
9199 # via
@@ -93,9 +101,9 @@ jinja2==3.1.6
93101 # jupyterlab
94102 # jupyterlab-server
95103 # nbconvert
96json5==0.15.0
104json5==0.17.3
97105 # via jupyterlab-server
98jsonpointer==3.1.1
106jsonpointer==3.6
99107 # via jsonschema
100108jsonschema==4.26.0
101109 # via
@@ -104,9 +112,9 @@ jsonschema==4.26.0
104112 # nbformat
105113jsonschema-specifications==2025.9.1
106114 # via jsonschema
107jupyter-builder==1.2.2
115jupyter-builder==1.2.4
108116 # via jupyterlab
109jupyter-client==8.9.1
117jupyter-client==8.10.0
110118 # via
111119 # ipykernel
112120 # jupyter-server
@@ -125,7 +133,7 @@ jupyter-events==0.12.1
125133 # via jupyter-server
126134jupyter-lsp==2.3.1
127135 # via jupyterlab
128jupyter-server==2.20.0
136jupyter-server==2.21.1
129137 # via
130138 # jupyter-lsp
131139 # jupyterlab
@@ -133,21 +141,21 @@ jupyter-server==2.20.0
133141 # notebook-shim
134142jupyter-server-terminals==0.5.4
135143 # via jupyter-server
136jupyterlab==4.6.3
144jupyterlab==4.6.5
137145 # via -r requirements.in
138146jupyterlab-pygments==0.3.0
139147 # via nbconvert
140jupyterlab-server==2.28.0
148jupyterlab-server==2.28.1
141149 # via jupyterlab
142kiwisolver==1.5.0
150kiwisolver==1.5.1
143151 # via matplotlib
144152lark==1.3.1
145153 # via rfc3987-syntax
146markupsafe==3.0.3
154markupsafe==3.0.4
147155 # via
148156 # jinja2
149157 # nbconvert
150matplotlib==3.10.9
158matplotlib==3.11.2
151159 # via
152160 # -r requirements.in
153161 # seaborn
@@ -155,14 +163,18 @@ matplotlib-inline==0.2.2
155163 # via
156164 # ipykernel
157165 # ipython
158mistune==3.3.4
166mistune==3.4.0
159167 # via nbconvert
168multidict==7.2.1
169 # via
170 # aiohttp
171 # yarl
160172nbclient==0.11.0
161173 # via
162174 # -r requirements.in
163175 # nbconvert
164176 # papermill
165nbconvert==7.17.1
177nbconvert==7.17.2
166178 # via
167179 # -r requirements.in
168180 # jupyter-server
@@ -172,11 +184,11 @@ nbformat==5.11.1
172184 # nbclient
173185 # nbconvert
174186 # papermill
175nest-asyncio2==1.7.2
187nest-asyncio2==1.7.4
176188 # via ipykernel
177189notebook-shim==0.2.4
178190 # via jupyterlab
179numpy==2.2.6
191numpy==2.5.4
180192 # via
181193 # -r requirements.in
182194 # contourpy
@@ -185,8 +197,6 @@ numpy==2.2.6
185197 # seaborn
186198openpyxl==3.1.5
187199 # via -r requirements.in
188overrides==7.7.0
189 # via jupyter-server
190200packaging==26.3
191201 # via
192202 # ipykernel
@@ -196,7 +206,7 @@ packaging==26.3
196206 # jupyterlab-server
197207 # matplotlib
198208 # nbconvert
199pandas==2.3.3
209pandas==3.1.0
200210 # via
201211 # -r requirements.in
202212 # seaborn
@@ -208,31 +218,36 @@ parso==0.8.7
208218 # via jedi
209219pexpect==4.9.0
210220 # via ipython
211pillow==12.3.0
221pillow==13.0.0
212222 # via matplotlib
213platformdirs==4.11.3
223platformdirs==4.14.2
214224 # via jupyter-core
215225prometheus-client==0.26.0
216226 # via jupyter-server
217227prompt-toolkit==3.0.53
218228 # via ipython
229propcache==0.5.4
230 # via
231 # aiohttp
232 # yarl
219233psutil==7.2.2
220 # via ipykernel
234 # via ipython
221235ptyprocess==0.7.0
222236 # via
223237 # pexpect
224238 # terminado
225pure-eval==0.2.3
239pure-eval==0.2.4
226240 # via stack-data
227pycparser==3.0
241pycparser==3.12
228242 # via cffi
229243pygments==2.21.0
230244 # via
231245 # ipython
246 # ipython-pygments-lexers
232247 # nbconvert
233pyparsing==3.3.2
248pyparsing==3.3.3
234249 # via matplotlib
235python-dateutil==2.9.0.post0
250python-dateutil==3.0.0
236251 # via
237252 # arrow
238253 # jupyter-client
@@ -240,8 +255,6 @@ python-dateutil==2.9.0.post0
240255 # pandas
241256python-json-logger==4.2.0
242257 # via jupyter-events
243pytz==2026.3.post1
244 # via pandas
245258pyyaml==6.0.3
246259 # via
247260 # jupyter-events
@@ -270,7 +283,7 @@ rfc3986-validator==0.1.1
270283 # jupyter-events
271284rfc3987-syntax==1.1.0
272285 # via jsonschema
273rpds-py==0.30.0
286rpds-py==2026.9.1
274287 # via
275288 # jsonschema
276289 # referencing
@@ -282,11 +295,11 @@ six==1.17.0
282295 # via
283296 # python-dateutil
284297 # rfc3339-validator
285soupsieve==2.9.2
298soupsieve==3.0.4
286299 # via beautifulsoup4
287300stack-data==0.6.3
288301 # via ipython
289tenacity==9.1.4
302tenacity==9.2.1
290303 # via papermill
291304terminado==0.18.1
292305 # via
@@ -294,18 +307,14 @@ terminado==0.18.1
294307 # jupyter-server-terminals
295308tinycss2==1.5.1
296309 # via bleach
297tomli==2.4.1
298 # via
299 # jupyter-builder
300 # jupyterlab
301tornado==6.5.8
310tornado==6.6
302311 # via
303312 # ipykernel
304313 # jupyter-client
305314 # jupyter-server
306315 # jupyterlab
307316 # terminado
308tqdm==4.70.0
317tqdm==4.70.1
309318 # via papermill
310319traitlets==5.16.1
311320 # via
@@ -323,24 +332,21 @@ traitlets==5.16.1
323332 # nbformat
324333typing-extensions==4.16.0
325334 # via
335 # aiohttp
336 # aiosignal
326337 # anyio
327 # async-lru
328338 # beautifulsoup4
329 # exceptiongroup
330 # ipython
331339 # jupyter-client
332 # jupyterlab
333 # mistune
334340 # referencing
335tzdata==2026.3
341tzdata==2026.6
336342 # via
337343 # arrow
338 # pandas
344 # python-dateutil
339345uri-template==1.3.0
340346 # via jsonschema
341urllib3==2.7.0
347urllib3==2.8.0
342348 # via requests
343wcwidth==0.8.2
349wcwidth==0.9.4
344350 # via prompt-toolkit
345351webcolors==25.10.0
346352 # via jsonschema
@@ -348,5 +354,7 @@ webencodings==0.6.1
348354 # via
349355 # bleach
350356 # tinycss2
351websocket-client==1.9.0
357websocket-client==1.9.2
352358 # via jupyter-server
359yarl==1.25.1
360 # via aiohttp