audit-labs/tutorials

Archived

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

Commit 15d36d0032

15d36d0032f66b5d7df544a2c24d137b95aa35fc

parent: cf773b8b9f

Unsigned

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

Upgrade pinned requirements, require Python 3.12 (!1)

Regenerates requirements.txt for Python 3.12 with all packages at latest (pandas 3.1, numpy 2.5, ipython 9, pillow 13, matplotlib 3.11, python-dateutil 3, soupsieve 3). All four notebooks execute cleanly.

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
39## Getting started 39## Getting started
40 40
41### Prerequisites 41### Prerequisites
42- Python 3.10+ (3.10 recommended) 42- Python 3.12+ (3.12 recommended)
43- Git (to clone the repo) 43- Git (to clone the repo)
44- JupyterLab or Jupyter Notebook (for local development) 44- JupyterLab or Jupyter Notebook (for local development)
45 45
environment.yml +1 −1
@@ -5,7 +5,7 @@ name: audit-tutorials
5channels: 5channels:
6 - conda-forge 6 - conda-forge
7dependencies: 7dependencies:
8 - python=3.10 8 - python=3.12
9 - pip 9 - pip
10 - pandas>=2.3.3 10 - pandas>=2.3.3
11 - numpy>=1.26 11 - numpy>=1.26
notebooks/racf_access_analysis/racf_access_analysis.ipynb +1 −1
@@ -479,7 +479,7 @@
479 "].copy()\n", 479 "].copy()\n",
480 "follow_up[\"Notes\"] = \"Review access appropriateness with system owner\"\n", 480 "follow_up[\"Notes\"] = \"Review access appropriateness with system owner\"\n",
481 "\n", 481 "\n",
482 "follow_up.reset_index(drop=True, inplace=True)\n", 482 "follow_up = follow_up.reset_index(drop=True)\n",
483 "follow_up" 483 "follow_up"
484 ] 484 ]
485 }, 485 },
requirements.txt +75 −67
@@ -1,6 +1,12 @@
1# This file was autogenerated by uv via the following command: 1# This file was autogenerated by uv via the following command:
2# uv pip compile requirements.in -o requirements.txt --python-version 3.10 2# uv pip compile requirements.in -o requirements.txt --python-version 3.12
3anyio==4.14.2 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
4 # via 10 # via
5 # httpx 11 # httpx
6 # jupyter-server 12 # jupyter-server
@@ -14,10 +20,11 @@ arrow==1.4.0
14 # via isoduration 20 # via isoduration
15asttokens==3.0.2 21asttokens==3.0.2
16 # via stack-data 22 # via stack-data
17async-lru==2.3.0 23async-lru==2.4.0
18 # via jupyterlab 24 # via jupyterlab
19attrs==26.1.0 25attrs==26.1.0
20 # via 26 # via
27 # aiohttp
21 # jsonschema 28 # jsonschema
22 # referencing 29 # referencing
23babel==2.18.0 30babel==2.18.0
@@ -26,66 +33,67 @@ beautifulsoup4==4.15.0
26 # via nbconvert 33 # via nbconvert
27bleach==6.4.0 34bleach==6.4.0
28 # via nbconvert 35 # via nbconvert
29certifi==2026.7.22 36certifi==2026.10.23
30 # via 37 # via
31 # httpcore 38 # httpcore
32 # httpx 39 # httpx
33 # requests 40 # requests
34cffi==2.1.1 41cffi==2.1.1
35 # via argon2-cffi-bindings 42 # via argon2-cffi-bindings
36charset-normalizer==3.5.1 43charset-normalizer==3.5.2
37 # via requests 44 # via requests
38click==8.4.2 45click==8.5.0
39 # via papermill 46 # via papermill
40comm==0.2.3 47comm==0.2.3
41 # via ipykernel 48 # via ipykernel
42contourpy==1.3.2 49contourpy==1.4.0
43 # via matplotlib 50 # via matplotlib
44cycler==0.12.1 51cycler==0.12.1
45 # via matplotlib 52 # via matplotlib
46debugpy==1.8.21 53debugpy==1.8.22
47 # via ipykernel 54 # via ipykernel
48decorator==5.3.1
49 # via ipython
50defusedxml==0.7.1 55defusedxml==0.7.1
51 # via nbconvert 56 # via nbconvert
52entrypoints==0.4 57entrypoints==0.4.2
53 # via papermill 58 # via papermill
54et-xmlfile==2.0.0 59et-xmlfile==2.0.0
55 # via openpyxl 60 # via openpyxl
56exceptiongroup==1.3.1 61executing==2.3.0
57 # via
58 # anyio
59 # ipython
60executing==2.2.1
61 # via stack-data 62 # via stack-data
62fastjsonschema==2.22.2 63fastjsonschema==2.22.2
63 # via nbformat 64 # via nbformat
64fonttools==4.63.0 65fonttools==4.68.0
65 # via matplotlib 66 # via matplotlib
66fqdn==1.5.1 67fqdn==1.6.0
67 # via jsonschema 68 # via jsonschema
69frozenlist==1.8.0
70 # via
71 # aiohttp
72 # aiosignal
68h11==0.16.0 73h11==0.16.0
69 # via httpcore 74 # via httpcore
70httpcore==1.0.9 75httpcore==1.0.9
71 # via httpx 76 # via httpx
72httpx==0.28.1 77httpx==0.28.1
73 # via jupyterlab 78 # via jupyterlab
74idna==3.19 79idna==3.20
75 # via 80 # via
76 # anyio 81 # anyio
77 # httpx 82 # httpx
78 # jsonschema 83 # jsonschema
79 # requests 84 # requests
80ipykernel==7.3.0 85 # yarl
86ipykernel==7.4.0
81 # via 87 # via
82 # -r requirements.in 88 # -r requirements.in
83 # jupyterlab 89 # jupyterlab
84ipython==8.39.0 90ipython==9.18.0
85 # via ipykernel 91 # via ipykernel
92ipython-pygments-lexers==1.1.1
93 # via ipython
86isoduration==20.11.0 94isoduration==20.11.0
87 # via jsonschema 95 # via jsonschema
88jedi==0.20.0 96jedi==0.20.1
89 # via ipython 97 # via ipython
90jinja2==3.1.6 98jinja2==3.1.6
91 # via 99 # via
@@ -93,9 +101,9 @@ jinja2==3.1.6
93 # jupyterlab 101 # jupyterlab
94 # jupyterlab-server 102 # jupyterlab-server
95 # nbconvert 103 # nbconvert
96json5==0.15.0 104json5==0.17.3
97 # via jupyterlab-server 105 # via jupyterlab-server
98jsonpointer==3.1.1 106jsonpointer==3.6
99 # via jsonschema 107 # via jsonschema
100jsonschema==4.26.0 108jsonschema==4.26.0
101 # via 109 # via
@@ -104,9 +112,9 @@ jsonschema==4.26.0
104 # nbformat 112 # nbformat
105jsonschema-specifications==2025.9.1 113jsonschema-specifications==2025.9.1
106 # via jsonschema 114 # via jsonschema
107jupyter-builder==1.2.2 115jupyter-builder==1.2.4
108 # via jupyterlab 116 # via jupyterlab
109jupyter-client==8.9.1 117jupyter-client==8.10.0
110 # via 118 # via
111 # ipykernel 119 # ipykernel
112 # jupyter-server 120 # jupyter-server
@@ -125,7 +133,7 @@ jupyter-events==0.12.1
125 # via jupyter-server 133 # via jupyter-server
126jupyter-lsp==2.3.1 134jupyter-lsp==2.3.1
127 # via jupyterlab 135 # via jupyterlab
128jupyter-server==2.20.0 136jupyter-server==2.21.1
129 # via 137 # via
130 # jupyter-lsp 138 # jupyter-lsp
131 # jupyterlab 139 # jupyterlab
@@ -133,21 +141,21 @@ jupyter-server==2.20.0
133 # notebook-shim 141 # notebook-shim
134jupyter-server-terminals==0.5.4 142jupyter-server-terminals==0.5.4
135 # via jupyter-server 143 # via jupyter-server
136jupyterlab==4.6.3 144jupyterlab==4.6.5
137 # via -r requirements.in 145 # via -r requirements.in
138jupyterlab-pygments==0.3.0 146jupyterlab-pygments==0.3.0
139 # via nbconvert 147 # via nbconvert
140jupyterlab-server==2.28.0 148jupyterlab-server==2.28.1
141 # via jupyterlab 149 # via jupyterlab
142kiwisolver==1.5.0 150kiwisolver==1.5.1
143 # via matplotlib 151 # via matplotlib
144lark==1.3.1 152lark==1.3.1
145 # via rfc3987-syntax 153 # via rfc3987-syntax
146markupsafe==3.0.3 154markupsafe==3.0.4
147 # via 155 # via
148 # jinja2 156 # jinja2
149 # nbconvert 157 # nbconvert
150matplotlib==3.10.9 158matplotlib==3.11.2
151 # via 159 # via
152 # -r requirements.in 160 # -r requirements.in
153 # seaborn 161 # seaborn
@@ -155,14 +163,18 @@ matplotlib-inline==0.2.2
155 # via 163 # via
156 # ipykernel 164 # ipykernel
157 # ipython 165 # ipython
158mistune==3.3.4 166mistune==3.4.0
159 # via nbconvert 167 # via nbconvert
168multidict==7.2.1
169 # via
170 # aiohttp
171 # yarl
160nbclient==0.11.0 172nbclient==0.11.0
161 # via 173 # via
162 # -r requirements.in 174 # -r requirements.in
163 # nbconvert 175 # nbconvert
164 # papermill 176 # papermill
165nbconvert==7.17.1 177nbconvert==7.17.2
166 # via 178 # via
167 # -r requirements.in 179 # -r requirements.in
168 # jupyter-server 180 # jupyter-server
@@ -172,11 +184,11 @@ nbformat==5.11.1
172 # nbclient 184 # nbclient
173 # nbconvert 185 # nbconvert
174 # papermill 186 # papermill
175nest-asyncio2==1.7.2 187nest-asyncio2==1.7.4
176 # via ipykernel 188 # via ipykernel
177notebook-shim==0.2.4 189notebook-shim==0.2.4
178 # via jupyterlab 190 # via jupyterlab
179numpy==2.2.6 191numpy==2.5.4
180 # via 192 # via
181 # -r requirements.in 193 # -r requirements.in
182 # contourpy 194 # contourpy
@@ -185,8 +197,6 @@ numpy==2.2.6
185 # seaborn 197 # seaborn
186openpyxl==3.1.5 198openpyxl==3.1.5
187 # via -r requirements.in 199 # via -r requirements.in
188overrides==7.7.0
189 # via jupyter-server
190packaging==26.3 200packaging==26.3
191 # via 201 # via
192 # ipykernel 202 # ipykernel
@@ -196,7 +206,7 @@ packaging==26.3
196 # jupyterlab-server 206 # jupyterlab-server
197 # matplotlib 207 # matplotlib
198 # nbconvert 208 # nbconvert
199pandas==2.3.3 209pandas==3.1.0
200 # via 210 # via
201 # -r requirements.in 211 # -r requirements.in
202 # seaborn 212 # seaborn
@@ -208,31 +218,36 @@ parso==0.8.7
208 # via jedi 218 # via jedi
209pexpect==4.9.0 219pexpect==4.9.0
210 # via ipython 220 # via ipython
211pillow==12.3.0 221pillow==13.0.0
212 # via matplotlib 222 # via matplotlib
213platformdirs==4.11.3 223platformdirs==4.14.2
214 # via jupyter-core 224 # via jupyter-core
215prometheus-client==0.26.0 225prometheus-client==0.26.0
216 # via jupyter-server 226 # via jupyter-server
217prompt-toolkit==3.0.53 227prompt-toolkit==3.0.53
218 # via ipython 228 # via ipython
229propcache==0.5.4
230 # via
231 # aiohttp
232 # yarl
219psutil==7.2.2 233psutil==7.2.2
220 # via ipykernel 234 # via ipython
221ptyprocess==0.7.0 235ptyprocess==0.7.0
222 # via 236 # via
223 # pexpect 237 # pexpect
224 # terminado 238 # terminado
225pure-eval==0.2.3 239pure-eval==0.2.4
226 # via stack-data 240 # via stack-data
227pycparser==3.0 241pycparser==3.12
228 # via cffi 242 # via cffi
229pygments==2.21.0 243pygments==2.21.0
230 # via 244 # via
231 # ipython 245 # ipython
246 # ipython-pygments-lexers
232 # nbconvert 247 # nbconvert
233pyparsing==3.3.2 248pyparsing==3.3.3
234 # via matplotlib 249 # via matplotlib
235python-dateutil==2.9.0.post0 250python-dateutil==3.0.0
236 # via 251 # via
237 # arrow 252 # arrow
238 # jupyter-client 253 # jupyter-client
@@ -240,8 +255,6 @@ python-dateutil==2.9.0.post0
240 # pandas 255 # pandas
241python-json-logger==4.2.0 256python-json-logger==4.2.0
242 # via jupyter-events 257 # via jupyter-events
243pytz==2026.3.post1
244 # via pandas
245pyyaml==6.0.3 258pyyaml==6.0.3
246 # via 259 # via
247 # jupyter-events 260 # jupyter-events
@@ -270,7 +283,7 @@ rfc3986-validator==0.1.1
270 # jupyter-events 283 # jupyter-events
271rfc3987-syntax==1.1.0 284rfc3987-syntax==1.1.0
272 # via jsonschema 285 # via jsonschema
273rpds-py==0.30.0 286rpds-py==2026.9.1
274 # via 287 # via
275 # jsonschema 288 # jsonschema
276 # referencing 289 # referencing
@@ -282,11 +295,11 @@ six==1.17.0
282 # via 295 # via
283 # python-dateutil 296 # python-dateutil
284 # rfc3339-validator 297 # rfc3339-validator
285soupsieve==2.9.2 298soupsieve==3.0.4
286 # via beautifulsoup4 299 # via beautifulsoup4
287stack-data==0.6.3 300stack-data==0.6.3
288 # via ipython 301 # via ipython
289tenacity==9.1.4 302tenacity==9.2.1
290 # via papermill 303 # via papermill
291terminado==0.18.1 304terminado==0.18.1
292 # via 305 # via
@@ -294,18 +307,14 @@ terminado==0.18.1
294 # jupyter-server-terminals 307 # jupyter-server-terminals
295tinycss2==1.5.1 308tinycss2==1.5.1
296 # via bleach 309 # via bleach
297tomli==2.4.1 310tornado==6.6
298 # via
299 # jupyter-builder
300 # jupyterlab
301tornado==6.5.8
302 # via 311 # via
303 # ipykernel 312 # ipykernel
304 # jupyter-client 313 # jupyter-client
305 # jupyter-server 314 # jupyter-server
306 # jupyterlab 315 # jupyterlab
307 # terminado 316 # terminado
308tqdm==4.70.0 317tqdm==4.70.1
309 # via papermill 318 # via papermill
310traitlets==5.16.1 319traitlets==5.16.1
311 # via 320 # via
@@ -323,24 +332,21 @@ traitlets==5.16.1
323 # nbformat 332 # nbformat
324typing-extensions==4.16.0 333typing-extensions==4.16.0
325 # via 334 # via
335 # aiohttp
336 # aiosignal
326 # anyio 337 # anyio
327 # async-lru
328 # beautifulsoup4 338 # beautifulsoup4
329 # exceptiongroup
330 # ipython
331 # jupyter-client 339 # jupyter-client
332 # jupyterlab
333 # mistune
334 # referencing 340 # referencing
335tzdata==2026.3 341tzdata==2026.6
336 # via 342 # via
337 # arrow 343 # arrow
338 # pandas 344 # python-dateutil
339uri-template==1.3.0 345uri-template==1.3.0
340 # via jsonschema 346 # via jsonschema
341urllib3==2.7.0 347urllib3==2.8.0
342 # via requests 348 # via requests
343wcwidth==0.8.2 349wcwidth==0.9.4
344 # via prompt-toolkit 350 # via prompt-toolkit
345webcolors==25.10.0 351webcolors==25.10.0
346 # via jsonschema 352 # via jsonschema
@@ -348,5 +354,7 @@ webencodings==0.6.1
348 # via 354 # via
349 # bleach 355 # bleach
350 # tinycss2 356 # tinycss2
351websocket-client==1.9.0 357websocket-client==1.9.2
352 # via jupyter-server 358 # via jupyter-server
359yarl==1.25.1
360 # via aiohttp