Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 705116 - dev-python/ndg-httpsclient-0.4.0 install warning *-nspkg.pth files were found and it may break namespaces in Python 3.5+
Summary: dev-python/ndg-httpsclient-0.4.0 install warning *-nspkg.pth files were foun...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2020-01-10 16:10 UTC by Yevgeny Dyatlov
Modified: 2023-01-27 11:11 UTC (History)
0 users

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


Attachments
log (dev-python:ndg-httpsclient-0.4.0:20200110-133446.log,23.85 KB, text/x-log)
2020-01-10 16:10 UTC, Yevgeny Dyatlov
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)