Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Dec 2021 22:33:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 259993] devel/py-pyparsing: build failure: pkg_resources.DistributionNotFound: The 'packaging>=20.0' distribution was not found and is required by the application
Message-ID:  <bug-259993-21822-yOxyHwPFIs@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-259993-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-259993-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259993

Stefan E=C3=9Fer <se@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |se@FreeBSD.org
         Resolution|---                         |DUPLICATE
             Status|New                         |Closed

--- Comment #10 from Stefan E=C3=9Fer <se@FreeBSD.org> ---
No, this has nothing to do at all with portmaster, as is obvious from the
reports that ran into this situation without using portmaster.

This is actually a duplicate of PR 259981, and I'll mark it as such.

The problem is that py-setuptools_scm depends on both py-pyparsing and
py-packaging, and these two ports are correctly installed with
py-setuptools_scm.

Both py-pyparsing and py-packaging cannot depend on py-setuptools_scm, as t=
hat
would be a circular dependency.

But if either or both of py-pyparsing and py-packaging are removed, but
py-setuptools_scm persists, then the missing ports can no longer be built.

The configure phase will try to execute py-setuptools_scm, which fails of o=
ne
of the run dependencies is missing. And that terminates the build of the
missing dependency, despite it not really depending on py-setuptools_scm (as
that would be a circular dependency).

Either py-setuptools_scm should only be executed for ports that actually de=
pend
on it (not realistic), or a failure of py-setuptools_scm due to a missing
py-pyparsing or py-packaging should not make their setup.py fail, perhaps by
passing an option that prevents invocation of py-setuptools_scm for these t=
wo
ports.

*** This bug has been marked as a duplicate of bug 259981 ***

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-259993-21822-yOxyHwPFIs>