Tags: bnbong/FastAPI-fastkit
Tags
[FIX] parse PEP 508 requirements in PoetryManager.generate_dependency… …_file The previous implementation only handled pinned (`==`) versions; other pip specifiers (`>=`, `~=`, `<=`, `<`, `>`, `!=`, `===`) and environment markers (`; sys_platform != 'win32'`) were concatenated into the TOML key, producing invalid `pyproject.toml` that `poetry install` could not parse. Introduce `_parse_pip_requirement` to split name, extras, version specifier, and environment marker, and emit Poetry-compatible TOML — inline tables when extras or markers are present, bare version strings otherwise. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
PreviousNext