-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Regression from breaking change in jsonschema v4.10.0 #38
Comments
* Add upper bound of 'jsonschema<=4.9.1' as an emergency temporary workaround. - c.f. #38 * This should not be done, and should be viewed as temporary only for release v0.10.8.
Hi @matthewfeickert , We have also encoutered this issue when trying to upgrade We would still need to update REANA's dependencies to be up-to-date with yadage/adage/yadage-schemas to benefit from this, and this has proven to be somewhat challenging in the past. However, we are currently in the middle of doing some major upgrades (adding compatibility for Python 3.12, dropping support for Python 3.7/3.8, moving to Ubuntu 24.04), so it might be a good occasion to also tackle the yadage update if we have time to do so. In any case, I just wanted to leave some of the findings I made while investigating this issue in case they can be helpful. There is this bit of code that is supposed to modify the default validator to "massage" the JSON input and that should solve this issue, but somehow it does not work anymore. yadage-schemas/yadageschemas/dialects/raw_with_defaults.py Lines 17 to 23 in f73898c
This code was first added in 0b85a48. Checking the changelog of jsonschema 4.10, there is only one item:
So it might be that yadage's custom validator is somehow reverted back when a There is also the option of updating the schemas to allow the |
We have met the same issue now in relation to customising Kubernetes operator for Dask workflows... It would be great to solve this soon if possible? |
There is a breaking change in
jsonschema
v4.10.0
that is causing a regression withyadage-schemas
v0.10.7
. Running the examples of https://gitlab.cern.ch/recast-atlas/examples/helloworld with thelocal
backend withoutpython -m pip install --upgrade 'recast-atlas[local]' 'jsonschema<=4.9.1'
results in an error for
yadage-schemas
0.10.7
ofThe text was updated successfully, but these errors were encountered: