- 20 Aug, 2011 3 commits
-
-
Éric Araujo authored
I made a note a month ago that install --record wrote incorrect entries for extension modules (I think the problem was that the first character of the file was stripped), so I’m now adding a test to try to reproduce that in the current versions.
-
Éric Araujo authored
-
Éric Araujo authored
I need to copy this file in another test too, so I moved the support code to distutils.tests.support and improved it: - don’t skip when run from the Lib/distutils/tests directory - use proper skip machinery instead of custom print/return/test suite fiddling.
-
- 31 Jul, 2011 1 commit
-
-
Éric Araujo authored
The changed behavior of sdist in 3.1 broke packaging for projects that wanted to use a manually-maintained MANIFEST file (instead of having a MANIFEST.in template and letting distutils generate the MANIFEST). The fixes that were committed for #8688 (76643c286b9f by Tarek and d54da9248ed9 by me) did not fix all issues exposed in the bug report, and also added one problem: the MANIFEST file format gained comments, but the read_manifest method was not updated to handle (i.e. ignore) them. This changeset should fix everything; the tests have been expanded and I successfully tested the 2.7 version with Mercurial, which suffered from this regression. I have grouped the versionchanged directives for these bugs in one place and added micro version numbers to help users know the quirks of the exact version they’re using. Initial report, thorough diagnosis and patch by John Dennis, further work on the patch by Stephen Thorne, and a few edits and additions by me.
-
- 28 Jul, 2011 1 commit
-
-
Senthil Kumaran authored
Fix closes Issue11439 Remove the SVN keywords from the code as it is no longer applicable in hg. Patch Contributed by Neil Muller.
-
- 09 Jul, 2011 1 commit
-
-
Georg Brandl authored
-
- 03 Jul, 2011 1 commit
-
-
Georg Brandl authored
-
- 30 Jun, 2011 1 commit
-
-
Victor Stinner authored
encoding cookie, instead of opening it in UTF-8.
-
- 29 Jun, 2011 2 commits
-
-
Ned Deily authored
set the MACOSX_DEPLOYMENT_TARGET env variable for the interpreter process on OS X. This could cause failures in non-distutils subprocesses and was unreliable since tests or user programs could modify the interpreter environment after distutils set it. Instead, have distutils set the the deployment target only in the environment of each build subprocess. Continue to use the previous algorithm for deriving the deployment target value: if MACOSX_DEPLOYMENT_TARGET is not set in the interpreter's env: use the interpreter build configure MACOSX_DEPLOYMENT_TARGET elif the MACOSX_DEPLOYMENT_TARGET env value >= configure value: use the env MACOSX_DEPLOYMENT_TARGET else: # env value less than interpreter build configure value raise exception This allows building extensions that can only run on newer versions of the OS than the version python was built for, for example with a python built for 10.3 or later and an extension that needs to be built for 10.5.
-
Ned Deily authored
test_build_ext.
-
- 28 Jun, 2011 1 commit
-
-
Ned Deily authored
test_build_ext of test_distutils is no longer silently skipped when run outside of a build directory.
-
- 11 Jun, 2011 2 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 04 Jun, 2011 1 commit
-
-
Éric Araujo authored
-
- 29 May, 2011 2 commits
-
-
Benjamin Peterson authored
-
Benjamin Peterson authored
-
- 28 May, 2011 2 commits
-
-
Éric Araujo authored
-
Éric Araujo authored
The tests now pass all combinations of -O/-OO and -B. See also #7071 and #6292 for previous variations on the same theme. test_versionpredicate needs a skip when sys.flags.optimize is true, but I don’t know how to make that work with a DocTestSuite.
-
- 15 May, 2011 2 commits
-
-
Georg Brandl authored
-
Ronald Oussoren authored
Without this patch python will fail to start properly when the environment variable MACOSX_DEPLOYMENT_TARGET is set on MacOSX and has a value that is not compatible with the value during Python's build. This is caused by code in sysconfig that was only meant to be used in disutils.
-
- 13 May, 2011 1 commit
-
-
Georg Brandl authored
-
- 10 May, 2011 3 commits
-
-
Victor Stinner authored
-
Victor Stinner authored
non-ASCII scripts. Open and write the script in binary mode, but ensure that the shebang is decodable from UTF-8 and from the encoding of the script.
-
Victor Stinner authored
non-ASCII path (path to the Python executable). Open and write the script in binary mode, but ensure that the shebang is decodable from UTF-8 and from the encoding of the script.
-
- 08 May, 2011 1 commit
-
-
Georg Brandl authored
-
- 20 Apr, 2011 1 commit
-
-
Éric Araujo authored
-
- 17 Apr, 2011 1 commit
-
-
Éric Araujo authored
-
- 14 Apr, 2011 1 commit
-
-
Éric Araujo authored
-
- 16 Mar, 2011 2 commits
-
-
Ezio Melotti authored
-
Ezio Melotti authored
-
- 15 Mar, 2011 2 commits
-
-
Antoine Pitrou authored
-
Antoine Pitrou authored
longer fails if zlib is not installed. Instead, the zipfile.ZIP_STORED compression is used to create the ZipFile. Patch by Natalia B. Bidart.
-
- 05 Mar, 2011 1 commit
-
-
Georg Brandl authored
-
- 20 Feb, 2011 1 commit
-
-
Georg Brandl authored
-
- 13 Feb, 2011 1 commit
-
-
Georg Brandl authored
-
- 02 Feb, 2011 1 commit
-
-
Éric Araujo authored
svn+ssh://pythondev@svn.python.org/python/branches/py3k The missing NEWS entries correspond to changes that were made before 3.1.3, but I think it’s not usual to edit entries of released versions, so I put them at the top. ........ r86236 | eric.araujo | 2010-11-06 03:44:43 +0100 (sam., 06 nov. 2010) | 2 lines Make sure each test can be run standalone (./python Lib/distutils/tests/x.py) ........ r86240 | eric.araujo | 2010-11-06 05:11:59 +0100 (sam., 06 nov. 2010) | 2 lines Prevent ResourceWarnings in test_gettext ........ r86332 | eric.araujo | 2010-11-08 19:15:17 +0100 (lun., 08 nov. 2010) | 4 lines Add missing NEWS entry for a fix committed by Senthil. All recent modifications to distutils should now be covered in NEWS. ........ r86340 | eric.araujo | 2010-11-08 22:48:23 +0100 (lun., 08 nov. 2010) | 2 lines This was actually fixed for the previous alpha. ........ r87271 | eric.araujo | 2010-12-15 20:09:58 +0100 (mer., 15 déc. 2010) | 2 lines Improve trace documentation (#9264). Patch by Eli Bendersky. ........ r87273 | eric.araujo | 2010-12-15 20:30:15 +0100 (mer., 15 déc. 2010) | 2 lines Use nested method directives, rewrap long lines, fix whitespace. ........ r87447 | eric.araujo | 2010-12-23 20:13:05 +0100 (jeu., 23 déc. 2010) | 2 lines Fix typo in superclass method name ........
-
- 30 Jan, 2011 1 commit
-
-
Georg Brandl authored
-
- 15 Jan, 2011 1 commit
-
-
Georg Brandl authored
-
- 19 Dec, 2010 1 commit
-
-
Georg Brandl authored
-
- 15 Dec, 2010 1 commit
-
-
Éric Araujo authored
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r87280 | eric.araujo | 2010-12-15 22:07:22 +0100 (mer., 15 déc. 2010) | 2 lines Fix build_ext with VS 8.0. Patch by Hirokazu Yamamoto (#9558). ........
-