cloud-init currently depends on devel/py-jsonschema3, so it cannot be installed alongside other ports which depend on devel/py-jsonschema, which is almost every other port which requires jsonschema including docker-compose and iocage. The version pin for jsonschema was removed from cloud-init in version 21.4 so we should be able to switch the dependency for the port to the newer one. I have done so in my local ports tree and it seems to be working properly, patch is attached. The addition to SHEBANG_FILES was required to get stage-qa to pass, not sure if that was due to my changes or something missed in the update to 22.3.
Created attachment 236080 [details] Change jsonschema dependency
Yes upstream now use jsonschema-4 too. Get:83 http://ftpmaster.internal/ubuntu kinetic-proposed/main amd64 python3-jsonschema all 4.6.0-3ubuntu1 [63.6 kB]
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=e33bc5e3a8b52226bab0ab7d87192ceec741885c commit e33bc5e3a8b52226bab0ab7d87192ceec741885c Author: Larry Rosenman <ler@FreeBSD.org> AuthorDate: 2022-08-24 16:54:13 +0000 Commit: Larry Rosenman <ler@FreeBSD.org> CommitDate: 2022-08-24 16:54:13 +0000 net/cloud-init: update jsonschema dependency PR: 266002 Submitted By: ahktenzero+freebsd@mohorovi.cc net/cloud-init/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
Committed, thanks!