1
1
[build-system ]
2
- requires = [" hatchling" ]
2
+ requires = [" hatchling" , " hatch-vcs " ]
3
3
build-backend = " hatchling.build"
4
4
5
+
5
6
[project ]
6
7
name = " papermill"
7
- dynamic = [" version" ]
8
8
description = " Parameterize and run Jupyter and nteract Notebooks"
9
9
readme = " README.md"
10
10
license = " BSD-3-clause"
@@ -43,105 +43,7 @@ dependencies = [
43
43
" tenacity >= 5.0.2" ,
44
44
" tqdm >= 4.32.2" ,
45
45
]
46
-
47
- [project .optional-dependencies ]
48
- all = [
49
- " azure-datalake-store >= 0.0.30" ,
50
- " azure-identity>=1.3.1" ,
51
- " azure-storage-blob >= 12.1.0" ,
52
- " black >= 23.11.0" ,
53
- " boto3" ,
54
- " gcsfs>=0.2.0" ,
55
- " pyarrow >= 2.0" ,
56
- " PyGithub >= 1.55" ,
57
- " requests >= 2.21.0" ,
58
- ]
59
- azure = [
60
- " azure-datalake-store >= 0.0.30" ,
61
- " azure-identity>=1.3.1" ,
62
- " azure-storage-blob >= 12.1.0" ,
63
- " requests >= 2.21.0" ,
64
- ]
65
- dev = [
66
- " attrs>=17.4.0" ,
67
- " azure-datalake-store >= 0.0.30" ,
68
- " azure-identity>=1.3.1" ,
69
- " azure-storage-blob >= 12.1.0" ,
70
- " black >= 23.11.0" ,
71
- " boto3" ,
72
- " boto3" ,
73
- " botocore" ,
74
- " bumpversion" ,
75
- " check-manifest" ,
76
- " codecov" ,
77
- " coverage" ,
78
- " flake8" ,
79
- " Flake8-pyproject" ,
80
- " gcsfs>=0.2.0" ,
81
- " google_compute_engine" ,
82
- " ipython>=5.0" ,
83
- " ipywidgets" ,
84
- " moto" ,
85
- " notebook" ,
86
- " pip>=18.1" ,
87
- " pre-commit" ,
88
- " pytest-cov>=2.6.1" ,
89
- " pytest-env>=0.6.2" ,
90
- " pytest-mock>=1.10" ,
91
- " pytest>=4.1" ,
92
- " recommonmark" ,
93
- " requests >= 2.21.0" ,
94
- " requests >= 2.21.0" ,
95
- " setuptools>=38.6.0" ,
96
- " twine>=1.11.0" ,
97
- " wheel>=0.31.0" ,
98
- ]
99
- gcs = [
100
- " gcsfs>=0.2.0" ,
101
- ]
102
- github = [
103
- " PyGithub >= 1.55" ,
104
- ]
105
- hdfs = [
106
- " pyarrow >= 2.0" ,
107
- ]
108
- s3 = [
109
- " boto3" ,
110
- ]
111
- test = [
112
- " attrs>=17.4.0" ,
113
- " azure-datalake-store >= 0.0.30" ,
114
- " azure-identity>=1.3.1" ,
115
- " azure-storage-blob >= 12.1.0" ,
116
- " black >= 23.11.0" ,
117
- " boto3" ,
118
- " boto3" ,
119
- " botocore" ,
120
- " bumpversion" ,
121
- " check-manifest" ,
122
- " codecov" ,
123
- " coverage" ,
124
- " flake8" ,
125
- " gcsfs>=0.2.0" ,
126
- " google_compute_engine" ,
127
- " ipython>=5.0" ,
128
- " ipywidgets" ,
129
- " moto" ,
130
- " notebook" ,
131
- " pip>=18.1" ,
132
- " pre-commit" ,
133
- " pytest-cov>=2.6.1" ,
134
- " pytest-env>=0.6.2" ,
135
- " pytest-mock>=1.10" ,
136
- " pytest>=4.1" ,
137
- " recommonmark" ,
138
- " requests >= 2.21.0" ,
139
- " requests >= 2.21.0" ,
140
- " setuptools>=38.6.0" ,
141
- " tox" ,
142
- " twine>=1.11.0" ,
143
- " wheel>=0.31.0" ,
144
- ]
46
+ dynamic = [" version" ]
145
47
146
48
[project .scripts ]
147
49
papermill = " papermill.__main__:papermill"
@@ -154,14 +56,16 @@ Source = "https://github.com/nteract/papermill/"
154
56
Tracker = " https://github.com/nteract/papermill/issues"
155
57
156
58
[tool .hatch .version ]
157
- path = " papermill/version.py"
59
+ source = " vcs"
60
+
61
+ [tool .hatch .build .hooks .vcs ]
62
+ version-file = " papermill/version.py"
158
63
159
64
[tool .hatch .build .targets .sdist ]
160
65
include = [
161
66
" /papermill" ,
162
67
]
163
68
164
- # Test environment
165
69
[[tool .hatch .envs .test .matrix ]]
166
70
python = [" 3.8" , " 3.9" , " 3.10" , " 3.11" , " 3.12" ]
167
71
@@ -206,28 +110,17 @@ cov = "pytest --cov-report=term-missing --cov-config=pyproject.toml --cov=hatch_
206
110
no-cov = " cov --no-cov"
207
111
208
112
[tool .hatch .envs .docs ]
209
- template =" default"
210
- extra-dependencies = [
211
- " azure-datalake-store >= 0.0.30" ,
212
- " azure-identity>=1.3.1" ,
213
- " azure-storage-blob >= 12.1.0" ,
214
- " black >= 23.11.0" ,
215
- " boto3" ,
216
- " entrypoints" ,
217
- " furo>=2023.9.10" ,
218
- " gcsfs>=0.2.0" ,
219
- " moto>=4.2.8" ,
220
- " myst-parser>=2.0.0" ,
221
- " nbformat" ,
222
- " pyarrow >= 2.0" ,
223
- " PyGithub >= 1.55" ,
224
- " requests >= 2.21.0" ,
113
+ dependencies = [
225
114
" sphinx-copybutton>=0.5.2" ,
115
+ " sphinx-autobuild" ,
226
116
" Sphinx>=7.2.6" ,
227
117
]
118
+
228
119
[tool .hatch .envs .docs .scripts ]
229
120
build = " sphinx-build docs docs_out --color -W -bhtml"
230
- build-ci = " sphinx-build docs docs_out --color -W -bhtml"
121
+ clean = " rm -rf docs_out"
122
+ serve = " sphinx-autobuild docs docs_out/index.html"
123
+ ci-build = " sphinx-build docs docs_out --color -W -bhtml"
231
124
232
125
[tool .pytest .ini_options ]
233
126
minversion = " 6.0"
0 commit comments