From nobody Thu Apr 23 11:58:09 2026 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4g1ZNf1Bd8z6ZYrZ for ; Thu, 23 Apr 2026 11:58:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4g1ZNf0c4vz3KSQ for ; Thu, 23 Apr 2026 11:58:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776945490; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kd+jQhzISytQxe8QY1o7fzdErI6TV1MSRlzFGI4J4Ms=; b=akWoxj9P2uQGocJaM5RputnOG410FXSN3sNKtJtYO9p3bxOrB1uvDirPZfJhaOt1LzyJ4O yIVgUFeHthBmD8T9tWPmje/j/0IBeeUgxQTNkIhvDsbbbDAX6OndieP9oLv3aC5Z8STjyE 8mWWcjuEfyfIuJtX95KYwu2kVm9yhZ8aH/mvpNoW3Tpmnt7CBIN3MLkVbgm480Uk0kIWoY zcUh3yZMWFsK1XHWV0WJ9JF4rACZzzZCVbubbXaUmaUmJ8+D+VxdMl51uFAScxta6ncnZF umkxK6SZenA6dE4JHNPIMtOi5iaFZWTkHm4OKX7eAbw3rIf6I21SEp9MzooyOg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1776945490; a=rsa-sha256; cv=none; b=yh4RTITn6Qyl2r1XMJkwiZJJnZW5fBrnhi8acyvw3ZSr6zB1xESpkVDr4QZEMcjAfw4mqS 839ffraeqrzt+aNWfSEYIoDUEptYUtBnYgUMmMUHpIFVhxGDCj1S2C5Bzxy9sWI4Atx1aD z17UhW1cplxpZyLg4rmBlRVWhf80kyZcfuzBgiqvuBxX0dK1RzS7f7lAqijmp+bScDTvxr fjxFGyYUZ+Hxc0b8FTR0nFyG6F+9Qipw0Q1iJbKeahC/c0Hry5cJKR9QBf6rQl7sqnUv2t LMCcjSroW31kqTTJprvDk77gxQMt7BX0icCRnj5EJhw2OoyFsScNMByzvFXoWw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1776945490; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=kd+jQhzISytQxe8QY1o7fzdErI6TV1MSRlzFGI4J4Ms=; b=HGTmGPk+EfljULW0B8/U7zk/ZV1srW4u520hIg7UfcGNhi2+i19S0WAZgfG04tzZyPOhsB H7hsK6p1yPY57NLPFZiAKpxVy2YlWqcxnJRmicFgkHVLKxg196vBzgDNio7Rm6L90Oaym6 cwuj5P5yFc1+7zUutAZkeMMyaRnEBGZ32dzp9sDIwCEI4leRHRSn6ZmD2emG0+oMRSrYhl H9jpKEw9Z+himPPCXXan6s4oPQJW1/CxsslXQMphB9GrWdKb2iGz3SMVtw5U8jYFJIkg4F ldVhCdyZGsdwCmV9DSiaX2sxPWZROg5kjCSIH8QMVGbX1FDrY5E/iNRRERkqhQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4g1ZNd6r9hz1Yj for ; Thu, 23 Apr 2026 11:58:09 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 63NBw9Ul004306 for ; Thu, 23 Apr 2026 11:58:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 63NBw9QW004304 for ports-bugs@FreeBSD.org; Thu, 23 Apr 2026 11:58:09 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 294723] devel/py-typer: Cannot import typer since 0.24.1 Date: Thu, 23 Apr 2026 11:58:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: monwarez@mailoo.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sunpoet@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D294723 Bug ID: 294723 Summary: devel/py-typer: Cannot import typer since 0.24.1 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: monwarez@mailoo.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org The following commit: https://github.com/fastapi/typer/commit/829576c56cd359c2757087a6080983235d6= 7aed5#diff-5e54fe136b6700ee95a604d79f2aea249e8dceaf7c53439b41d4c8b6169e1d63 Induced the following error which may be due to a too old click version: File "/usr/local/lib/python3.11/site-packages/searx/enginelib/__init__.py= ", line 33, in import typer File "/usr/local/lib/python3.11/site-packages/typer/__init__.py", line 29= , in from .main import Typer as Typer File "/usr/local/lib/python3.11/site-packages/typer/main.py", line 20, in from typer._types import TyperChoice File "/usr/local/lib/python3.11/site-packages/typer/_types.py", line 9, in class TyperChoice(click.Choice[ParamTypeValue]): ~~~~~~~~~~~~^^^^^^^^^^^^^^^^ TypeError: type 'Choice' is not subscriptable The current version of click which is 8.1.7 in ports have this: class Choice(ParamType): """The choice type allows a value to be checked against a fixed set of supported values. All of these values have to be strings. You should only pass a list or tuple of choices. Other iterables (like generators) may lead to surprising results. The resulting value will always be one of the originally passed choices regardless of ``case_sensitive`` or any ``ctx.token_normalize_func`` being specified. See :ref:`choice-opts` for an example. :param case_sensitive: Set to false to make choices case insensitive. Defaults to true. """ name =3D "choice" While after 8.2.0 we got: class Choice(ParamType, t.Generic[ParamTypeValue]): """The choice type allows a value to be checked against a fixed set of supported values. You may pass any iterable value which will be converted to a tuple and thus will only be iterated once. The resulting value will always be one of the originally passed choices. See :meth:`normalize_choice` for more info on the mapping of strings to choices. See :ref:`choice-opts` for an example. :param case_sensitive: Set to false to make choices case insensitive. Defaults to true. .. versionchanged:: 8.2.0 Non-``str`` ``choices`` are now supported. It can additionally be a= ny iterable. Before you were not recommended to pass anything but a li= st or tuple. .. versionadded:: 8.2.0 Choice normalization can be overridden via :meth:`normalize_choice`. """ name =3D "choice" --=20 You are receiving this mail because: You are the assignee for the bug.=