From nobody Thu Nov 06 15:15:23 2025 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 4d2Qjm171zz6GL3K for ; Thu, 06 Nov 2025 15:15:24 +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 "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4d2Qjm0dD4z4D0w for ; Thu, 06 Nov 2025 15:15:24 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762442124; 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=CgrfEquQway+Ko6ugGgYBPR4/BSNmZ6/ZvZZG5ElfOw=; b=CBPGhj/dU8/SGiaQwrWHhkS0noDVRggl46SOzOlRtE6ZM/hrhxqCYarEyFikQYwf8U4pJk BjXD5fBMReYyStGKZF9EE6T6WiJi2Yxnmz9K63KRvrsxnTb48Hu+cdP6fatT2q9FtyQzhZ Ae2ucq/X9SnZ48fZfgty/Rv6KxqwOupsQ0CtYF87l9XmX+zPoJFbsYhayROP2SxZk5m2k+ oDjz9mKPnv7lyTguncmIgv0M37LpuzH4VRxq+3Y+UldFxuN7Sa0pzE3S3MbFXSNdqGw9PS xJTvlZsP9VRxcdGm57LvkqsqwtA1LJz9HM3X78y99BobxVtMJE39Y/46ZJWJdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1762442124; 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=CgrfEquQway+Ko6ugGgYBPR4/BSNmZ6/ZvZZG5ElfOw=; b=r1s/zRR2AQMmxMeWyi1ClirsDQC7Yl6VghSpiMMQdpcjsTrij9PtHEYpOQXbG89rofziu+ IS2CNoFIhc5lyrU8WsRD9Hvt11R5lJiCfMJOoBYUQz6r2TGK+O7uzIwPzyZ3sCT4KbrjmR 7FTj2nWIkLFDkR9eChQwZZxEujf+cbxeUZC60zMKNaURqYWI29Dm3MSJIvgLYGMmMhNzZp mBf2QZryipJB8Y4uyiR3b3V195icqQbiZS3BmHSCqy4h7o+jQ0I9Kvw6N28oNfxqIZ2+mr yI8KUSDo7LZ2skqok1mj6i35DUQWpcRCO5W/iloBHlCBnPA7vnhA5IeMcqEKHQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1762442124; a=rsa-sha256; cv=none; b=Ev8YbR8jZzawdsi1uT2hKPqGdvKeowGqCPh7EJ7wsx4dkwh4C8oRaCIsgNwkCPGd8GnNS5 P8WW9lCfcwt5VQXAONv8jGI8Dq9DrOAS/FuBjDg3GF4MdMXQgE3tNXw+TWoEb/xV87L3jY nWbMDPb4cRmzezIbDTU9hwuuTFuEGT8cv1rOiFYYXFbuWm//BYQMVJJXea+ZfyXxkpxaUC umWA/PZgOKSwxLJKZ6/vn5jooM+Npze+uyqrXOeTNS1tpf8f42Yl2bnG2uoueLNJRKA23V XB7Ubm2/vICRLk96L8pGSFIckRRhx6bDiV8tyAbrylI5NHXHy64EmnFXJK7cgQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4d2Qjm07tHz2q9 for ; Thu, 06 Nov 2025 15:15:24 +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 5A6FFNvo099221 for ; Thu, 6 Nov 2025 15:15:23 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5A6FFNYG099220 for ports-bugs@FreeBSD.org; Thu, 6 Nov 2025 15:15:23 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 290836] textproc/py-towncrier: Comparison with "<" requires both operands "3.13t" and "3.10" to be numeric Date: Thu, 06 Nov 2025 15:15:23 +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: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: nivit@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=3D290836 Bug ID: 290836 Summary: textproc/py-towncrier: Comparison with "<" requires both operands "3.13t" and "3.10" to be numeric Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: nivit@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(nivit@FreeBSD.org) Assignee: nivit@FreeBSD.org Just because I am crazy I tried building a ports tree with DEFAULT_VERSIONS+=3Dpython3=3D3.13t in my poudriere make.conf. This fails in various interesting ways, mostly due to lots of ports requiri= ng sphinx which does not support anything about python 3.12, but in particular textproc/py-towncrier died with: [00:00:02] [Dry Run] Warning: (textproc/py-towncrier): make: /usr/ports/textproc/py-towncrier/Makefile:28: Comparison with "<" requires = both operands "3.13t" and "3.10" to be numeric Since being threaded or not doesn't matter for this comparison, a fix simil= ar to the following seems to work for me: --- a/textproc/py-towncrier/Makefile +++ b/textproc/py-towncrier/Makefile @@ -25,7 +25,7 @@ NO_ARCH=3D yes .include -.if defined(PYTHON_VER) && ${PYTHON_VER} < 3.10 +.if defined(PYTHON_VER) && ${PYTHON_VER:C/t$//} < 3.10 BUILD_DEPENDS+=3D=20=20=20=20=20=20=20 ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3D7.1.0:devel/py-importlib-metad= ata@${PY_FLAVOR} \ =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ${PYTHON_PKGNAMEPREFIX}importlib-resources>=3D6.4.0:devel/py-importlib-reso= urces@${PY_FLAVOR} RUN_DEPENDS+=3D=20 ${PYTHON_PKGNAMEPREFIX}importlib-metadata>=3D7.1.0:devel/py-importlib-metad= ata@${PY_FLAVOR} \ --=20 You are receiving this mail because: You are the assignee for the bug.=