Commit c2e9e17
authored
Sync requirements.txt with pyproject.toml runtime deps (#1085)
requirements.txt was missing pydantic, pyyaml, and numpy, which are all
declared runtime dependencies in pyproject.toml. pip install uses
pyproject.toml so most users were unaffected, but anyone installing via
'pip install -r requirements.txt' (dev/CI setups) would hit
'ModuleNotFoundError: No module named pydantic' at runtime.
pydantic underpins the JSON output schema (scalene_json.py) and the
LineNumber type in scalene_statistics.py, so it is a hard dependency.1 parent 6551a40 commit c2e9e17
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
| 11 | + | |
| 12 | + | |
9 | 13 | | |
10 | 14 | | |
11 | 15 | | |
| |||
0 commit comments