Re: devel/py-pyparsing and devel/py-packaging have circular dependency
Date: Sat, 04 Dec 2021 09:27:17 UTC
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 "<string>", line 1, in <module> File "setup.py", line 40, in <module> 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 <lambda> 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 "<string>", line 1, in <module> File "setup.py", line 23, in <module> 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 <lambda> 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 <meta@FreeBSD.org>