Add comprehensive tests and CI workflow for Python versions and manifests #5
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.
Add comprehensive tests and CI workflow for Python versions and manifests
Summary
Changes
tests/test_models_and_manifest_tools.py: Adds comprehensive tests validating:FileEntryandManifestEntrycreation, validation,model_dump, JSON schema generation, copying, and error handling.manifest_fetch,manifest_merge, andupdate_versionbehaviors including unique/overlapping versions and duplicate file handling.tests/test_package_compatibility.py: Verifies compatibility with minimum package versions:requests >= 2.32.5:urlopenresponse attributes and error handling viafetch_json,get_nuget_versions.typer >= 0.19.2: app creation, options, echo, exit, and command registration.pydantic >= 2.11.7: BaseModel instantiation, field validation, JSON schema, serialization, optional fields, strict validation, and nested models.get_python_version.PythonManifestParsercovering latest version retrieval with prerelease filters, unmatched filters, and complex sorting scenarios.Context
.github/scriptsandPowerShellremain importable and functionally compatible with pinned or minimum versions of third-party packages.Commit History (branch-only)
Impact
Testing
pyteston PR creation to validate across environments.Risks