Switched to calver managed by hatch

This commit is contained in:
2025-05-20 10:01:19 +01:00
parent 2cf44242fa
commit 84595fa54f
4 changed files with 2026 additions and 1633 deletions

View File

@@ -6,6 +6,6 @@
# modify it under the terms of the MIT License; see LICENSE file for more # modify it under the terms of the MIT License; see LICENSE file for more
# details. # details.
"""Version data for this python module.""" """Metadata for this python module."""
version = "0.13.3" __version__ = "2025.5.20"

View File

@@ -8,7 +8,7 @@
"""invenio module that adds I-Form configs.""" """invenio module that adds I-Form configs."""
from .__version__ import version as __version__ from .__about__ import __version__
from .ext import InvenioConfigIform from .ext import InvenioConfigIform
from .utils import get_identity_from_user_by_email from .utils import get_identity_from_user_by_email

View File

@@ -53,6 +53,7 @@ invenio_config_iform = "invenio_config_iform.config"
invenio_config_iform = "invenio_config_iform.ext:finalize_app" invenio_config_iform = "invenio_config_iform.ext:finalize_app"
[dependency-groups] [dependency-groups]
dev = ["hatch>=1.14.1", "pydocstyle>=6.3.0", "ruff>=0.11.7"]
tests = [ tests = [
"invenio-app>=1.5.0", "invenio-app>=1.5.0",
"invenio-search[opensearch2]>=2.1.0", "invenio-search[opensearch2]>=2.1.0",
@@ -63,11 +64,12 @@ tests = [
] ]
[build-system] [build-system]
requires = ["hatchling"] requires = ["hatchling", "hatch-calver"]
build-backend = "hatchling.build" build-backend = "hatchling.build"
[tool.hatch.version] [tool.hatch.version]
path = "invenio_config_iform/__version__.py" scheme = "calver"
path = "invenio_config_iform/__about__.py"
[tool.hatch.build] [tool.hatch.build]
include = ["invenio_config_iform"] include = ["invenio_config_iform"]

3647
uv.lock generated

File diff suppressed because it is too large Load Diff