Skip to content

fix: pypi_range_roundtrip_test.json schema compliance#71

Open
peinjoh wants to merge 1 commit into
package-url:mainfrom
peinjoh:fix/pypi-range-roundtrip-schema-compliance
Open

fix: pypi_range_roundtrip_test.json schema compliance#71
peinjoh wants to merge 1 commit into
package-url:mainfrom
peinjoh:fix/pypi-range-roundtrip-schema-compliance

Conversation

@peinjoh
Copy link
Copy Markdown
Contributor

@peinjoh peinjoh commented May 19, 2026

As per the vers-test.schema-*.json, a roundtrips input property is required and has to be a string.

Currently, pypi_range_roundtrip_test.json contains the only set of roundtrip tests, and has input as a object with property vers of type string. This contradicts the schema.

This PR resolves this by removing the nested vers property. If the schema is actually incorrect here, I'm happy to modify the schema to fit the test file instead (would be done as part of #68)

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