From nobody Mon May 16 00:22:59 2022 X-Original-To: freebsd-python@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 05D971AE370A for ; Mon, 16 May 2022 00:23:06 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L1g2K1QNwz3lyP; Mon, 16 May 2022 00:23:05 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pf1-x436.google.com with SMTP id bo5so12631193pfb.4; Sun, 15 May 2022 17:23:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:message-id:date:mime-version:user-agent:reply-to :content-language:to:cc:from:subject:content-transfer-encoding; bh=1IDG5Xg+gyeZgEtQZ+tdZjeWkmDxZvtZHRl1x0nujrA=; b=I05hvteUr45yEUIF4+8sA6v2iX71O5iqQqa7aACuGVSH1DxtHjRVWtpTRSQbWhHoA7 8xlx8q3GqwBysNoMpFUslrqYvLsuzuuCdULiLOIqwg71lXnKehjr6jfKPD1U0uC+TaB/ u7bQmcv8cw8zqT344MxnLQlOccRV28U8s19K0+0Io8wMU086vVUTzC790U8Y2gVh26C4 ImiXflzSyaxZS86w6LGYB9ATUKKwlMf5smGilEODoJVJkkhKTMnVQAR5w87ACuX/hB2K wjma5iEZiRzBB5XliEVNtStyonRMoMBCKLmOcugSwI4sysLHgIPCp7BfxZQbdYm5zGtx H7FQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:message-id:date:mime-version:user-agent :reply-to:content-language:to:cc:from:subject :content-transfer-encoding; bh=1IDG5Xg+gyeZgEtQZ+tdZjeWkmDxZvtZHRl1x0nujrA=; b=P7IOhh69WIA8gnwujwnpJ9zHtSv+cXMrZxMSELEj3eUiZch4fKHCmuUDWA7VBn/yog EFZAQABzREnLfGAlZ3P0bzWRd9DCG0tfCKfnxmO7Vj52oRjMiJcIzE47ZV9AoIGaTyVH 81+66/zqxrkqkWOI1OXkoYhrgbbawxLk00W9OFhEQCnUGfj6MEMVDkSTixlf5bf4/1/1 ktUrMAXIudNk0MRh8pLdAYvwAGdiCqoOv0+DZmS6/tV13mi6NPBJggSdFoCtXY3hI/lV ZzYWJi2Gy1K9xVXvPViBc5jR4XQwjrB3UVmR0fi9kuXy8U06Wia3Hqw2mj2j1DvSxRic eaFw== X-Gm-Message-State: AOAM5317XQKgDbtFJQ5aiBPzBk8mEz5JWKCS3W5S61Z+LGgxX+FeVvxW xqEw6BJAMiM98pzb8sxU9qgw5UteCXc= X-Google-Smtp-Source: ABdhPJxhDW+uwTbdb0gw0w2wB/S/8TvNfmxDrMViKszhwtUti6oBDfcRZVnfB5tTKdhsGEp+E3HACg== X-Received: by 2002:a63:104b:0:b0:3f2:470f:2783 with SMTP id 11-20020a63104b000000b003f2470f2783mr6826256pgq.287.1652660583675; Sun, 15 May 2022 17:23:03 -0700 (PDT) Received: from ?IPV6:2403:5807:1b:1:8185:3a14:b3b6:45ba? (2403-5807-1b-1-8185-3a14-b3b6-45ba.ip6.aussiebb.net. [2403:5807:1b:1:8185:3a14:b3b6:45ba]) by smtp.gmail.com with ESMTPSA id a17-20020a170902ecd100b00161478027f5sm3489433plh.150.2022.05.15.17.23.02 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 15 May 2022 17:23:03 -0700 (PDT) Message-ID: <6a1b176f-ef5a-558b-d52f-4805c2fdc7b0@FreeBSD.org> Date: Mon, 16 May 2022 10:22:59 +1000 List-Id: FreeBSD-specific Python issues List-Archive: https://lists.freebsd.org/archives/freebsd-python List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-python@freebsd.org X-BeenThere: freebsd-python@freebsd.org MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.0a1 Reply-To: koobs@FreeBSD.org Content-Language: en-US To: Po-Chuan Hsieh , "John W. O'Brien" Cc: FreeBSD Python Team From: Kubilay Kocak Subject: textproc/py-m2r: Incompletely specified dependency Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4L1g2K1QNwz3lyP X-Spamd-Bar: / Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=I05hvteU; dmarc=none; spf=pass (mx1.freebsd.org: domain of koobsfreebsd@gmail.com designates 2607:f8b0:4864:20::436 as permitted sender) smtp.mailfrom=koobsfreebsd@gmail.com X-Spamd-Result: default: False [-0.61 / 15.00]; HAS_REPLYTO(0.00)[koobs@FreeBSD.org]; RCVD_VIA_SMTP_AUTH(0.00)[]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36:c]; REPLYTO_ADDR_EQ_FROM(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[gmail.com:+]; FORGED_SENDER(0.30)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; MIME_TRACE(0.00)[0:+]; FREEMAIL_ENVFROM(0.00)[gmail.com]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; MID_RHS_MATCH_FROM(0.00)[]; TAGGED_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; FROM_NEQ_ENVFROM(0.00)[koobs@FreeBSD.org,koobsfreebsd@gmail.com]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; NEURAL_SPAM_SHORT(0.34)[0.343]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[FreeBSD.org]; NEURAL_SPAM_MEDIUM(0.25)[0.247]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::436:from]; MLMMJ_DEST(0.00)[freebsd-python]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Hi Sunpoet, The following commit updated textproc/py-m2r changing its dependency to a new port origin, due to mistune API incompatibilities > 2.x but the no dependency is declared (>=0) https://cgit.freebsd.org/ports/commit/?id=995255a5684df6ff950a347555632c569b31365b > > ${PYTHON_PKGNAMEPREFIX}mistune0>=0:textproc/py-mistune0@${PY_FLAVOR} > This causes the following failure at build time for users with mistune installed, as the dependency is (incorrectly) satisfied by the installed mistune (2.x) version: > return '\ :math:`{}`\ '.format(math) > Traceback (most recent call last): > File "", line 1, in > File "setup.py", line 14, in > from m2r import parse_from_file > File "/var/tmp/tmpfs0/usr/home/koobs/repos/freebsd/ports/textproc/py-m2r/work-py39/m2r-0.2.1/m2r.py", line 59, in > class RestBlockGrammar(mistune.BlockGrammar): > AttributeError: module 'mistune' has no attribute 'BlockGrammar' > *** Error code 1 Please set a correct for the mistune dependency: ${PYTHON_PKGNAMEPREFIX}mistune0<2:textproc/py-mistune0@${PY_FLAVOR} This will cause mistune0 to be installed. The issue of conflicting ports is left as a separate exercise. See also: https://github.com/miyakogi/m2r/issues/66 https://github.com/miyakogi/m2r/pull/43/files Thanks, koobs