From nobody Sat Dec 4 09:45:55 2021 X-Original-To: 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 85C7418C59A1 for ; Sat, 4 Dec 2021 09:46:32 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (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 "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4J5lFh2cCyz4WnB for ; Sat, 4 Dec 2021 09:46:32 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: from mail-qv1-f43.google.com (mail-qv1-f43.google.com [209.85.219.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) (Authenticated sender: sunpoet) by smtp.freebsd.org (Postfix) with ESMTPSA id 30B5F23206 for ; Sat, 4 Dec 2021 09:46:32 +0000 (UTC) (envelope-from sunpoet@freebsd.org) Received: by mail-qv1-f43.google.com with SMTP id kl8so5241737qvb.3 for ; Sat, 04 Dec 2021 01:46:32 -0800 (PST) X-Gm-Message-State: AOAM530H9qAvd5H5ulCk+fILsLXwN0P2XtzF3T6RZ4nRc370/EpCo13o QsOnmFNolGS8hrfngHmjYHDJ7IfG6KuePLeVRBFsyg== X-Google-Smtp-Source: ABdhPJzq4ZwbZfokGIezk6RkdI0prsOCG66W9qZL8/VDoLPMDwghHJUNDlhFv81Vy9xGwGffhCcndwy2N27AK5Tdzrs= X-Received: by 2002:ad4:5f87:: with SMTP id jp7mr24146619qvb.28.1638611191697; Sat, 04 Dec 2021 01:46:31 -0800 (PST) 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 References: In-Reply-To: From: Po-Chuan Hsieh Date: Sat, 4 Dec 2021 17:45:55 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: devel/py-pyparsing and devel/py-packaging have circular dependency To: Koichiro Iwao Cc: ports-developers@freebsd.org, python@freebsd.org Content-Type: multipart/alternative; boundary="00000000000001a3c205d24ee6d9" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638611192; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Hc5Bs/tK7fb9EpFywnd9Yg3qcBcX/nBBUkQpyVktCbE=; b=vutAmNVFK99LBxOsLAiJmYEecb/e5Gx+moIms89O2RRALxCBzmfdd8V/Ikk/TglkqLU/bt yb2vAKRBqL69h61d4e9u6lyv2aimU/EGKruaQE6McAae6WhYDP8Mt6bLFRRgRjMhc/hlpX WUr8C8RPjnl2fM8lTjHfTGrZTJyzaLnnevaGioMIArnwZt7ymku/IP/PPu/uHmelvSGePC VMr0oNZyu9ELk6EIxaonI9faQC1ijLcOnZ8OXdDz8OilpHDrUBPVVRMat86dO3MdkySJDa q5DAo6zJB1crTI7XjAWfNbF0xwazA3pivTx7iNjheXTG87NSinvhlYBNNKF79Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638611192; a=rsa-sha256; cv=none; b=pu0H1pll/4PEXO/FyJB4aHfK78XOEHDXz8i6DK3mR9S+VrAQqRA/XivUuIi+IW9NY5VjWo 03wpg/t0HA+7C72saGj/8TvpZyepcFy0XYSFmavILlZI/Ve60TnG+DbtYrWiTDqeywUtFZ aYOeXMILG+iCcc0eQfzh7vNinhjHyVyC/xKs3FXJn8pD1J9VfOIjvASlluAoll0nKH+I1t PaGtWr29Dfu9gvW17j+WzJQ5BvrGszdVOKCo1Y+/my4J4G9qBQjwpqXyPUk8WCKDIhTdhG WWEzs7EYjfNPJSc8qoP07iTEt3Baw+oGpVlXIkhImnVFtzFmr3DvPci9jC4ckw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: Y --00000000000001a3c205d24ee6d9 Content-Type: text/plain; charset="UTF-8" This is totally a portmaster issue (wrong order of build, install and deinstall). The python dependencies are all correct. py-pyparsing DOES NOT REQUIRE py-packaging. On Sat, Dec 4, 2021 at 5:27 PM Koichiro Iwao wrote: > For the record, > > devel/py-packaging requires devel/py-pyparsing. OTOH, dvel/py-pyparsing > requires devel/py-packaging. > I cannot install either. > > % make -V PORTVERSION -C /usr/ports/devel/py-packaging > > 21.3 > > > % make -V PORTVERSION -C > /usr/ports/devel/py-pyparsing > 3.0.6 > > % sudo make install -C /usr/ports/devel/py-packaging > ===> py38-packaging-21.3 depends on package: py38-setuptools>0 - found > ===> py38-packaging-21.3 depends on file: /usr/local/bin/python3.8 - > found > ===> py38-packaging-21.3 depends on file: /usr/local/bin/ccache - > found > ===> Configuring for py38-packaging-21.3 > Traceback (most recent call last): > > File > "", line 1, in > > File > "setup.py", line 40, in > > setup( > > > File > "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", line > 153, in setup > return distutils.core.setup(**attrs) > > File > "/usr/local/lib/python3.8/distutils/core.py", line 108, in setup > > > _setup_distribution = dist = klass(attrs) > File "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line > 455, in __init__ > _Distribution.__init__(self, { > > File > "/usr/local/lib/python3.8/distutils/dist.py", line 292, in __init__ > self.finalize_options() > > File > "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line 800, > in finalize_options > for ep in sorted(eps, key=by_order): > > File > "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line 799, > in > eps = map(lambda e: e.load(), > pkg_resources.iter_entry_points(group)) > > File > "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line > 2449, in load > > self.require(*args, **kwargs) > > File > "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line > 2472, in require > items = working_set.resolve(reqs, env, installer, > extras=self.extras) > > File > "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line > 772, in resolve > raise DistributionNotFound(req, requirers) > > > pkg_resources.DistributionNotFound: The 'pyparsing!=3.0.5,>=2.0.2' > distribution was not found and is required by packaging > *** Error code 1 > > > > > Stop. > > > make: stopped in > /usr/ports/devel/py-packaging > > % sudo make install -C /usr/ports/devel/py-pyparsing > > ===> > py38-pyparsing-3.0.6 depends on package: py38-setuptools>0 - found > ===> py38-pyparsing-3.0.6 depends on file: /usr/local/bin/python3.8 - > found > ===> > py38-pyparsing-3.0.6 depends on file: /usr/local/bin/ccache - found > ===> Configuring for py38-pyparsing-3.0.6 > Traceback (most recent call last): > > File > "", line 1, in > File "setup.py", line 23, in > > setup( > # Distribution meta-data > File "/usr/local/lib/python3.8/site-packages/setuptools/__init__.py", > line 153, in setup > return distutils.core.setup(**attrs) > > File > "/usr/local/lib/python3.8/distutils/core.py", line 108, in setup > > > _setup_distribution = dist = klass(attrs) > > File > "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line 455, > in __init__ > _Distribution.__init__(self, { > File "/usr/local/lib/python3.8/distutils/dist.py", line 292, in > __init__ > self.finalize_options() > > File > "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line 800, > in finalize_options > for ep in > sorted(eps, key=by_order): > > File > "/usr/local/lib/python3.8/site-packages/setuptools/dist.py", line 799, > in > eps = > map(lambda e: e.load(), pkg_resources.iter_entry_points(group)) > > File > "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line > 2449, in load > self.require(*args, **kwargs) > > File > "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line > 2472, in require > items = > working_set.resolve(reqs, env, installer, extras=self.extras) > > File > "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", line > 772, in resolve > raise > DistributionNotFound(req, requirers) > > > pkg_resources.DistributionNotFound: The 'packaging>=20.0' distribution > was not found and is required by the application > *** Error code 1 > > > > > Stop. > > > make[1]: stopped in > /usr/ports/devel/py-pyparsing > *** Error code 1 > > > > > Stop. > > > make: stopped in > /usr/ports/devel/py-pyparsing > > -- > meta > --00000000000001a3c205d24ee6d9--