<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On 11 July 2016 at 17:27, Alexander Kanavin <span dir="ltr"><<a href="mailto:alexander.kanavin@linux.intel.com" target="_blank">alexander.kanavin@linux.intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><span>On 07/11/2016 02:46 PM, Jussi Kukkonen wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
Not sure where a URL like that comes from or why it would be accessed<br>
during build? Li Xin, any comment?<br>
</blockquote>
<br></span>
A few recipes in meta-oe have this issue, for example python-mccabe:<br>
<br>
DEBUG: Executing shell function do_compile<br>
Download error on <a href="https://pypi.python.org/simple/pytest-runner/" rel="noreferrer" target="_blank">https://pypi.python.org/simple/pytest-runner/</a>: [Errno 110] Connection timed out -- Some packages may not be found!<br>
Couldn't find index page for 'pytest-runner' (maybe misspelled?)<br>
Download error on <a href="https://pypi.python.org/simple/" rel="noreferrer" target="_blank">https://pypi.python.org/simple/</a>: [Errno 110] Connection timed out -- Some packages may not be found!<br>
No local packages or download links found for pytest-runner<br>
Traceback (most recent call last):<br>
File "setup.py", line 57, in <module><br>
'Topic :: Software Development :: Quality Assurance',<br>
File "/home/ak/development/poky/build-meta-openembedded/tmp/sysroots/x86_64-linux/usr/lib/python2.7/distutils/core.py", line 111, in setup<br>
_setup_distribution = dist = klass(attrs)<br>
File "/home/ak/development/poky/build-meta-openembedded/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/setuptools-22.0.5-py2.7.egg/setuptools/dist.py", line 269, in __init__<br>
File "/home/ak/development/poky/build-meta-openembedded/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/setuptools-22.0.5-py2.7.egg/setuptools/dist.py", line 313, in fetch_build_eggs<br></blockquote><div><br></div><div>So mccabe recipe doesn't depend on pytest-runner but does have it in "setup_requires": as a result setuptools tries to download and unpack the pytest-runner egg. I think that might be solved by depending on pytest-runner, although "setup_requires" handling does have some issues so I'm not sure about that: <a href="https://github.com/pypa/pip/issues/410" target="_blank">https://github.com/pypa/pip/issues/410</a> .</div><div><br></div><div>Interestingly python-cryptography does not have six in "setup_requires" so I still don't understand why it would do this. I'll do a few tests on that before sending the updated patch set.<br></div><div><br></div><div>Jussi</div><div><br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
File "/home/ak/development/poky/build-meta-openembedded/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/setuptools-22.0.5-py2.7.egg/pkg_resources/__init__.py", line 826, in resolve<br>
File "/home/ak/development/poky/build-meta-openembedded/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/setuptools-22.0.5-py2.7.egg/pkg_resources/__init__.py", line 1092, in best_match<br>
File "/home/ak/development/poky/build-meta-openembedded/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/setuptools-22.0.5-py2.7.egg/pkg_resources/__init__.py", line 1104, in obtain<br>
File "/home/ak/development/poky/build-meta-openembedded/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/setuptools-22.0.5-py2.7.egg/setuptools/dist.py", line 380, in fetch_build_egg<br>
File "/home/ak/development/poky/build-meta-openembedded/tmp/sysroots/x86_64-linux/usr/lib/python2.7/site-packages/setuptools-22.0.5-py2.7.egg/setuptools/command/easy_install.py", line 659, in easy_install<br>
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')<br>
WARNING: exit code 1 from a shell command.<br>
ERROR: Function failed: do_compile (log file is located at /home/ak/development/poky/build-meta-openembedded/tmp/work/i586-poky-linux/python-mccabe/0.4.0-r0/temp/log.do_compile.3493)<br>
<br>
<br>
Alex<span><font color="#888888"><br>
-- <br>
_______________________________________________<br>
Openembedded-core mailing list<br>
<a href="mailto:Openembedded-core@lists.openembedded.org" target="_blank">Openembedded-core@lists.openembedded.org</a><br>
<a href="http://lists.openembedded.org/mailman/listinfo/openembedded-core" rel="noreferrer" target="_blank">http://lists.openembedded.org/mailman/listinfo/openembedded-core</a><br>
</font></span></blockquote></div><br></div></div>