You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently working on getting pdk (and thus metadata-json-lint too as a dependency) packaged for debian. I was told that during the just-finished dev sprint of the debian ruby team (working on transitioning debian testing to ruby 2.7), it was found that the json-schema library fails to build from source with ruby 2.7
it was brought to my attention that the json-schema library has been unmaintained for a while now. this upstream ticket about trying to find new maintainers mentions some alternative libraries that can be used instead:
So, for the future maintainability of metadata-json-lint, it might be worthwhile to consider switching this library for another one offering similar functionality.
I've already reported the same issue with PDK which also directly depends on json-schema, and upstream told me that the dependency to the json-schema library will be removed in pdk 2.0.0
Hi @lelutin. I also try to package pdk, but for Arch and I'm running into the same issue. The fix from voxpupuli/json-schema#437 works for me on ruby 2.7. However, switching to the other library mentioned in voxpupuli/json-schema#423 would be nice. Sadly I don't have the time at the moment to invest more time into metadata-json-lint :(
@bastelfreak thanks for the hint! we'll try applying the patch to the debian json-schema package to see if it avoids the issue with 2.7.
it's a generally better idea to switch to something that's maintained, but if it can give us a bit more time before doing the switch then maybe we can still have things that depend on json-schema working for a while. 👍
Hello,
I'm currently working on getting pdk (and thus metadata-json-lint too as a dependency) packaged for debian. I was told that during the just-finished dev sprint of the debian ruby team (working on transitioning debian testing to ruby 2.7), it was found that the json-schema library fails to build from source with ruby 2.7
Info about the failure can be found here:
https://people.debian.org/~kanashiro/ruby2.7/builds/7/ruby-json-schema/ruby-json-schema_2.8.1-1+rebuild1580878603_amd64-2020-02-05T04:56:44Z.build.txt
it was brought to my attention that the json-schema library has been unmaintained for a while now. this upstream ticket about trying to find new maintainers mentions some alternative libraries that can be used instead:
voxpupuli/json-schema#423
So, for the future maintainability of metadata-json-lint, it might be worthwhile to consider switching this library for another one offering similar functionality.
I've already reported the same issue with PDK which also directly depends on json-schema, and upstream told me that the dependency to the json-schema library will be removed in pdk 2.0.0
puppetlabs/pdk#848
Cheers!
The text was updated successfully, but these errors were encountered: