Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
version: "latest"

- name: Set up Python
run: uv python install 3.13
run: uv python install 3.14

- name: Install dependencies
run: uv sync
Expand All @@ -45,7 +45,7 @@ jobs:
version: "latest"

- name: Set up Python
run: uv python install 3.13
run: uv python install 3.14

- name: Install dependencies
run: uv sync
Expand Down
2 changes: 1 addition & 1 deletion .python-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.13
3.14
11 changes: 4 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
# Use Python 3.13 slim image for smaller footprint
FROM python:3.13-slim

# Install uv from official image
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
# Use Python 3.14 Alpine image with uv pre-installed for smaller footprint
FROM ghcr.io/astral-sh/uv:python3.14-alpine

# Set working directory
WORKDIR /app
Expand All @@ -28,8 +25,8 @@ RUN --mount=type=cache,target=/root/.cache/uv \
UV_LINK_MODE=copy uv sync --frozen --compile-bytecode || \
UV_LINK_MODE=copy uv sync --compile-bytecode

# Create a non-root user for security
RUN groupadd -r lampyrid && useradd -r -g lampyrid lampyrid
# Create a non-root user for security (Alpine uses addgroup/adduser)
RUN addgroup -S lampyrid && adduser -S -G lampyrid -h /home/lampyrid lampyrid

# Create cache directory for uv and set permissions
RUN mkdir -p /home/lampyrid/.cache/uv && chown -R lampyrid:lampyrid /home/lampyrid
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ A Model Context Protocol (MCP) server providing comprehensive tools for interact

### Prerequisites

- Python 3.13+
- Python 3.14+
- [uv](https://github.com/astral-sh/uv) package manager
- Access to a Firefly III instance with API token

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies = [
description = "Add your description here"
name = "lampyrid"
readme = "README.md"
requires-python = ">=3.13"
requires-python = ">=3.14"
version = "0.1.0"

[project.scripts]
Expand Down
2 changes: 1 addition & 1 deletion src/lampyrid/clients/firefly.py
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ async def update_transaction(self, req: UpdateTransactionRequest) -> Transaction
if req.category_name is not None:
update_kwargs['category_name'] = req.category_name

trx_split_update = TransactionSplitUpdate(**update_kwargs) # type: ignore
trx_split_update = TransactionSplitUpdate(**update_kwargs)

trx_update = TransactionUpdate(
apply_rules=False, fire_webhooks=True, group_title=None, transactions=[trx_split_update]
Expand Down
144 changes: 1 addition & 143 deletions uv.lock

Large diffs are not rendered by default.