summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests
Commit message (Collapse)AuthorAgeFilesLines
* Issue #8876: distutils now falls back to copying files when hard linking ↵Antoine Pitrou2014-10-301-0/+43
| | | | | | doesn't work. This allows use with special filesystems such as VirtualBox shared folders.
* #22512: move distutils rpm test's .rpmdb to testing tmpdir.R David Murray2014-10-011-0/+3
| | | | Patch by Francis MB.
* #10510: make distuitls upload/register use HTML standards compliant CRLF.R David Murray2014-09-271-1/+1
| | | | Patch by Ian Cordasco, approved by Éric Araujo.
* test_distutils: remove the test file in DistributionTestCase.test_debug_mode()Victor Stinner2014-09-111-1/+2
| | | | Fix the warning: "test_support.TESTFN was modified by test_distutils".
* Issue #21923: Prevent AttributeError in distutils.sysconfig.customize_compilerNed Deily2014-07-061-0/+21
| | | | due to possible uninitialized _config_vars. Original patch by Alex Gaynor.
* Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.Ned Deily2014-06-251-2/+10
|
* Issue #21722: The distutils "upload" command now exits with a non-zero ↵Antoine Pitrou2014-06-191-4/+13
| | | | | | return code when uploading fails. Patch by Martin Dengler.
* - Issue #17752: Fix distutils tests when run from the installed location.doko@ubuntu.com2014-05-071-1/+1
|
* Avoid “error: None” messages from distutils (#4931).Éric Araujo2014-03-121-2/+10
| | | | Thanks to Amaury Forgeot d’Arc and Philip J. Eby.
* Issue #12226: HTTPS is now used by default when connecting to PyPI.Antoine Pitrou2013-12-222-4/+4
|
* Issue #19492: Silently skipped distutils tests now reported as skipped.Serhiy Storchaka2013-12-1810-69/+37
|
* Issue #19600: Use specific asserts in distutils tests.Serhiy Storchaka2013-11-1615-36/+36
|
* Issue #19286: Adding test demonstrating the failure when a directory is ↵Jason R. Coombs2013-11-021-0/+31
| | | | found in the package_data globs.
* condense two tests with the same name (closes #19114)Benjamin Peterson2013-09-291-13/+12
|
* #18741: fix more typos. Patch by Févry Thibault.Ezio Melotti2013-08-171-1/+1
|
* Issue #18080: When building a C extension module on OS X, if the compilerNed Deily2013-05-281-1/+33
| | | | | | is overriden with the CC environment variable, use the new compiler as the default for linking if LDSHARED is not also overriden. This restores Distutils behavior introduced in 2.7.3 and inadvertently dropped in 2.7.4.
* #11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch ↵Ezio Melotti2013-03-161-2/+3
| | | | by Thomas Wouters.
* Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,Terry Jan Reedy2013-03-111-1/+1
| | | | as reported by Serhiy Storchaka and Matthew Barnett.
* Issue #13590: OS X Xcode 4 - improve support for universal extension modulesNed Deily2013-01-311-0/+29
| | | | | | | | | | | | | | | | In particular, fix extension module build failures when trying to use 32-bit-only installer Pythons on systems with Xcode 4 (currently OS X 10.8, 10.7, and optionally 10.6). * Backport 3.3.0 fixes to 2.7 branch (for release in 2.7.4) * Since Xcode 4 removes ppc support, extension module builds now check for ppc compiler support and by default remove ppc and ppc64 archs when they are not available. * Extension module builds now revert to using system installed headers and libs (/usr and /System/Library) if the SDK used to build the interpreter is not installed or has moved. * Try to avoid building extension modules with deprecated and problematic Apple llvm-gcc compiler. If original compiler is not available, use clang instead by default.
* - Issue #17041: Fix testing when Python is configured with theSerhiy Storchaka2013-01-271-2/+3
| | | | --without-doc-strings option.
* Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-181-1/+1
| | | | Patch by Serhiy Storchaka.
* Use proper skip instead of reporting success in one distutils testÉric Araujo2012-12-091-7/+1
|
* Fix setup.py register failure with invalid rst in description (#13614).Éric Araujo2012-12-091-4/+21
| | | | Original patch by Julien Courteau and Pierre Paul Lefebvre.
* Ignore .nfs* files in distutils (#7719).Éric Araujo2012-07-032-3/+22
| | | | | | | | These files are created by some NFS clients a file is edited and removed concurrently (see added link in doc for more info). If such a file is removed between distutils calls listdir and copy, it will get confused. Other special files are ignored in sdist (namely VCS directories), but this has to be filtered out earlier.
* Backout buggy patch for #13719Éric Araujo2012-03-071-9/+0
|
* Fix NameErrorÉric Araujo2012-03-051-0/+1
|
* Make distutils’ upload command work with bdist_msi products (#13719).Éric Araujo2012-03-051-5/+13
| | | | Patch by Ralf Schmitt.
* Synchronize some distutils tests with 3.2.Éric Araujo2012-02-263-31/+38
| | | | | | | | - Actually check the contents of the file created by bdist_dumb. - Don’t use “RECORD” as filename for non-PEP 376 record file - Don’t start method name with “_test”, it looks like a disabled test method instead of an helper method - Fix some idioms (assertIn, addCleanup)
* Stop ignoring RPMs in distutils' upload command (#2945).Éric Araujo2012-02-261-0/+9
| | | | | Bug reported by Hartmut Goebel and patch contributed by Carl Robben. Untested backport of the fix committed and tested for 3.2.
* Fix long-standing bugs with MANIFEST.in parsing on Windows (#6884).Éric Araujo2012-02-252-45/+82
| | | | | | | | | | | | | | | These regex changes fix a number of issues for distutils on Windows: - #6884: impossible to include a file starting with 'build' - #9691 and #14004: sdist includes too many files - #13193: test_filelist failures This commit replaces the incorrect changes done in 557a973709de, c566a3447ba1 and 3925081a7ca0 to fix #13193; we were too eager to fix the test failures and I did not study the code enough before greenlighting patches. This time we have unit tests from the problems reported by users to be sure we have the right fix. Thanks to Nadeem Vawda for his help.
* Fix test failure for shared builds caused by #1326113 fixÉric Araujo2012-02-151-1/+2
|
* Fix parsing of build_ext --libraries option (#1326113)Éric Araujo2012-02-151-6/+6
|
* Issue #13193: Fix distutils.filelist tests to always use / as path separator.Nadeem Vawda2012-02-131-13/+11
|
* Issue #13994: Earler partial revert of Distutils enhancements in 2.7Ned Deily2012-02-112-2/+4
| | | | | | | | has left two versions of customize_compiler, the original in distutils.sysconfig and another copy in distutils.ccompiler, with some parts of distutils calling one and others using the other. Complete the revert back to only having one in distutils.sysconfig as is the case in 3.x.
* Issue #13901: Prevent test_distutils failures on OS X with --enable-shared.Ned Deily2012-02-031-2/+8
|
* Limit test scope to those platforms that can save the target filenames. ↵Jason R. Coombs2011-12-281-0/+17
| | | | Reference #11638.
* Issue #11638: Adding test to ensure .tar.gz files can be generated by sdist ↵Jason R. Coombs2011-12-262-2/+51
| | | | | | | command with unicode metadata, based on David Barnett's patch. Issue #11638: Added tests to capture failures in make_tarball with various unicode strings. Following fix for Issue #13639, these tests now pass.
* Issue #7833: Ext. modules built using distutils on Windows no longer get a ↵Mark Hammond2011-10-171-2/+45
| | | | manifest
* Increase test coverage for distutils.filelist (#11751).Éric Araujo2011-10-141-10/+197
| | | | Patch by Justin Love.
* Fix distutils’ check and register Unicode handling (#13114).Éric Araujo2011-10-092-3/+31
| | | | | | | | | The check command was fixed by Kirill Kuzminykh. The register command was using StringIO.getvalue, which uses “''.join” and thus coerces to str using the default encoding (ASCII), so I changed the code to use one extra intermediary list and correctly encode to UTF-8.
* Make C code in one distutils test comply with ISO C (#10359).Éric Araujo2011-10-081-2/+2
| | | | Patch by Hallvard B Furuseth.
* Fix determination of Metadata version (#8933). Patch by Filip Gruszczyński.Éric Araujo2011-09-101-0/+14
|
* Slight cleanup in distutils test_dist.Éric Araujo2011-09-101-54/+49
| | | | | | | | I have tests to add in this file and it’s always nice to start from a clean base. I’ve also changed a test that used to write an invalid config file ('[global]command_packages = etc.' on one line), but the test passes before and after this change, so either it magically works or the test is poorly written. Sigh.
* Issue #12333: fix test_distutils failures under Solaris and derivatives. ↵Jesus Cea2011-09-091-0/+4
| | | | Patch by Antoine Pitrou
* Warn instead of crashing because of invalid path in MANIFEST.in (#8286).Éric Araujo2011-09-021-1/+27
| | | | | sdist used to crash with a full traceback dump instead of printing a nice warning with the faulty line number.
* Enable catching WARN-level logging messages in distutils' test_sdistÉric Araujo2011-09-021-5/+4
|
* Make bdist_* commands respect --skip-build passed to bdist (#10946)Éric Araujo2011-08-291-21/+28
|
* Add FIXME note as a reminderÉric Araujo2011-08-261-0/+2
|
* Branch mergeÉric Araujo2011-08-264-61/+315
|\
| * Backport tests for the distutils install commandÉric Araujo2011-08-261-2/+193
| |