This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2013年03月21日 22:56 by doko, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| workaround.diff | doko, 2013年03月21日 23:15 | review | ||
| backport.diff | doko, 2013年03月22日 05:58 | review | ||
| Messages (10) | |||
|---|---|---|---|
| msg184919 - (view) | Author: Matthias Klose (doko) * (Python committer) | Date: 2013年03月21日 22:56 | |
The backport of #13150 to the 2.7 branch breaks the build on darwin. There is a special case for providing the _sysconfigdata module in _generate_posix_vars before get_platform is called (darwin only) and before the module is actually written. However get_platform is called before, in site.addbuilddir(). Wondering if this call can either be avoided, or worked around. options: - backport issue586680 too (http://hg.python.org/cpython/rev/4742e7aea2f5/) - fall back to generic values for osname, release, machine any other options? |
|||
| msg184923 - (view) | Author: Matthias Klose (doko) * (Python committer) | Date: 2013年03月21日 23:15 | |
untested work-around. we don't need the builddir to generate the _sysconfigdata.py. |
|||
| msg184928 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2013年03月22日 00:03 | |
Backporting 4742e7aea2f5 would seem to be the simplest and most "correct" solution. |
|||
| msg184944 - (view) | Author: Matthias Klose (doko) * (Python committer) | Date: 2013年03月22日 05:58 | |
here's the backport, tested on Linux only. sorry, can't test this on MacOSX before Sunday. |
|||
| msg184945 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2013年03月22日 06:52 | |
Reverting the backport would also fix the breakage.
Is the addition of _sysconfigdata not a new feature? It changes the place where sysconfig (and distutils sysconfig?) looks for configuration data, and hence breaks all instructions that mention that you can change the Makefile in {sys.prefix}/lib/python2.7/config to globally affect the compilation flags (although there hopefully aren't a lot of those)
|
|||
| msg184946 - (view) | Author: Ronald Oussoren (ronaldoussoren) * (Python committer) | Date: 2013年03月22日 07:00 | |
Guess what, I hadn't read the thread on this python-dev yet :-( |
|||
| msg184970 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2013年03月22日 14:41 | |
I backed it out until it can be done without breaking OSX. d174cb3f5b9e |
|||
| msg185063 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2013年03月23日 14:47 | |
Can landed corrected in 2.7.5. |
|||
| msg185072 - (view) | Author: Matthias Klose (doko) * (Python committer) | Date: 2013年03月23日 18:51 | |
tested the backport on MacOSX, fixing the build. |
|||
| msg186331 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2013年04月08日 19:20 | |
New changeset be3b4aa2ad28 by doko in branch '2.7': - Issue #13150, #17512: sysconfig no longer parses the Makefile and config.h http://hg.python.org/cpython/rev/be3b4aa2ad28 |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:43 | admin | set | github: 61714 |
| 2016年09月12日 02:50:49 | berker.peksag | set | status: open -> closed resolution: fixed stage: needs patch -> resolved |
| 2013年04月08日 19:20:25 | python-dev | set | nosy:
+ python-dev messages: + msg186331 |
| 2013年03月23日 18:51:43 | doko | set | messages: + msg185072 |
| 2013年03月23日 14:47:02 | benjamin.peterson | set | priority: release blocker -> normal messages: + msg185063 |
| 2013年03月22日 14:41:09 | benjamin.peterson | set | messages: + msg184970 |
| 2013年03月22日 07:00:01 | ronaldoussoren | set | messages: + msg184946 |
| 2013年03月22日 06:52:55 | ronaldoussoren | set | messages: + msg184945 |
| 2013年03月22日 06:24:39 | ned.deily | set | nosy:
+ ned.deily |
| 2013年03月22日 05:58:22 | doko | set | files:
+ backport.diff messages: + msg184944 |
| 2013年03月22日 00:03:23 | benjamin.peterson | set | messages: + msg184928 |
| 2013年03月21日 23:22:21 | doko | set | nosy:
+ twouters, pitrou |
| 2013年03月21日 23:15:42 | doko | set | files:
+ workaround.diff keywords: + patch messages: + msg184923 |
| 2013年03月21日 22:56:23 | doko | create | |