Error2 reports
Fix InvalidMarkerError
in Poetry
✅ Solution
InvalidMarkerError in Poetry usually arises from incorrect syntax in dependency markers within pyproject.toml, especially in `extras` or dependency declarations. Carefully review the marker strings for typos, unclosed parentheses, or invalid comparison operators, consulting the PEP 508 specification for correct syntax; consider simplifying complex markers for better readability and parsing.
Related Issues
Real GitHub issues where developers encountered this error:
Timeline
First reported:Mar 20, 2025
Last reported:Oct 25, 2025