Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c216' (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/8209826 Version: 1.1 PID: 7440 Logging PID: 7441 Task: {'appstream': False, 'background': True, 'build_id': 8209826, 'chroot': None, 'package_name': 'python-openai', 'project_dirname': 'PyPI', 'project_name': 'PyPI', 'project_owner': '@copr', 'repos': [], 'sandbox': '@copr/PyPI--ksurma', 'source_json': {'pypi_package_name': 'openai', 'pypi_package_version': '1.53.1', 'python_versions': [], 'spec_generator': 'pyp2spec', 'spec_template': ''}, 'source_type': 5, 'submitter': 'ksurma', 'task_id': '8209826'} Running: which pyp2spec cmd: ['which', 'pyp2spec'] cwd: . rc: 0 stdout: /usr/bin/pyp2spec stderr: Running: pyp2spec openai --fedora-compliant --top-level -v 1.53.1 cmd: ['pyp2spec', 'openai', '--fedora-compliant', '--top-level', '-v', '1.53.1'] cwd: . rc: 1 stdout: Generating configuration file Assuming 'openai' is a package name Querying PyPI for package 'openai' Assuming --description=This is package 'openai' generated automatically by pyp2spec. Assuming --summary=The official Python library for the openai API 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 `openai' 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