From f053233f82d534a2578d81afa0e04d33e2e475fe Mon Sep 17 00:00:00 2001 From: VianneyMI Date: Sun, 24 Aug 2025 17:14:39 +0200 Subject: [PATCH 1/2] Fix build system config --- pyproject.toml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index b65e355..63bd62e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,25 @@ # pyproject.toml +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["src/monggregate"] + +[tool.hatch.build.targets.sdist] +include = [ + "/src", + "/LICENSE", + "/readme.md", + "/pyproject.toml", +] + [project] name = "monggregate" version = "0.22.0" description = "MongoDB aggregation pipelines made easy. Joins, grouping, counting and much more..." -readme = "README.md" +readme = "readme.md" authors = [{ name = "Vianney Mixtur", email = "vianney.mixtur@outlook.fr" }] license = { file = "LICENSE" } classifiers = [ From f6dc864db78b6ab3a5108d1395aae5beec045a6c Mon Sep 17 00:00:00 2001 From: VianneyMI Date: Sun, 24 Aug 2025 16:37:47 +0200 Subject: [PATCH 2/2] bump version 0.22.0 -> 0.22.1 --- pyproject.toml | 4 ++-- src/monggregate/__init__.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 63bd62e..6e78b3e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -17,7 +17,7 @@ include = [ [project] name = "monggregate" -version = "0.22.0" +version = "0.22.1" description = "MongoDB aggregation pipelines made easy. Joins, grouping, counting and much more..." readme = "readme.md" authors = [{ name = "Vianney Mixtur", email = "vianney.mixtur@outlook.fr" }] @@ -48,7 +48,7 @@ Homepage = "https://github.com/VianneyMI/monggregate" documentation = "https://vianneymi.github.io/monggregate/" [tool.bumpver] -current_version = "0.22.0" +current_version = "0.22.1" version_pattern = "MAJOR.MINOR.PATCH[PYTAGNUM]" commit_message = "bump version {old_version} -> {new_version}" commit = true diff --git a/src/monggregate/__init__.py b/src/monggregate/__init__.py index fa94b1d..8050ce6 100644 --- a/src/monggregate/__init__.py +++ b/src/monggregate/__init__.py @@ -5,7 +5,7 @@ __all__ = ["Pipeline", "S", "SS"] -__version__ = "0.22.0" +__version__ = "0.22.1" __author__ = "Vianney Mixtur" __contact__ = "prenom.nom@outlook.fr" __copyright__ = "Copyright © 2022-2024 Vianney Mixtur"