Fix Poetry package declarations for validation SDK - #115
Merged
Conversation
skamanbo
marked this pull request as ready for review
July 30, 2026 23:53
csco-abp
approved these changes
Jul 31, 2026
urajat
approved these changes
Jul 31, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ai_validation,ai_validation_service, andai_defenseaidefenseas the package root, which recursively includes the generated validation subpackagesRoot cause
The validation modules are located under
aidefense/pydantic/validation/, butpyproject.tomldeclared them as top-level package directories.poetry install --extras aibomtherefore failed withai_validation does not contain any elementbefore 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 warningspoetry install --extras aibom— passedpoetry build— passed; generated validation modules are present in the wheelgit diff --check— passedpoetry run pytest— 596 passed, 8 skipped, 3 pre-existing failures inaidefense/tests/test_config.pyrelated to singleton warning behavior removed by the base branch