Ned Deily
053c6ad6b7
Issue #9516 : Correct and expand OS X deployment target tests in distutils
...
test_build_ext.
2011-06-28 19:39:10 -07:00
Ned Deily
63144c6444
Issue #12141 : Install a copy of template C module file so that
...
test_build_ext of test_distutils is no longer silently skipped when
run outside of a build directory.
2011-06-28 00:39:19 -07:00
Éric Araujo
865b573c04
Remove unnecessary executable bit on one distutils file
2011-06-04 20:45:33 +02:00
Éric Araujo
be77831375
Fix test_distutils when sys.dont_write_bytecode is true ( #9831 ).
...
The tests now pass all combinations of -O/-OO and -B. See also #7071
and #6292 for previous variations on the same theme.
2011-05-28 23:21:19 +02:00
Éric Araujo
78d9133989
Branch merge
2011-05-25 18:06:35 +02:00
Ronald Oussoren
a70286b71d
Issue #9516 : avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set in shell.
...
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.
2011-05-15 16:44:27 +02:00
Éric Araujo
b76eb9743e
Make test_distutils pass without zlib ( fixes #9435 )
2011-05-08 16:27:13 +02:00
Éric Araujo
e4f8d839a7
Fix improper tests in RegisterTestCase
2011-04-14 03:49:19 +02:00
Ezio Melotti
c2077b0d9b
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
2011-03-16 12:34:31 +02:00
Éric Araujo
54274ad96a
Merged revisions 86236,86240,86332,86340,87271,87273,87447 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
To comply with the 2.x doc style, the methods in trace.rst use brackets around
optional arguments. The rest is a mostly straight merge, modulo support changed
to test_support and use of the old super call style in test_tuple.
........
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
........
2011-02-03 00:12:18 +00:00
Ezio Melotti
2623a37852
Merged revisions 86596 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424 : Replace deprecated assert* methods in the Python test suite.
........
2010-11-21 13:34:58 +00:00
Éric Araujo
d1feff70a3
Merged revisions 86223-86224,86226,86234 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86223 | eric.araujo | 2010-11-06 00:51:56 +0100 (sam., 06 nov. 2010) | 2 lines
Always close files in distutils code and tests (#10252 ).
........
r86224 | eric.araujo | 2010-11-06 00:58:34 +0100 (sam., 06 nov. 2010) | 2 lines
Add missing entry for r86223.
........
r86226 | eric.araujo | 2010-11-06 00:59:32 +0100 (sam., 06 nov. 2010) | 2 lines
Of course, I forgot one file in r86223.
........
r86234 | eric.araujo | 2010-11-06 03:10:32 +0100 (sam., 06 nov. 2010) | 2 lines
Also close file descriptors from os.popen and subprocess.Popen
........
2010-11-06 04:06:18 +00:00
Barry Warsaw
54052c00a7
Only hack cmd.library_dirs when running under Py_ENABLE_SHARED. Tested both
...
with and without --enable-shared on Ubuntu 10.10. Hopefully this finally
solves bug 10126. Will check 3.1 and py3k next.
2010-10-22 15:31:44 +00:00
Barry Warsaw
f084376f23
Fix issue 10126 for Python 2.7 by using $RUNSHARED to find the
...
directory to the shared library. test_distutils now passes when
Python was built with --enable-shared.
2010-10-21 22:13:29 +00:00
Éric Araujo
e9df5d6866
Backport fix for #10126
2010-10-21 18:48:59 +00:00
Senthil Kumaran
e092ef862e
Merged revisions 84889 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84889 | senthil.kumaran | 2010-09-19 08:39:54 +0530 (Sun, 19 Sep 2010) | 3 lines
Update the test_distutils mode test to test with umask value properly.
........
2010-09-19 03:12:28 +00:00
Senthil Kumaran
a171cf064a
Merged revisions 84871 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84871 | senthil.kumaran | 2010-09-18 08:25:03 +0530 (Sat, 18 Sep 2010) | 3 lines
Skip the distutils mode test on Windows OS.
........
2010-09-18 02:58:49 +00:00
Senthil Kumaran
9c379bbadd
Merged revisions 84861 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84861 | senthil.kumaran | 2010-09-17 22:05:37 +0530 (Fri, 17 Sep 2010) | 3 lines
Fix Issue2236: Distutils' mkpath implementation ignoring the "mode" parameter
........
2010-09-17 16:40:01 +00:00
Hirokazu Yamamoto
7968f26bcb
Merged revisions 84765 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84765 | hirokazu.yamamoto | 2010-09-13 16:18:30 +0900 | 2 lines
get_build_version() is needed even where sys.platform != "win32".
Try to fix buildbot error in other way.
........
2010-09-13 08:14:41 +00:00
Hirokazu Yamamoto
f994f04745
Merged revisions 84753,84760 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84753 | hirokazu.yamamoto | 2010-09-13 07:55:40 +0900 | 1 line
Issue #9313 : Skips test_remove_visual_c_ref on old MSVC.
........
r84760 | hirokazu.yamamoto | 2010-09-13 14:36:21 +0900 | 1 line
Issue #9313 : Use unittest.skipUnless to skip old MSVC.
........
2010-09-13 06:36:09 +00:00
Éric Araujo
0389ae60fa
Merged revisions 83993 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83993 | eric.araujo | 2010-08-14 04:30:34 +0200 (sam., 14 août 2010) | 2 lines
Use a marker in generated MANIFEST files, don't touch files without it. Fixes #8688 .
........
2010-08-14 03:07:46 +00:00
Ezio Melotti
c425f8fcb4
Merged revisions 82839 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82839 | ezio.melotti | 2010-07-12 22:49:41 +0300 (Mon, 12 Jul 2010) | 1 line
#6026 : skip test_get_file_list when zlib is not available.
........
2010-07-12 19:52:15 +00:00
Tarek Ziadé
422545f0e7
Fixed #8688 : Distutils now recalculates MANIFEST everytime.
2010-05-17 10:06:20 +00:00
Tarek Ziadé
ef253ac84e
removed the local copy of xxmodule, and skip only test_build_ext when xxmodule is not found, not the whole unittest
2010-04-02 21:14:04 +00:00
Florent Xicluna
3f5d146323
No more deprecation warnings for distutils.sysconfig, following r78666.
...
But when the "dl" module is available, it gives a py3k deprecation warning.
2010-03-21 11:50:17 +00:00
Tarek Ziadé
5501e6a7da
fixed various failures and environment alterations in distutils.test_build_ext
2010-03-06 02:11:14 +00:00
Tarek Ziadé
895ee2419d
files used by win32 tests
2010-03-06 01:27:09 +00:00
Tarek Ziadé
7e48ff8e50
simplified the fallback case
2010-03-06 01:23:21 +00:00
Tarek Ziadé
fbf50b8c7c
provide a fallback for xxmodule.c in case the buildir is not present
2010-03-06 01:18:27 +00:00
Tarek Ziadé
b30868a391
copied back the build_ext tests from 2.6
2010-03-06 01:04:14 +00:00
Benjamin Peterson
b3be23ad27
remove the svn:executable property from files that don't have shebang lines
2010-03-05 03:20:06 +00:00
Tarek Ziadé
dd7bef9bf5
reverting partially distutils to its 2.6.x state so 2.7a4 looks more like the 2.7b1 in this. the whole revert will occur after a4 is tagged
2010-03-05 00:16:02 +00:00
R. David Murray
f28fd24c36
Issue 6292: for the moment at least, the test suite passes if run
...
with -OO. Tests requiring docstrings are skipped. Patch by
Brian Curtin, thanks to Matias Torchinsky for helping review and
improve the patch.
2010-02-23 00:24:49 +00:00
Georg Brandl
28aeb0d0ab
Add missing import when running these tests standalone.
2010-02-06 23:53:52 +00:00
Tarek Ziadé
92e68af56a
added local get_platform/set_platform APIs in distutils.sysconfig
2010-01-26 22:46:15 +00:00
Tarek Ziadé
b28e5d7e41
fixed bdist_msi imports and added a test module for distutils.command.bdist_msi
2010-01-26 17:20:37 +00:00
Tarek Ziadé
f14c7fc33d
Fixed #7748 : now upload and register commands don't need to force the encoding anymore : DistributionMetada returns utf8 strings
2010-01-24 00:33:32 +00:00
Tarek Ziadé
5633a8048f
taking sysconfig out of distutils
2010-01-23 09:23:15 +00:00
Tarek Ziadé
c25417f644
Fixed #7617 : all flavors of gcc should be recognized now
2010-01-08 23:42:23 +00:00
Ronald Oussoren
ca8e7ec216
Unittests and news items for the patch in r77026.
2009-12-24 14:50:35 +00:00
Tarek Ziadé
3efd767336
backported r76993 and r76994 so the trunk behaves the same way with MSVC Manifest files editing
2009-12-21 23:31:55 +00:00
Tarek Ziadé
2421d56e02
Fixed #7552 : fixed distutils.command.upload failure on very long passwords
2009-12-20 23:23:34 +00:00
Tarek Ziadé
6c4847fbee
using an existing file to avoid dealing with a sleep to test file ages
2009-12-10 19:29:53 +00:00
Tarek Ziadé
1bd9b5e925
added test coverage for distutils.dep_util, and cleaned up the module
2009-12-10 15:29:03 +00:00
Tarek Ziadé
a939ecd95b
Issue #7457 : added a read_pkg_file method to distutils.dist.DistributionMetadata so we can read back PKG-INFO files
2009-12-08 08:56:49 +00:00
Tarek Ziadé
4f38317d5a
Fixed #1923 : make sure we don't strip meaningful whitespace in PKG-INFO Description field
2009-12-06 09:22:40 +00:00
Tarek Ziadé
a5076a2543
Fixed #7408 : dropped group ownership checking because it relies on os-specific rules
2009-11-29 22:20:30 +00:00
Tarek Ziadé
39de1fc5c8
dragfullwindows can have value 2
2009-11-19 05:33:16 +00:00
Tarek Ziadé
acccafcf70
#7293 : distutils.test_msvc9compiler now uses a key that exists on any fresh windows install
2009-11-18 08:46:56 +00:00
Tarek Ziadé
9c48da74bc
fixed stdout alteration in test_distutils
2009-11-01 22:33:45 +00:00