Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 798609 - dev-python/virtualenvwrapper-4.8.4-r1 setuptools warnings detected
Summary: dev-python/virtualenvwrapper-4.8.4-r1 setuptools warnings detected
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-25 06:27 UTC by Agostino Sarubbo
Modified: 2022-10-12 06:31 UTC (History)
0 users

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


Attachments
build.log (build.log,53.14 KB, text/plain)
2021-06-25 06:27 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-06-25 06:27:18 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/virtualenvwrapper-4.8.4-r1 setuptools warnings detected.
Discovered on: amd64 (internal ref: tinderbox)

NOTE:
Please look for 'QA Notice: setuptools warnings detected'
https://archives.gentoo.org/gentoo-dev/message/81e472e95b181da6e017a85acf329981.
Comment 1 Agostino Sarubbo gentoo-dev 2021-06-25 06:27:20 UTC
Created attachment 719088 [details]
build.log

build log and emerge --info
Comment 2 Randy Barlow 2022-10-07 16:56:44 UTC
This bug became "severe" recently, as it seems that portage now forbids these files so the package now fails to install as a result:

changing mode of /var/tmp/portage/dev-python/virtualenvwrapper-4.8.4-r1/image/_python3.10/usr/lib/python-exec/python3.10/virtualenvwrapper_lazy.sh to 755
 * Using python3.10 in global scope
 * python3_10: running distutils-r1_run_phase distutils-r1_python_install_all
 * The following *-nspkg.pth files were found installed:
 *
 *   /usr/lib/python3.10/site-packages/virtualenvwrapper-4.8.4-py3.10-nspkg.pth
 *
 * The presence of those files may break namespaces in Python 3.5+. Please
 * read our documentation on reliable handling of namespaces and update
 * the ebuild accordingly:
 *
 *   https://projects.gentoo.org/python/guide/concept.html#namespace-packages
 * ERROR: dev-python/virtualenvwrapper-4.8.4-r1::gentoo failed (install phase):
 *   Installing *-nspkg.pth files is banned
 *
 * Call stack:
 *     ebuild.sh, line  122:  Called src_install
 *   environment, line 3375:  Called distutils-r1_src_install
 *   environment, line 1596:  Called _distutils-r1_check_namespace_pth
 *   environment, line  397:  Called die
 * The specific snippet of code:
 *           die "Installing *-nspkg.pth files is banned";
Comment 3 Randy Barlow 2022-10-07 16:57:27 UTC
(In reply to Randy Barlow from comment #2)
> This bug became "severe" recently

(If you think "does not install" is "severe", of course ☺ Perhaps I was being hyperbolic ☺)
Comment 4 Larry the Git Cow gentoo-dev 2022-10-12 06:31:55 UTC
The bug has been closed via the following commit(s):

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

commit 37570b3adef0ffa5e9aba77b9a770f7521b6b13e
Author:     Eray Aslan <eras@gentoo.org>
AuthorDate: 2022-10-12 06:30:09 +0000
Commit:     Eray Aslan <eras@gentoo.org>
CommitDate: 2022-10-12 06:31:04 +0000

    dev-python/virtualenvwrapper: do not install namespace packages
    
    update EAPI 7 -> 8
    
    Closes: https://bugs.gentoo.org/876367
    Closes: https://bugs.gentoo.org/798609
    Signed-off-by: Eray Aslan <eras@gentoo.org>

 .../virtualenvwrapper-4.8.4-r2.ebuild              | 47 ++++++++++++++++++++++
 1 file changed, 47 insertions(+)