Skip to content

Commit 8a286fc

Browse files
authored
Use hatch-nodejs-version for the jupyter-leaflet versioning (#1188)
* Use hatch-nodejs-version for the jupyter-leaflet versioning * Update snapshots
1 parent 8a96abe commit 8a286fc

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

python/ipyleaflet/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ keywords = [
1717
"ipython", "jupyter", "widgets", "graphics", "GIS",
1818
]
1919
classifiers = [
20-
"Development Status :: 4 - Beta",
2120
"Intended Audience :: Developers",
2221
"Intended Audience :: Science/Research",
2322
"Topic :: Multimedia :: Graphics",
@@ -38,4 +37,4 @@ dependencies = [
3837
Homepage = "https://github.com/jupyter-widgets/ipyleaflet"
3938

4039
[tool.hatch.build.targets.wheel]
41-
packages = ["ipyleaflet_core", "jupyer_leaflet"]
40+
packages = ["ipyleaflet_core", "jupyer_leaflet"]

python/ipyleaflet_core/pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ keywords = [
1717
"ipython", "jupyter", "widgets", "graphics", "GIS",
1818
]
1919
classifiers = [
20-
"Development Status :: 4 - Beta",
2120
"Intended Audience :: Developers",
2221
"Intended Audience :: Science/Research",
2322
"Topic :: Multimedia :: Graphics",
@@ -50,4 +49,4 @@ select = [
5049
# pycodestyle
5150
"E",
5251
]
53-
ignore = ["E501", "E731"]
52+
ignore = ["E501", "E731"]

python/jupyter_leaflet/pyproject.toml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22
requires = [
33
"hatchling",
44
"jupyterlab==4.*",
5+
"hatch-nodejs-version>=0.3.2",
56
]
67
build-backend = "hatchling.build"
78

89
[project]
910
name = "jupyter-leaflet"
10-
version = "0.18.1"
1111
description = "ipyleaflet extensions for JupyterLab and Jupyter Notebook"
1212
readme = "../../README.md"
1313
authors = [
@@ -17,7 +17,6 @@ keywords = [
1717
"ipython", "jupyter", "widgets", "graphics", "GIS",
1818
]
1919
classifiers = [
20-
"Development Status :: 4 - Beta",
2120
"Intended Audience :: Developers",
2221
"Intended Audience :: Science/Research",
2322
"Topic :: Multimedia :: Graphics",
@@ -29,6 +28,9 @@ classifiers = [
2928
"Programming Language :: Python :: 3.12",
3029
]
3130
requires-python = ">=3.8"
31+
dynamic = [
32+
"version",
33+
]
3234

3335
[project.urls]
3436
Homepage = "https://github.com/jupyter-widgets/ipyleaflet"
@@ -39,6 +41,9 @@ artifacts = [
3941
"labextension",
4042
]
4143

44+
[tool.hatch.version]
45+
source = "nodejs"
46+
4247
[tool.hatch.build.targets.wheel.shared-data]
4348
"nbextension" = "share/jupyter/nbextensions/jupyter-leaflet"
4449
"labextension" = "share/jupyter/labextensions/jupyter-leaflet"
@@ -74,4 +79,4 @@ select = [
7479
# pycodestyle
7580
"E",
7681
]
77-
ignore = ["E501", "E731"]
82+
ignore = ["E501", "E731"]
188 KB
Loading
189 KB
Loading

0 commit comments

Comments
 (0)