Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Update python to version 2.7.5 | ||
---|---|---|---|
Product: | General | Reporter: | Pedro Giffuni <pfg> |
Component: | scripting | Assignee: | jsc |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Major | ||
Priority: | P3 | CC: | hanya.runo, issues, jsc, linda_octa |
Version: | 4.0.0-dev | ||
Target Milestone: | 4.0.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Latest Confirmation in: | 4.0.0 |
Developer Difficulty: | Simple | ||
Issue Depends on: | 119384 | ||
Issue Blocks: |
Description
Pedro Giffuni
2013-04-07 00:33:05 UTC
FWIW, the sources for Python 2.7.4 have been uploaded in Apache Extras to make easier the update. Updating this should be relatively easy: - update external_deps.lst - Update the makefiles in python/ - In python/ edit the patches and prj/d.lst to replace 2.7.3 to 2.7.4 - Fix any breakage from the last step. (In reply to comment #1) > FWIW, the sources for Python 2.7.4 have been uploaded in Apache Extras to > make easier the update. > 62704ea0f125923208d84ff0568f7d50-Python-2.7.4.tar.bz2 "jsc" committed SVN revision 1468480 into trunk: #122010# ensure that python 2.7.4 is used under MacOS "jsc" committed SVN revision 1478650 into trunk: #122010# update python to ver 2.7.4 update python version to 2.7.4 and built and tested successful on Linux and Windows. Linux, Windows and MacOS built and verified (In reply to comment #3) > "jsc" committed SVN revision 1468480 into trunk: > #122010# ensure that python 2.7.4 is used under MacOS FWIW, I still think that system python 2.7.1 in MacOS should be used if it is available. Thank you for updating the internal python, I am sure it will be inportant for many users :). reopen and used to update on 2.7.5 which fixed some regressions version 2.7.5 is uploaded on extras for convenience 6334b666b7ff2038c761d7b27ba699c1-Python-2.7.5.tar.bz2 "jsc" committed SVN revision 1485654 into trunk: #122010# prepare configur to support Python 2.7.5 and newer on MacOS, 2.7.1 i... "jsc" committed SVN revision 1485784 into trunk: #122010# prepare configure to support Python 2.7.5 and newer on MacOS, 2.7.1 ... "jsc" committed SVN revision 1488886 into trunk: #122010# update Python to 2.7.5 fixed on trunk "jsc" committed SVN revision 1489073 into tags/SNAPSHOT: #122010# update d.lst "jsc" committed SVN revision 1489077 into trunk: #122010# update d.lst After the update to Python 2.7.5, it can not be started up on Linux 32bit. Here is part of the traceback: File "/mnt/hd/ooo/main/instsetoo_native/unxlngi6.pro/Apache_OpenOffice/installed/install/en-US/openoffice4/program/python-core-2.7.5/lib/sysconfig.py", line 352, in _init_posix from _sysconfigdata import build_time_vars ImportError: No module named _sysconfigdata _sysconfigdata file is generated during the building of Python since Python 2.7.5 [1], back ported from 3.X. [1] http://bugs.python.org/issue13150 Maybe all library files should be copied from python-inst. Index: python/prj/d.lst =================================================================== --- python/prj/d.lst (revision 1489281) +++ python/prj/d.lst (working copy) @@ -73,6 +73,7 @@ ..\%__SRC%\misc\build\Python-2.7.5\Lib\multiprocessing\dummy\* %_DEST%\lib%_EXT%\python\multiprocessing\dummy\* ..\%__SRC%\misc\build\Python-2.7.5\Lib\unittest\* %_DEST%\lib%_EXT%\python\unittest\* ..\%__SRC%\misc\build\Python-2.7.5\Makefile %_DEST%\lib%_EXT%\python\python2.7\config\Makefile +..\%__SRC%\misc\build\python-inst\lib\python2.7\_sysconfigdata.py %_DEST%\lib%_EXT%\python\_sysconfigdata.py ..\pyversion.mk %_DEST%\inc%_EXT%\pyversion.mk hanya: do you know more about this? I have delivered sysconfigdata and rebuildpyuno but it still crashed. @jsc: did you rebuild pyuno module? Python files are delivered from python module and after that, pyuno/zipcore takes care them again. _sysconfigdata.py file should be there in solver/xxx/lib/python/lib and pyuno/xxx/bin/python-core-version/lib (and also zipped package). yes I rebuild pyuno but it's seems that my build contained some old stuff, now it works "jsc" committed SVN revision 1489507 into trunk: #122010# deliver _sysconfigdata.py fixed *** Issue 110637 has been marked as a duplicate of this issue. *** |