Skip to content

[AIFW-23555]: Fix stale package entries breaking poetry install - #117

Closed
csco-abp wants to merge 1 commit into
mainfrom
AIFW-23555-fix-package-entries
Closed

[AIFW-23555]: Fix stale package entries breaking poetry install#117
csco-abp wants to merge 1 commit into
mainfrom
AIFW-23555-fix-package-entries

Conversation

@csco-abp

Copy link
Copy Markdown
Contributor

Summary

  • Remove stale ai_validation, ai_validation_service, and ai_defense top-level package entries from pyproject.toml
  • These directories don't exist — the generated pydantic models live under aidefense/pydantic/validation/, already covered by the aidefense include
  • The stale entries cause poetry install to fail with ai_validation does not contain any element

Test plan

  • poetry install succeeds
  • poetry run pytest — 580 passed, 11 skipped, 6 pre-existing failures (unrelated: 3 config warning tests, 3 missing optional cloud provider deps)

Remove ai_validation, ai_validation_service, and ai_defense from
the Poetry packages list. These top-level directories don't exist —
the generated models live under aidefense/pydantic/validation/ which
is already covered by the aidefense include. The stale entries cause
poetry install to fail with "does not contain any element".

Co-authored-by: Cursor <cursoragent@cursor.com>
@csco-abp csco-abp closed this Jul 31, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant