guanaco/pyproject.toml
Evan Rice 87ff832ea3 fix(updater): stash + hard-reset instead of merge-pull; release 0.5.1
The Apply Update endpoint used 'git pull origin {branch}', which fails
with a merge conflict if the working tree has any local modifications.
This happened to every install that had leftover version-string edits from
a prior partial update, leaving the old code running silently.

Fix: unconditionally stash (including untracked files) and reset to the
exact remote commit before reinstalling. The update now succeeds even
if the repo is dirty.

Bumps all version strings to 0.5.1 so existing 0.4.2 → 0.5.x installs
immediately receive the new updater logic.
2026-06-10 01:38:17 +00:00

60 lines
No EOL
1.6 KiB
TOML

[build-system]
requires = ["setuptools>=68.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "guanaco-llm-proxy"
version = "0.5.1"
description = "OpenAI-compatible LLM proxy that maximizes Ollama Cloud subscriptions — search/scrape API emulation, usage tracking, fallback provider support, and a web dashboard"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
authors = [
{name = "Guanaco Contributors"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Environment :: Web Environment",
"Framework :: FastAPI",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Software Development :: Libraries",
"Topic :: Internet :: Proxy Servers",
]
dependencies = [
"fastapi>=0.110.0",
"uvicorn[standard]>=0.29.0",
"httpx>=0.27.0",
"pydantic>=2.0",
"pyyaml>=6.0",
"jinja2>=3.1",
"python-multipart>=0.0.9",
"rich>=13.0",
"aiosqlite>=0.19.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
"pytest-asyncio>=0.23",
"httpx",
]
[project.scripts]
guanaco = "guanaco.cli:main"
oct = "guanaco.cli:main"
[project.urls]
Homepage = "https://github.com/evangit2/guanaco"
Repository = "https://github.com/evangit2/guanaco"
Issues = "https://github.com/evangit2/guanaco/issues"
[tool.setuptools.packages.find]
where = ["."]
include = ["guanaco*"]