Bug 257120 - sysutils/iocage-devel: Fails to run: ModuleNotFoundError: No module named 'jsonschema'
Summary: sysutils/iocage-devel: Fails to run: ModuleNotFoundError: No module named 'js...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Many People
Assignee: Dan Langille
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-11 20:43 UTC by jsegaert
Modified: 2021-07-12 01:32 UTC (History)
1 user (show)

See Also:
koobs: maintainer-feedback+
koobs: merge-quarterly+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jsegaert 2021-07-11 20:43:34 UTC
After installing iocage-devel (pkg install py38-iocage-devel) using the "latest" package repo on a clean 13.0-RELEASE-p3 system, any iocage command issues the following Traceback: 


~ iocage list
Traceback (most recent call last):
  File "/usr/local/bin/iocage", line 6, in <module>
    from iocage_cli import cli
  File "/usr/local/lib/python3.8/site-packages/iocage_cli/__init__.py", line 38, in <module>
    import iocage_lib.ioc_check as ioc_check
  File "/usr/local/lib/python3.8/site-packages/iocage_lib/ioc_check.py", line 30, in <module>
    import iocage_lib.ioc_common
  File "/usr/local/lib/python3.8/site-packages/iocage_lib/ioc_common.py", line 35, in <module>
    import jsonschema
ModuleNotFoundError: No module named 'jsonschema'

This issue goes away after installing py-jsonschema (pkg install py38-jsonschema) so this seems just a missing dependency in the port.
Comment 1 commit-hook freebsd_committer 2021-07-11 23:52:44 UTC
A commit in branch 2021Q3 references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=b271465f0b440be33a78aac0e8115cad5ea781f0

commit b271465f0b440be33a78aac0e8115cad5ea781f0
Author:     Dan Langille <dvl@FreeBSD.org>
AuthorDate: 2021-07-11 23:36:18 +0000
Commit:     Dan Langille <dvl@FreeBSD.org>
CommitDate: 2021-07-11 23:43:46 +0000

    sysutils/iocage-devel: add missing dependenency - devel/py-jsonschema

    While here, give up maintainership. I no longer use iocage.

    (cherry picked from commit 9e62378e27a9b2be1fbadcb403e1de13f0f02b07)

    PR:             257120
    Reported by:    jsegaert@yahoo.com

 sysutils/iocage-devel/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 2 Dan Langille freebsd_committer 2021-07-11 23:53:48 UTC
Sorry, I forgot to include the PR and submitter in the original commit. It was included on the mfh.
Comment 3 Dan Langille freebsd_committer 2021-07-11 23:54:01 UTC
Thank you.
Comment 4 Kubilay Kocak freebsd_committer freebsd_triage 2021-07-12 01:32:32 UTC
^Triage: Track merge