Closed jjakob closed 4 months ago
Hi @jjakob,
This problem is related to fastjsonchschema package we use as a dependency.
The version 2.20.0 introduced an additional check on validation schemas where only the unique items are accepted in required
keyword. For more information about this, see the changelog.
In terms of SPSDK, the current version 2.2.0 limits the fastjonschema to <2.20.0. See the requirements.txt. In version 2.3.0, the validation schema for FCB will be fixed and the the upper boundary of fastjsonchschema increased. Until then, please use the version lower than 2.20.0
Thanks, I opted to use your commit to patch the test, becase Gentoo only packages fastjsonschema 2.20.0 so downgrading is not an option.
I'm building spsdk 2.2.0 on Gentoo with my own ebuild, but am getting test errors (7 failed but they're all the same)
The same error is repeated for rt5xx-flexspi_nor, rt6xx-flexspi_nor, rt105x-flexspi_nor, rt106x-flexspi_nor, rt117x-flexspi_nor, lpc55s3x-flexspi_nor, mcxn9xx-flexspi_nor.
The ebuild I used is here https://github.com/jjakob/gentoo-overlay/blob/py3.12_staging_pynitrokey/dev-python/spsdk/spsdk-2.2.0.ebuild