Skip to content

CI test-source jobs failing since Jan 29 #411

@victorlin

Description

@victorlin

Error is:

/home/runner/work/cli/cli/nextstrain/cli/command/view.py:390:14 - error: Argument of type "tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]" cannot be assigned to parameter "sockaddr" of type "Tuple[str, int] | Tuple[str, int, int, int]" in function "__new__"

----------------------------- Captured stdout call -----------------------------
https://nextstrain.org/
/home/runner/work/cli/cli/nextstrain/cli/net.py
  /home/runner/work/cli/cli/nextstrain/cli/net.py:36:32 - error: Argument of type "tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]" cannot be assigned to parameter "sockaddr" of type "tuple[str, int] | tuple[str, int, int, int]" in function "getnameinfo"
    Type "tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]" is not assignable to type "tuple[str, int] | tuple[str, int, int, int]"
      Type "tuple[int, bytes]" is not assignable to type "tuple[str, int] | tuple[str, int, int, int]"
        "tuple[int, bytes]" is not assignable to "tuple[str, int]"
          Tuple entry 1 is incorrect type
            "int" is not assignable to "str"
        "tuple[int, bytes]" is not assignable to "tuple[str, int, int, int]"
          Tuple size mismatch; expected 4 but received 2 (reportArgumentType)
/home/runner/work/cli/cli/nextstrain/cli/command/view.py
  /home/runner/work/cli/cli/nextstrain/cli/command/view.py:390:14 - error: Argument of type "tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]" cannot be assigned to parameter "sockaddr" of type "Tuple[str, int] | Tuple[str, int, int, int]" in function "__new__"
    Type "tuple[str, int] | tuple[str, int, int, int] | tuple[int, bytes]" is not assignable to type "Tuple[str, int] | Tuple[str, int, int, int]"
      Type "tuple[int, bytes]" is not assignable to type "Tuple[str, int] | Tuple[str, int, int, int]"
        "tuple[int, bytes]" is not assignable to "Tuple[str, int]"
          Tuple entry 1 is incorrect type
            "int" is not assignable to "str"
        "tuple[int, bytes]" is not assignable to "Tuple[str, int, int, int]"
          Tuple size mismatch; expected 4 but received 2 (reportArgumentType)
2 errors, 0 warnings, 0 informations

Example of last good run and first bad run.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions