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: UNCONFIRMED
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:
Depends on:
Blocks:
 
Reported: 2020-01-10 16:10 UTC by Yevgeny Dyatlov
Modified: 2020-01-10 16:37 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.