[Python-Dev] "make touch" replaced with "make regen-all"
Victor Stinner
victor.stinner at gmail.com
Tue May 9 07:20:05 EDT 2017
2017-05-04 19:51 GMT+02:00 Raymond Hettinger <raymond.hettinger at gmail.com>:
> Yes. It is perfectly reasonable to backport improvements to the tooling as long as it doesn't break anyone's existing build process.
I pushed my change to 2.7, 3.5, 3.6 and master (3.7) branches: "make"
doesn't try to regenerate generated files based on file modification
time, "make regen-all" is now required instead.
This change broke the Coverage job on Travis CI, because sysconfig.py
uses get_config_var('AST_H_DIR') to build sysconfig.get_python_inc():
http://bugs.python.org/issue30273
sysconfig was modified in 2012. "Include" was replaced with
get_config_var('AST_H_DIR') by:
https://hg.python.org/cpython/rev/998c8a8f2aea
=> see http://bugs.python.org/issue15366
To fix the Coverage job, I reverted this change:
https://github.com/python/cpython/commit/b109a1d3360fc4bb87b9887264e3634632d392ca
I'm unable to reproduce http://bugs.python.org/issue15366 bug: "venv
assumes header files in sys._home + '/Include' ".
It seems like venv and virtualend have been updated in the meanwhile
to add ${venv}/include to the include directories when building an
extension.
Victor
More information about the Python-Dev
mailing list