Skip to content

Fix Poetry package declarations for validation SDK - #115

Merged
urajat merged 1 commit into
update-version-2.1.3from
codex/fix-pr114-poetry-packages
Jul 31, 2026
Merged

Fix Poetry package declarations for validation SDK#115
urajat merged 1 commit into
update-version-2.1.3from
codex/fix-pr114-poetry-packages

Conversation

@skamanbo

Copy link
Copy Markdown
Contributor

Summary

  • remove invalid top-level Poetry package declarations for ai_validation, ai_validation_service, and ai_defense
  • retain aidefense as the package root, which recursively includes the generated validation subpackages

Root cause

The validation modules are located under aidefense/pydantic/validation/, but pyproject.toml declared them as top-level package directories. poetry install --extras aibom therefore failed with ai_validation does not contain any element before tests could run.

Impact

This restores dependency installation and package building for the 2.1.3 release branch without changing runtime behavior.

Validation

  • poetry check — passed with existing deprecation warnings
  • poetry install --extras aibom — passed
  • poetry build — passed; generated validation modules are present in the wheel
  • git diff --check — passed
  • poetry run pytest — 596 passed, 8 skipped, 3 pre-existing failures in aidefense/tests/test_config.py related to singleton warning behavior removed by the base branch

@skamanbo
skamanbo marked this pull request as ready for review July 30, 2026 23:53
@urajat
urajat merged commit 4689abf into update-version-2.1.3 Jul 31, 2026
0 of 5 checks passed
@urajat
urajat deleted the codex/fix-pr114-poetry-packages branch July 31, 2026 14:19
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.

3 participants