Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 705116

Summary: dev-python/ndg-httpsclient-0.4.0 install warning *-nspkg.pth files were found and it may break namespaces in Python 3.5+
Product: Gentoo Linux Reporter: Yevgeny Dyatlov <subscribe>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal Keywords: PMASKED
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: log

Description Yevgeny Dyatlov 2020-01-10 16:10:54 UTC
Created attachment 602926 [details]
log

* python3_6: running distutils-r1_run_phase distutils-r1_python_install_all
 * The following *-nspkg.pth files were found installed:
 * 
 *   /usr/lib64/python3.6/site-packages/ndg_httpsclient-0.4.0-py3.6-nspkg.pth
 *   /usr/lib64/python2.7/site-packages/ndg_httpsclient-0.4.0-py2.7-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://wiki.gentoo.org/wiki/Project:Python/Namespace_packages
----------------
dev-python/ndg-httpsclient/ndg-httpsclient-0.4.0.ebuild haven't *.pth file removal snippet
python_install_all() {
  distutils-r1_python_install_all
  find "${ED}" -name '*.pth' -delete || die
}

Maybe  it needs to be add this removal snippet to ebuild as it already has been done in ndg-httpsclient-0.4.2-r1.ebuild.
Comment 1 Larry the Git Cow gentoo-dev 2023-01-27 11:11:33 UTC
The bug has been closed via the following commit(s):

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

commit bdff536f0ebb46c62377f9c49448dfe30d3d4359
Author:     Jakov Smolić <jsmolic@gentoo.org>
AuthorDate: 2023-01-27 10:57:41 +0000
Commit:     Jakov Smolić <jsmolic@gentoo.org>
CommitDate: 2023-01-27 11:07:19 +0000

    dev-python/ndg-httpsclient: treeclean
    
    Closes: https://bugs.gentoo.org/888147
    Closes: https://bugs.gentoo.org/705116
    Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>

 dev-python/ndg-httpsclient/Manifest                |   1 -
 ...ndg-httpsclient-0.5.1-expiration-test-fix.patch | 282 ---------------------
 dev-python/ndg-httpsclient/metadata.xml            |  13 -
 .../ndg-httpsclient/ndg-httpsclient-0.5.1.ebuild   |  46 ----
 profiles/package.mask                              |   6 -
 5 files changed, 348 deletions(-)