Commit d867710
Pin the python-statistics requirements (#828)
Materials folders should pin their dependencies in requirements.txt, which
is what the great majority of folders here already do. This one shipped
with an unpinned requirements.txt and the pins kept separately in a
constraints.txt, so a plain `pip install -r requirements.txt` could pull a
stack the tutorial was never checked against.
Move the pins into requirements.txt, drop constraints.txt, and update the
README's setup step to match.
Re-verified after the change: a virtualenv built from requirements.txt
alone resolves to NumPy 2.5.3, SciPy 1.18.1, pandas 3.0.5 and Matplotlib
3.11.2, all 13 scripts run on it, and ruff format/check pass.
Co-authored-by: Real Python Bot <42617967+realpython-bot@users.noreply.github.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>1 parent ee3b947 commit d867710
3 files changed
Lines changed: 6 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
4 | | - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
0 commit comments