<div dir="ltr">Nevermind, I found a more recent failure, e.g. <a href="https://travis-ci.org/python/cpython/jobs/228773144">https://travis-ci.org/python/cpython/jobs/228773144</a> (I was looking at a 3.6 build).<div><br></div><div>Whatever the cause it seems to be limited to master and the first failure is <a href="https://travis-ci.org/python/cpython/jobs/228409786">https://travis-ci.org/python/cpython/jobs/228409786</a> which corresponds to Victor's regen-all change <a href="https://github.com/python/cpython/commit/a5c62a8e9f0de6c4133825a5710984a3cd5e102b">https://github.com/python/cpython/commit/a5c62a8e9f0de6c4133825a5710984a3cd5e102b</a> . I'm not quite sure how the build changes broke distutils, though.</div><br><div class="gmail_quote"><div dir="ltr">On Thu, 4 May 2017 at 10:54 Brett Cannon <<a href="mailto:brett@python.org">brett@python.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I newer didn't have that issue (it failed for testing reasons): <a href="https://travis-ci.org/python/cpython/jobs/228820650" target="_blank">https://travis-ci.org/python/cpython/jobs/228820650</a>.<div><br></div><div>I tried to re-run the build step to see if I could reproduce but the PR is already merged so I can't check. But I'm a little surprised it tried to build the sdist since coverage.py should have the appropriate wheel (<a href="https://pypi.org/project/coverage/#files" target="_blank">https://pypi.org/project/coverage/#files</a>).</div><div><br></div><div>So I guess my answer is "I don't know what happened, but it seems to be an isolated case".</div></div><br><div class="gmail_quote"><div dir="ltr">On Thu, 4 May 2017 at 07:47 Antoine Pitrou <<a href="mailto:antoine@python.org" target="_blank">antoine@python.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Hello,<br>
<br>
I'm getting the following error on the Travis-CI coverage job:<br>
(from <a href="https://travis-ci.org/python/cpython/jobs/228758363#L837" rel="noreferrer" target="_blank">https://travis-ci.org/python/cpython/jobs/228758363#L837</a> )<br>
<br>
Collecting coverage<br>
Downloading coverage-4.3.4.tar.gz (361kB)<br>
� Complete output from command python setup.py egg_info:<br>
running egg_info<br>
creating pip-egg-info/coverage.egg-info<br>
writing pip-egg-info/coverage.egg-info/PKG-INFO<br>
writing dependency_links to<br>
pip-egg-info/coverage.egg-info/dependency_links.txt<br>
writing entry points to pip-egg-info/coverage.egg-info/entry_points.txt<br>
writing top-level names to pip-egg-info/coverage.egg-info/top_level.txt<br>
writing manifest file 'pip-egg-info/coverage.egg-info/SOURCES.txt'<br>
warning: manifest_maker: standard file '-c' not found<br>
<br>
Traceback (most recent call last):<br>
File "<string>", line 1, in <module><br>
File "/tmp/pip-build-ewtgqc2r/coverage/setup.py", line 204, in<br>
<module><br>
main()<br>
File "/tmp/pip-build-ewtgqc2r/coverage/setup.py", line 194, in main<br>
setup(**setup_args)<br>
File "/home/travis/build/python/cpython/Lib/distutils/core.py",<br>
line 148, in setup<br>
dist.run_commands()<br>
File "/home/travis/build/python/cpython/Lib/distutils/dist.py",<br>
line 955, in run_commands<br>
self.run_command(cmd)<br>
File "/home/travis/build/python/cpython/Lib/distutils/dist.py",<br>
line 974, in run_command<br>
cmd_obj.run()<br>
File<br>
"/home/travis/build/python/cpython/venv/lib/python3.7/site-packages/setuptools/command/egg_info.py",<br>
line 279, in run<br>
self.find_sources()<br>
File<br>
"/home/travis/build/python/cpython/venv/lib/python3.7/site-packages/setuptools/command/egg_info.py",<br>
line 306, in find_sources<br>
mm.run()<br>
File<br>
"/home/travis/build/python/cpython/venv/lib/python3.7/site-packages/setuptools/command/egg_info.py",<br>
line 533, in run<br>
self.add_defaults()<br>
File<br>
"/home/travis/build/python/cpython/venv/lib/python3.7/site-packages/setuptools/command/egg_info.py",<br>
line 562, in add_defaults<br>
sdist.add_defaults(self)<br>
File<br>
"/home/travis/build/python/cpython/Lib/distutils/command/sdist.py", line<br>
228, in add_defaults<br>
self._add_defaults_ext()<br>
File<br>
"/home/travis/build/python/cpython/Lib/distutils/command/sdist.py", line<br>
311, in _add_defaults_ext<br>
build_ext = self.get_finalized_command('build_ext')<br>
File "/home/travis/build/python/cpython/Lib/distutils/cmd.py",<br>
line 299, in get_finalized_command<br>
cmd_obj.ensure_finalized()<br>
File "/home/travis/build/python/cpython/Lib/distutils/cmd.py",<br>
line 107, in ensure_finalized<br>
self.finalize_options()<br>
File<br>
"/home/travis/build/python/cpython/Lib/distutils/command/build_ext.py",<br>
line 150, in finalize_options<br>
py_include = sysconfig.get_python_inc()<br>
File<br>
"/home/travis/build/python/cpython/Lib/distutils/sysconfig.py", line<br>
100, in get_python_inc<br>
incdir = os.path.join(_sys_home, get_config_var('AST_H_DIR'))<br>
File "/home/travis/build/python/cpython/Lib/posixpath.py", line<br>
92, in join<br>
genericpath._check_arg_types('join', a, *p)<br>
File "/home/travis/build/python/cpython/Lib/genericpath.py", line<br>
149, in _check_arg_types<br>
(funcname, s.__class__.__name__)) from None<br>
TypeError: join() argument must be str or bytes, not 'NoneType'<br>
<br>
----------------------------------------<br>
�Command "python setup.py egg_info" failed with error code 1 in<br>
/tmp/pip-build-ewtgqc2r/coverage/�<br>
<br>
<br>
Regards<br>
<br>
Antoine.<br>
_______________________________________________<br>
python-committers mailing list<br>
<a href="mailto:python-committers@python.org" target="_blank">python-committers@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-committers" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-committers</a><br>
Code of Conduct: <a href="https://www.python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">https://www.python.org/psf/codeofconduct/</a><br>
</blockquote></div></blockquote></div></div>