From 8266bd634810effcafa21a243168c785be0e9656 Mon Sep 17 00:00:00 2001 From: Himanshu Kumar Date: Sun, 19 Jul 2026 23:37:11 +0530 Subject: [PATCH] chore: release v0.1.2 --- CHANGELOG.md | 11 +++++++++++ pyproject.toml | 5 ++++- src/modeldock/__init__.py | 2 +- 3 files changed, 16 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a7a60c..f781ce2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,16 @@ All notable changes to ModelDock will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/), and this project adheres to [Semantic Versioning](https://semver.org/). +## [0.1.2] - 2026-07-19 + +Patch fix for `catalog.json` not being included in the installed package. + +### Fixed + +- **Catalog data missing** — added `[tool.setuptools.package-data]` to `pyproject.toml` so `catalog.json` is bundled in the wheel/sdist. Previously the file was silently excluded, causing `ModelNotFoundError: 'catalog.json not found in package data'` at runtime. + +--- + ## [0.1.1] - 2026-07-19 Patch release hardening the Ollama runtime and SDK ahead of broader adoption. @@ -71,5 +81,6 @@ This project follows [Semantic Versioning](https://semver.org/): ## Links +[0.1.2]: https://github.com/OpenAgentHQ/modeldock/compare/v0.1.1...v0.1.2 [0.1.1]: https://github.com/OpenAgentHQ/modeldock/compare/v0.1.0...v0.1.1 [0.1.0]: https://github.com/OpenAgentHQ/modeldock/releases/tag/v0.1.0 diff --git a/pyproject.toml b/pyproject.toml index 5228489..b6b82d7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "modeldock" -version = "0.1.1" +version = "0.1.2" description = "Lightweight, Python-first model manager for local LLMs (the package manager for local AI models)." readme = "README.md" requires-python = ">=3.9" @@ -56,6 +56,9 @@ ollama = "modeldock.adapters.runtimes.ollama:OllamaRuntime" [tool.setuptools.packages.find] where = ["src"] +[tool.setuptools.package-data] +modeldock = ["data/catalog.json"] + [tool.ruff] line-length = 100 target-version = "py39" diff --git a/src/modeldock/__init__.py b/src/modeldock/__init__.py index 4a6341c..3fa19e1 100644 --- a/src/modeldock/__init__.py +++ b/src/modeldock/__init__.py @@ -8,7 +8,7 @@ from typing import Any, Dict, List, Optional -__version__ = "0.1.1" +__version__ = "0.1.2" __author__ = "Himanshu kumar" from modeldock.common.config import Settings