Warning: Permanently added '98.81.9.182' (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/8816344


Version: 1.2
PID: 8945
Logging PID: 8946
Task:
{'appstream': False,
 'background': True,
 'build_id': 8816344,
 'chroot': None,
 'package_name': 'python-tools-hjh',
 'project_dirname': 'PyPI',
 'project_name': 'PyPI',
 'project_owner': '@copr',
 'repos': [],
 'sandbox': '@copr/PyPI--ksurma',
 'source_json': {'pypi_package_name': 'tools-hjh',
                 'pypi_package_version': '2.11.6',
                 'python_versions': [],
                 'spec_generator': 'pyp2spec',
                 'spec_template': ''},
 'source_type': 5,
 'submitter': 'ksurma',
 'task_id': '8816344'}

Running: which pyp2spec

cmd: ['which', 'pyp2spec']
cwd: .
rc: 0
stdout: /usr/bin/pyp2spec
stderr: 

Running: pyp2spec tools-hjh --fedora-compliant --automode -v 2.11.6

cmd: ['pyp2spec', 'tools-hjh', '--fedora-compliant', '--automode', '-v', '2.11.6']
cwd: .
rc: 1
stdout: 
stderr: Traceback (most recent call last):
  File "/usr/bin/pyp2spec", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3.13/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.13/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3.13/site-packages/pyp2spec/pyp2conf.py", line 204, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3.13/site-packages/pyp2spec/pyp2spec.py", line 25, in main
    config_file = create_config(options)
  File "/usr/lib/python3.13/site-packages/pyp2spec/pyp2conf.py", line 172, in create_config
    contents = create_config_contents(options)
  File "/usr/lib/python3.13/site-packages/pyp2spec/pyp2conf.py", line 112, in create_config_contents
    pkg_info = create_package_from_source(package, version, compat, session)
  File "/usr/lib/python3.13/site-packages/pyp2spec/pyp2conf.py", line 98, in create_package_from_source
    return gather_package_info(core_metadata, pypi_pkg_data)
  File "/usr/lib/python3.13/site-packages/pyp2spec/pyp2conf.py", line 73, in gather_package_info
    pkg = prepare_package_info(pypi_package_data["info"])
  File "/usr/lib/python3.13/site-packages/pyp2spec/pyp2conf.py", line 55, in prepare_package_info
    url=resolve_url(project_urls),
        ~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pyp2spec/utils.py", line 186, in resolve_url
    normalized_urls = {_normalize_url_label(k): v for k, v in urls.items()}
                                                              ^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'items'

Unable to generate spec for `tools-hjh'
Copr build error: Traceback (most recent call last):
  File "/usr/bin/pyp2spec", line 8, in <module>
    sys.exit(main())
             ~~~~^^
  File "/usr/lib/python3.13/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ~~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3.13/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/usr/lib/python3.13/site-packages/pyp2spec/pyp2conf.py", line 204, in wrapper
    return func(*args, **kwargs)
  File "/usr/lib/python3.13/site-packages/pyp2spec/pyp2spec.py", line 25, in main
    config_file = create_config(options)
  File "/usr/lib/python3.13/site-packages/pyp2spec/pyp2conf.py", line 172, in create_config
    contents = create_config_contents(options)
  File "/usr/lib/python3.13/site-packages/pyp2spec/pyp2conf.py", line 112, in create_config_contents
    pkg_info = create_package_from_source(package, version, compat, session)
  File "/usr/lib/python3.13/site-packages/pyp2spec/pyp2conf.py", line 98, in create_package_from_source
    return gather_package_info(core_metadata, pypi_pkg_data)
  File "/usr/lib/python3.13/site-packages/pyp2spec/pyp2conf.py", line 73, in gather_package_info
    pkg = prepare_package_info(pypi_package_data["info"])
  File "/usr/lib/python3.13/site-packages/pyp2spec/pyp2conf.py", line 55, in prepare_package_info
    url=resolve_url(project_urls),
        ~~~~~~~~~~~^^^^^^^^^^^^^^
  File "/usr/lib/python3.13/site-packages/pyp2spec/utils.py", line 186, in resolve_url
    normalized_urls = {_normalize_url_label(k): v for k, v in urls.items()}
                                                              ^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'items'