Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 834534 - dev-python/jaraco-packaging-9.0.0: removal (was: causes multiple Python packages fail to build with USE=doc)
Summary: dev-python/jaraco-packaging-9.0.0: removal (was: causes multiple Python packa...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Louis Sautier (sbraz)
URL:
Whiteboard:
Keywords: PMASKED
: 834677 (view as bug list)
Depends on:
Blocks:
 
Reported: 2022-03-03 15:53 UTC by Yutao Yuan
Modified: 2022-07-02 13:06 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log for dev-python/zipp (build.log,6.94 KB, text/x-log)
2022-03-03 15:53 UTC, Yutao Yuan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yutao Yuan 2022-03-03 15:53:55 UTC
Created attachment 766195 [details]
build.log for dev-python/zipp

After upgrading to dev-python/jaraco-packaging-9.0.0, several Python packages are failing to build with USE=doc. This at least include the following ones:

dev-python/jaraco-packaging-9.0.0
dev-python/jaraco-text-3.7.0-r1
dev-python/jaraco-functools-3.5.0-r1
dev-python/zipp-3.7.0-r1

The relevant part of error message for dev-python/zipp is shown below. For other packages the error is similar, only the package name "flit_core" may be different.


python3.10 -m sphinx.cmd.build -b html -d docs/_build/doctrees docs docs/_build/html
Running Sphinx v4.4.0
making output directory... done
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fbc3bca5690>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/flit-core/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fbc3bca49d0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/flit-core/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fbc3bca6fb0>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/flit-core/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fbc3bcbd270>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/flit-core/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fbc3bcbf460>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution')': /simple/flit-core/
ERROR: Could not find a version that satisfies the requirement flit_core<4,>=3.2 (from versions: none)
ERROR: No matching distribution found for flit_core<4,>=3.2

Extension error (jaraco.packaging.sphinx):
Handler <function load_config_from_setup at 0x7f0b6f9bd000> for event 'builder-inited' threw an exception (exception: Command '['/tmp/portage/dev-python/zipp-3.7.0-r1/work/zipp-3.7.0-python3_10/install/usr/bin/python3.10', '-m', 'pip', 'install', '--ignore-installed', '--prefix', '/tmp/portage/dev-python/zipp-3.7.0-r1/temp/pep517-build-env-qd4srvx1', 'flit_core >=3.2,<4']' returned non-zero exit status 1.)


As seen in the command, jaraco.packaging.sphinx is attempting to install some packages in a temporary directory, which fails due to no internet.
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-03 16:04:03 UTC
Is flit_core definitely installed?
Comment 2 Yutao Yuan 2022-03-04 06:08:17 UTC
Yes, flit_core is installed for python3.10. The error log for jaraco-text and jaraco-functools shows flit_core>=3.2,<4 as well, and error log for jaraco-packaging shows setuptools>=56, which is also installed.
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-03-18 13:11:58 UTC
Well, I haven't checked it 100% but I'm pretty sure it's pep517 package trying to create a local venv and install pyproject.toml requirements there… in order to get package metadata.
Comment 4 Larry the Git Cow gentoo-dev 2022-03-18 13:18:16 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93b8104f4e7b08d09c22437a6025e83301580290

commit 93b8104f4e7b08d09c22437a6025e83301580290
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-03-18 13:17:23 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-03-18 13:18:00 +0000

    package.mask: Mask broken jaraco-packaging-9.0.0
    
    Bug: https://bugs.gentoo.org/834534
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/package.mask | 5 +++++
 1 file changed, 5 insertions(+)
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2022-06-02 08:34:24 UTC
*** Bug 834677 has been marked as a duplicate of this bug. ***
Comment 6 Larry the Git Cow gentoo-dev 2022-06-02 08:39:54 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d98dcc3db0061a169237c631c731a70bf9e8f34d

commit d98dcc3db0061a169237c631c731a70bf9e8f34d
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2022-06-02 08:39:20 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2022-06-02 08:39:37 +0000

    package.mask: Last rite dev-python/jaraco-packaging
    
    Bug: https://bugs.gentoo.org/834534
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 profiles/base/package.use.mask | 12 ++++++++++++
 profiles/package.mask          |  9 +++++++++
 2 files changed, 21 insertions(+)
Comment 7 Larry the Git Cow gentoo-dev 2022-07-02 13:06:26 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=100fd1d2eea574e98c94d0d0dc3717c0476f5012

commit 100fd1d2eea574e98c94d0d0dc3717c0476f5012
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-07-02 13:05:54 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-07-02 13:06:05 +0000

    dev-python/jaraco-packaging: treeclean
    
    Bug: https://bugs.gentoo.org/834534
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/jaraco-packaging/Manifest               |  1 -
 .../jaraco-packaging-8.2.1-r1.ebuild               | 39 ----------------------
 dev-python/jaraco-packaging/metadata.xml           | 19 -----------
 profiles/package.mask                              |  9 -----
 4 files changed, 68 deletions(-)
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-02 13:06:37 UTC
Removed.