Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Feb 2022 22:54:34 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 261698] net/py-sshuttle: Fails to build due to missing tomli>=1.0.0 setuptools_scm dependency
Message-ID:  <bug-261698-21822-6RARRti8NK@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261698-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261698-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=3D261698

Kubilay Kocak <koobs@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kai@FreeBSD.org,
                   |                            |python@FreeBSD.org
              Flags|maintainer-feedback?(koobs@ |maintainer-feedback+,
                   |FreeBSD.org)                |maintainer-feedback?(kai@Fr
                   |                            |eeBSD.org)
             Status|New                         |Open
         Depends on|                            |259797
            Summary|net/py-sshuttle does not    |net/py-sshuttle: Fails to
                   |build on FreeBSD 12.2 and   |build due to missing
                   |Python 3.7                  |tomli>=3D1.0.0 setuptools_=
scm
                   |                            |dependency
           Severity|Affects Some People         |Affects Many People

--- Comment #1 from Kubilay Kocak <koobs@FreeBSD.org> ---
The pip module is provided by the pip thirdparty PyPI package, not the stan=
dard
library, and since this port (and any of its dependencies) don't depend on =
it,
its not available.

This leads to the question as to why setuptools is invoking it, which leads=
 to
the second traceback which references tomli, which is an (optional,
extras_requires) dependency of setuptools_scm.=20

This is very likely related to bug 259797 and related bug reports.

Given you are running poudriere, its unlikely you've turned off the
setuptools_scm TOML option, but if you have re-enable it and retest.

I maintain that packages that depend on setuptools_scm[toml], though shuttle
*does not* [1]m should depend transively and directly on setuptools_scm's
extras_require for 'toml' (see bug 259797 comment 12 but also followup bug
259797 comment 13)

[1] setup_requires=3D['setuptools_scm'],


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D259797
[Bug 259797] devel/py-setuptools_scm: update fail, missing tomli dep
--=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-261698-21822-6RARRti8NK>