11[build-system ]
2+ build-backend = " hatchling.build"
23requires = [
3- " hatchling" ,
4- " jupyterlab~ =4.0" ,
4+ " hatchling>=1.18 " ,
5+ " jupyterlab> =4.0.5 " ,
56]
6- build-backend = " hatchling.build"
77
88[project ]
99name = " ipydatagrid"
10+ version = " 1.2.0"
1011description = " Fast Datagrid widget for the Jupyter Notebook and JupyterLab"
1112readme = " README.md"
12- requires-python = " >=3.7"
13+ keywords = [
14+ " IPython" ,
15+ " Jupyter" ,
16+ " Widgets" ,
17+ ]
1318authors = [
1419 { name = " Bloomberg" },
1520]
16- keywords = [
17- " IPython" ,
18- " Jupyter" ,
19- " Widgets" ,
20- ]
21+ requires-python = " >=3.7"
2122classifiers = [
22- " Framework :: Jupyter" ,
23- " Intended Audience :: Developers" ,
24- " Intended Audience :: Science/Research" ,
25- " License :: OSI Approved :: BSD License" ,
26- " Programming Language :: Python" ,
27- " Programming Language :: Python :: 3" ,
28- " Programming Language :: Python :: 3 :: Only " ,
29- " Programming Language :: Python :: 3.7 " ,
30- " Programming Language :: Python :: 3.8 " ,
31- " Programming Language :: Python :: 3.9 " ,
32- " Programming Language :: Python :: 3.10 " ,
23+ " Framework :: Jupyter" ,
24+ " Intended Audience :: Developers" ,
25+ " Intended Audience :: Science/Research" ,
26+ " License :: OSI Approved :: BSD License" ,
27+ " Programming Language :: Python" ,
28+ " Programming Language :: Python :: 3 :: Only " ,
29+ " Programming Language :: Python :: 3.7 " ,
30+ " Programming Language :: Python :: 3.8 " ,
31+ " Programming Language :: Python :: 3.9 " ,
32+ " Programming Language :: Python :: 3.10 " ,
33+ " Programming Language :: Python :: 3.11 " ,
3334]
3435dependencies = [
35- " bqplot>=0.11.6" ,
36- " ipywidgets>=7.6.0,<9 " ,
37- " pandas" ,
38- " py2vega>=0.5.0 " ,
36+ " bqplot>=0.11.6" ,
37+ " ipywidgets<9, >=7.6" ,
38+ " pandas>=1.3.5 " , # 1.3.5 is the last version supporting 3.7
39+ " py2vega>=0.5" ,
3940]
40- version = " 1.1.17"
41-
42- [project .license ]
43- file = " LICENSE.txt"
44-
45- [project .optional-dependencies ]
46- test = [
47- " nbval>=0.9" ,
48- " pandas<=1.3.5" ,
49- " pytest-cov>=3" ,
50- " pytest>=6" ,
41+ optional-dependencies.test = [
42+ " nbval>=0.10" ,
43+ " pytest>=7.4" ,
44+ " pytest-cov>=4.1" ,
5145]
52-
53- [project .urls ]
54- Homepage = " https://github.com/bloomberg/ipydatagrid"
46+ urls.Homepage = " https://github.com/bloomberg/ipydatagrid"
47+ project.license = {file = " LICENSE.txt" }
5548
5649[tool .hatch .build ]
5750artifacts = [
5851 " ipydatagrid/nbextension/index.*" ,
5952 " ipydatagrid/labextension" ,
6053]
61-
62- [tool .hatch .build .targets .wheel .shared-data ]
63- "ipydatagrid/nbextension" = " share/jupyter/nbextensions/ipydatagrid"
64- "ipydatagrid/labextension" = " share/jupyter/labextensions/ipydatagrid"
65- "ipydatagrid.json" = " etc/jupyter/nbconfig/notebook.d/ipydatagrid.json"
66-
67- [tool .hatch .build .targets .sdist ]
68- exclude = [
54+ targets.sdist.exclude = [
6955 " .github" ,
7056 " examples" ,
7157 " tests" ,
@@ -82,6 +68,11 @@ exclude = [
8268 " jest*" ,
8369]
8470
71+ [tool .hatch .build .targets .wheel .shared-data ]
72+ "ipydatagrid/nbextension" = " share/jupyter/nbextensions/ipydatagrid"
73+ "ipydatagrid/labextension" = " share/jupyter/labextensions/ipydatagrid"
74+ "ipydatagrid.json" = " etc/jupyter/nbconfig/notebook.d/ipydatagrid.json"
75+
8576[tool .hatch .build .hooks .jupyter-builder ]
8677ensured-targets = [
8778 " ipydatagrid/nbextension/index.js" ,
@@ -99,6 +90,10 @@ npm = [
9990 " jlpm" ,
10091]
10192
93+ [tool .black ]
94+ line-length = 80
95+ exclude = " /(\n \\ .eggs\n | \\ .git\n | \\ .hg\n | \\ .mypy_cache\n | \\ .tox\n | \\ .venv\n | _build\n | buck-out\n | build\n | dist\n )/\n "
96+
10297[tool .isort ]
10398profile = " black"
10499known_first_party = [
@@ -113,18 +108,14 @@ disable = "C0330, C0326"
113108[tool .pylint .format ]
114109max-line-length = " 80"
115110
116- [tool .black ]
117- line-length = 80
118- exclude = " /(\n \\ .eggs\n | \\ .git\n | \\ .hg\n | \\ .mypy_cache\n | \\ .tox\n | \\ .venv\n | _build\n | buck-out\n | build\n | dist\n )/\n "
119-
120111[tool .tbump ]
121112field = [
122113 { name = " channel" , default = " " },
123114 { name = " release" , default = " " },
124115]
125116
126117[tool .tbump .version ]
127- current = " 1.1.17 "
118+ current = " 1.2.0 "
128119regex = " (?P<major>\\ d+)\\ .(?P<minor>\\ d+)\\ .(?P<patch>\\ d+)((?P<channel>a|b|rc|.dev)(?P<release>\\ d+))?"
129120
130121[tool .tbump .git ]
0 commit comments