Skip to content

Fix tests failing due to missing partial-pdm-dockerize.json schema#225

Closed
carlsmedstad wants to merge 1 commit into
abravalheri:mainfrom
carlsmedstad:fix-tests
Closed

Fix tests failing due to missing partial-pdm-dockerize.json schema#225
carlsmedstad wants to merge 1 commit into
abravalheri:mainfrom
carlsmedstad:fix-tests

Conversation

@carlsmedstad

Copy link
Copy Markdown

Hey, Arch Linux maintainer here 👋

Tests running on the examples in tests/examples/store/ and tests/invalid-examples/store/ currently fail with the following error from fastjsonschema:

KeyError: 'https://json.schemastore.org/partial-pdm-dockerize.json'

I'm not sure why fastjsonschema cannot resolve the remote schema partial-pdm-dockerize.json. The reference chain seems to be:

pyproject.json -> partial-pdm.json -> partial-pdm-dockerize.json

Work-around the above by adding partial-pdm-dockerize.json to the relevant test_config.json files.

Tests running on the examples in tests/examples/store/ and
tests/invalid-examples/store/ currently fail with the following error
from fastjsonschema:

    KeyError: 'https://json.schemastore.org/partial-pdm-dockerize.json'

I'm not sure why fastjsonschema cannot resolve the remote schema
partial-pdm-dockerize.json. The reference chain seems to be:

pyproject.json -> partial-pdm.json -> partial-pdm-dockerize.json

Work-around the above by adding partial-pdm-dockerize.json to the
relevant test_config.json files.
@henryiii

Copy link
Copy Markdown
Collaborator

Fixed in #226. Thanks!

@henryiii henryiii closed this Feb 25, 2025
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.

2 participants