Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (57 loc) · 1.78 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (57 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
[project]
name = "python-public-policy"
version = "0.0.0"
requires-python = ">=3.12"
dependencies = [
# local development
"jupyterlab",
"notebook==7.*",
"ruff",
# extensions
"jupyter-resource-usage",
# packages imported directly in notebooks
# .python-version should match version in Colab returned by `!python --version`. Below, match versions in Colab returned by `!pip list` for packages where the interface may change.
# required for pandas' read_html()
"html5lib",
"lxml",
"pandas==2.2.3",
# Using v6 (newer than Colab) to avoid the need for the plugin in the base environment, and 6.0.1+ to avoid a bug in the HTML export.
# https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#301----2025-02-18
"plotly>=6.0.1",
# newer version for a security update
# https://github.com/psf/requests/releases/tag/v2.33.0
"requests==2.33.0",
"statsmodels==0.15.0",
"scipy",
# supporting packages for notebooks
"ipykernel",
# https://plotly.com/python/static-image-export/
"kaleido",
# required for plotly rendering
# https://github.com/plotly/plotly.py/blob/v6.0.0/packages/python/plotly/io/_renderers.py#L426
"nbformat>=4.2.0",
# needed for plotly
# https://plotly.com/python/getting-started/#jupyterlab-support
"anywidget",
"isoduration",
"jupyter-book==2.*",
# instructor scripts
"duckdb",
"httpx",
"python-dotenv",
# CI
"jinja2",
"markdown-it-py",
"nbconvert[webpdf]>=7.16.6",
"nbdime",
"pytest",
]
[tool.uv]
package = false
# https://mypy.readthedocs.io/en/stable/config_file.html
[tool.mypy]
check_untyped_defs = true
[tool.pytest.ini_options]
addopts = ["--ignore=extras/autograder/"]
[tool.ruff]
extend-exclude = ["final_project/*.ipynb"]