Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolving TypeError, during version unpacking #2098

Merged
merged 8 commits into from
Aug 25, 2024
5 changes: 3 additions & 2 deletions kombu/utils/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from __future__ import annotations

from difflib import SequenceMatcher
from typing import Iterable, Iterator
from typing import Iterable, Iterator, Tuple

from kombu import version_info_t

Expand Down Expand Up @@ -59,7 +59,8 @@ def _unpack_version(
minor: str | int = 0,
micro: str | int = 0,
releaselevel: str = '',
serial: str = ''
serial: str = '',
*args: Tuple[str]
) -> version_info_t:
return version_info_t(int(major), int(minor), micro, releaselevel, serial)

Expand Down
Loading