fix(aider): stdlib logging → structlog + typing-extensions dep (E2E修復)
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
Some checks failed
CD Pipeline / build-and-deploy (push) Has been cancelled
- aider_events.py: logging.getLogger → structlog.get_logger (keyword args compatible) - pyproject.toml: add typing-extensions>=4.0 (python-ulid 3.x requires Self) 2026-04-20 @ Asia/Taipei
This commit is contained in:
@@ -5,13 +5,13 @@ from __future__ import annotations
|
||||
import hmac
|
||||
import hashlib
|
||||
import os
|
||||
import logging
|
||||
import structlog
|
||||
from fastapi import APIRouter, Header, HTTPException, Request, status
|
||||
from pydantic import ValidationError
|
||||
from src.models.aider import AiderBatchIn
|
||||
from src.services.aider_event_service import push_aider_batch_to_stream
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
logger = structlog.get_logger(__name__)
|
||||
router = APIRouter(prefix="/aider", tags=["Aider"])
|
||||
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ name = "aider-watch-client"
|
||||
version = "0.2.0"
|
||||
description = "Mac client for aider-watch (posts events to awoooi API)"
|
||||
requires-python = ">=3.11"
|
||||
dependencies = ["requests>=2.31", "python-ulid>=3.0"]
|
||||
dependencies = ["requests>=2.31", "python-ulid>=3.0", "typing-extensions>=4.0"]
|
||||
|
||||
[project.optional-dependencies]
|
||||
dev = ["pytest>=8.0"]
|
||||
|
||||
Reference in New Issue
Block a user