Warning: Permanently added '54.167.118.167' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --srpm --task-url https://copr.fedorainfracloud.org/backend/get-srpm-build-task/8272162 Version: 1.1 PID: 7355 Logging PID: 7356 Task: {'appstream': False, 'background': True, 'build_id': 8272162, 'chroot': None, 'package_name': 'python-mct-nightly', 'project_dirname': 'PyPI', 'project_name': 'PyPI', 'project_owner': '@copr', 'repos': [], 'sandbox': '@copr/PyPI--ksurma', 'source_json': {'pypi_package_name': 'mct-nightly', 'pypi_package_version': '2.2.0.20241117.603', 'python_versions': [], 'spec_generator': 'pyp2spec', 'spec_template': ''}, 'source_type': 5, 'submitter': 'ksurma', 'task_id': '8272162'} Running: which pyp2spec cmd: ['which', 'pyp2spec'] cwd: . rc: 0 stdout: /usr/bin/pyp2spec stderr: Running: pyp2spec mct-nightly --fedora-compliant --top-level -v 2.2.0.20241117.603 cmd: ['pyp2spec', 'mct-nightly', '--fedora-compliant', '--top-level', '-v', '2.2.0.20241117.603'] cwd: . rc: 1 stdout: Generating configuration file Assuming 'mct-nightly' is a package name Querying PyPI for package 'mct-nightly' Assuming --description=This is package 'mct-nightly' generated automatically by pyp2spec. Assuming --summary=A Model Compression Toolkit for neural networks stderr: Traceback (most recent call last): File "/usr/bin/pyp2spec", line 8, in sys.exit(main()) ^^^^^^ File "/usr/lib/python3.12/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyp2spec/pyp2conf.py", line 453, in wrapper return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyp2spec/pyp2spec.py", line 19, in main config_file = create_config(options) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyp2spec/pyp2conf.py", line 409, in create_config contents = create_config_contents( ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyp2spec/pyp2conf.py", line 365, in create_config_contents license = pkg.license(check_compliance=compliant) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyp2spec/pyp2conf.py", line 180, in license identifiers, expression = self.transform_to_spdx() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyp2spec/pyp2conf.py", line 163, in transform_to_spdx identifiers = license_keyword_to_spdx_identifiers(license_keyword) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyp2spec/license_processor.py", line 84, in license_keyword_to_spdx_identifiers if case in license_keyword: ^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable Unable to generate spec for `mct-nightly' Copr build error: Traceback (most recent call last): File "/usr/bin/pyp2spec", line 8, in sys.exit(main()) ^^^^^^ File "/usr/lib/python3.12/site-packages/click/core.py", line 1130, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/click/core.py", line 1055, in main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/click/core.py", line 1404, in invoke return ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/click/core.py", line 760, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyp2spec/pyp2conf.py", line 453, in wrapper return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyp2spec/pyp2spec.py", line 19, in main config_file = create_config(options) ^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyp2spec/pyp2conf.py", line 409, in create_config contents = create_config_contents( ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyp2spec/pyp2conf.py", line 365, in create_config_contents license = pkg.license(check_compliance=compliant) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyp2spec/pyp2conf.py", line 180, in license identifiers, expression = self.transform_to_spdx() ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyp2spec/pyp2conf.py", line 163, in transform_to_spdx identifiers = license_keyword_to_spdx_identifiers(license_keyword) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.12/site-packages/pyp2spec/license_processor.py", line 84, in license_keyword_to_spdx_identifiers if case in license_keyword: ^^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable