Bug 1904845

Summary: [abrt] bash-completion: _check_generic(): typing.py:197:_check_generic:TypeError: Too many parameters for typing.List; actual 2, expected 1
Product: [Fedora] Fedora Reporter: Guy Streeter <guy.streeter>
Component: bash-completionAssignee: Siteshwar Vashisht <svashisht>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: mrunge, ooprala, sheltren, svashisht
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/6c0e495ecb5288b6af92dc7ff9e2563fe3172b4b
Whiteboard: abrt_hash:0f6a48946e9ce028c359761a712652afaef8d2c5;VARIANT_ID=workstation;
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-30 17:21:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cpuinfo
none
File: environ
none
File: mountinfo
none
File: namespaces
none
File: open_fds none

Description Guy Streeter 2020-12-06 20:07:45 UTC
Version-Release number of selected component:
bash-completion:1-2.8-9.fc33

Additional info:
reporter:       libreport-2.14.0
cgroup:         0::/user.slice/user-1001.slice/user/app.slice/app-org.gnome.Terminal.slice/vte-spawn-086b41de-43e6-4cb7-bc78-93035589d92b.scope
cmdline:        python /usr/share/bash-completion/completions/../helpers/python ../src/hw
crash_function: _check_generic
exception_type: TypeError
executable:     /usr/share/bash-completion/helpers/python
interpreter:    python-unversioned-command-3.9.0-1.fc33.noarch
kernel:         5.9.11-200.fc33.x86_64
runlevel:       N 5
type:           Python3
uid:            1001

Truncated backtrace:
typing.py:197:_check_generic:TypeError: Too many parameters for typing.List; actual 2, expected 1

Traceback (most recent call last):
  File "/usr/share/bash-completion/completions/../helpers/python", line 13, in <module>
    for mod in walker():
  File "/usr/lib64/python3.9/pkgutil.py", line 93, in walk_packages
    __import__(info.name)
  File "/home/guy/gits/python3-hwloc/src/hwloc/__init__.py", line 2174, in <module>
    class Topology(object):
  File "/home/guy/gits/python3-hwloc/src/hwloc/__init__.py", line 3052, in Topology
    flags: int = 0) -> List[TopologyDiff, bool]:
  File "/usr/lib64/python3.9/typing.py", line 243, in inner
    return func(*args, **kwds)
  File "/usr/lib64/python3.9/typing.py", line 775, in __getitem__
    _check_generic(self, params, self._nparams)
  File "/usr/lib64/python3.9/typing.py", line 197, in _check_generic
    raise TypeError(f"Too {'many' if alen > elen else 'few'} parameters for {cls};"
TypeError: Too many parameters for typing.List; actual 2, expected 1

Local variables in innermost frame:
cls: typing.List
parameters: (<class 'hwloc.TopologyDiff'>, <class 'bool'>)
elen: 1
alen: 2

Comment 1 Guy Streeter 2020-12-06 20:07:47 UTC
Created attachment 1737084 [details]
File: backtrace

Comment 2 Guy Streeter 2020-12-06 20:07:48 UTC
Created attachment 1737085 [details]
File: cpuinfo

Comment 3 Guy Streeter 2020-12-06 20:07:49 UTC
Created attachment 1737086 [details]
File: environ

Comment 4 Guy Streeter 2020-12-06 20:07:50 UTC
Created attachment 1737087 [details]
File: mountinfo

Comment 5 Guy Streeter 2020-12-06 20:07:51 UTC
Created attachment 1737088 [details]
File: namespaces

Comment 6 Guy Streeter 2020-12-06 20:07:52 UTC
Created attachment 1737089 [details]
File: open_fds

Comment 7 Ben Cotton 2021-11-04 16:50:55 UTC
This message is a reminder that Fedora 33 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 33 on 2021-11-30.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '33'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 33 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 8 Ben Cotton 2021-11-30 17:21:31 UTC
Fedora 33 changed to end-of-life (EOL) status on 2021-11-30. Fedora 33 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.