From 172118b067d8513d95b0da3ec6ad22a7b9f12f06 Mon Sep 17 00:00:00 2001 From: Ian Thomas Date: Fri, 15 Mar 2024 14:10:06 +0000 Subject: [PATCH] Use correct versioning (#550) --- ipympl/_version.py | 2 +- pyproject.toml | 8 +++++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ipympl/_version.py b/ipympl/_version.py index f0dda481..e477f98f 100644 --- a/ipympl/_version.py +++ b/ipympl/_version.py @@ -1,3 +1,3 @@ -version_info = (0, 9, 3) +version_info = (0, 9, 4, "dev", 1) __version__ = '.'.join(map(str, version_info)) js_semver = '^0.11' diff --git a/pyproject.toml b/pyproject.toml index 1d3bd41c..e0ce26b8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -50,7 +50,9 @@ dependencies = [ "traitlets<6", ] requires-python = ">=3.9" -version = "0.9.4.dev1" +dynamic = [ + "version", +] [project.optional-dependencies] docs = [ @@ -106,6 +108,10 @@ npm = ["jlpm"] [tool.hatch.build.hooks.jupyter-builder.editable-build-kwargs] npm = ["jlpm"] +[tool.hatch.version] +path = "ipympl/_version.py" +source = "code" + [tool.pytest.ini_options] testpaths = [ "docs/examples",