-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Description
Describe the bug
Starting proTES fails with jsonschema versions > 3.2.0. This is due to the tesNextTes schema in pro_tes/api/additional_logs.yaml referencing itself, causing an infinite loop during validation or reference resolution (I'm not sure which).
To Reproduce
Steps to reproduce the behavior (in local python virtual environment):
pip install -r requirements.txtpip install jsonschema==4.22.0cd pro_tespython3 app.py
Result
Server gets stuck here:

Expected behavior
Server should continue with setup process.
Workarounds
- Use jsonschema version 3.2.0 (
pip install jsonschema==3.2.0) OR - Comment out
forwarded_toproperty intesNextTesOR - Use oneOf:
forwarded_to: oneOf: - $ref: '#/components/schemas/tesNextTes'
Possible solutions
- Specify jsonschema version in requirements.txt
- Alter additional_logs.yaml to avoid infinite loop
Metadata
Metadata
Assignees
Labels
No labels