Commit Graph

431 Commits

Author SHA1 Message Date
Serhiy Storchaka 84023247b4 Issue #25607: Restore old distutils logging threshold after running tests that
parse command line arguments.
2015-11-12 19:46:23 +02:00
Serhiy Storchaka fda7fe0148 Restore old distutils logging threshold after running test_log. 2015-11-12 13:15:41 +02:00
Benjamin Peterson 562b7cbff9 fix parsing reST with code or code-block directives (closes #23063)
Patch by Marc Abramowitz.
2015-01-14 23:56:35 -05:00
Antoine Pitrou ed14c86fac Issue #8876: distutils now falls back to copying files when hard linking doesn't work.
This allows use with special filesystems such as VirtualBox shared folders.
2014-10-30 19:37:07 +01:00
R David Murray e6edc03a61 #22512: move distutils rpm test's .rpmdb to testing tmpdir.
Patch by Francis MB.
2014-09-30 20:53:21 -04:00
R David Murray 623ae29469 #10510: Fix bug in forward port of 2.7 distutils patch.
Pointed out by Arfrever.
2014-09-28 11:01:11 -04:00
R David Murray 9ce69672f3 #10510: make distuitls upload/register use HTML standards compliant CRLF.
Patch by Ian Cordasco, approved by Éric Araujo.
2014-09-27 16:56:15 -04:00
Benjamin Peterson 9833fcbca3 use patch context manager instead of decorator because the decorator 'leaks' metadata onto the function 2014-09-20 11:53:12 -04:00
Benjamin Peterson df0eb95b57 remove various dead version checks (closes #22349)
Patch from Thomas Kluyver.
2014-09-06 17:24:12 -04:00
Jason R. Coombs d28c5f00ef #22315: Use an existent directory for 'src' to trigger appropriate behavior. 2014-08-31 17:51:22 -04:00
Jason R. Coombs 47f44c9309 #22315: Provide an actual directory during test invocation. 2014-08-31 17:37:35 -04:00
Jason R. Coombs e572ce3fb5 #22315: Use technique outlined in test_file_util 2014-08-31 17:31:32 -04:00
Jason R. Coombs 4b02e7041c #22315: Add test to capture the failure. 2014-08-31 15:02:42 -04:00
Jason R. Coombs 1be2e82c57 Correct indent 2014-08-31 15:00:47 -04:00
Jason R. Coombs b4efbe8a58 Remove unused import 2014-08-31 13:43:02 -04:00
Berker Peksag 6685883c02 Issue #22182: Use e.args to unpack exceptions correctly in distutils.file_util.move_file.
Patch by Claudiu Popa.
2014-08-29 07:07:35 +03:00
Ned Deily 7bc5fb6916 Issue #21923: Prevent AttributeError in distutils.sysconfig.customize_compiler
due to possible uninitialized _config_vars.  Original patch by Alex Gaynor.
2014-07-06 16:14:33 -07:00
Ned Deily 04cdfa1147 Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite. 2014-06-25 13:36:14 -07:00
Antoine Pitrou 2e4d3b133a Issue #21722: The distutils "upload" command now exits with a non-zero return code when uploading fails.
Patch by Martin Dengler.
2014-06-18 23:07:46 -04:00
doko@ubuntu.com e5de66eaa7 - Issue #17752: Fix distutils tests when run from the installed location. 2014-05-07 12:57:44 +02:00
Éric Araujo a0fe1f74f9 Merge 3.3 (#4931) 2014-03-12 04:10:51 -04:00
Éric Araujo fc773a2d4b Avoid “error: None” messages from distutils (#4931).
Thanks to Amaury Forgeot d’Arc and Philip J. Eby.
2014-03-12 03:34:02 -04:00
Zachary Ware bfd488c51f Issue #19544, #6516: check ZLIB_SUPPORT, not zlib (which might not be bound) 2013-12-30 15:09:20 -06:00
Zachary Ware 2ee2c95595 Issue #19544, #6516: check ZLIB_SUPPORT, not zlib (which might not be bound) 2013-12-30 14:39:46 -06:00
Antoine Pitrou 20d5adea6a Fix TypeError on "setup.py upload --show-response". 2013-12-22 18:14:56 +01:00
Antoine Pitrou 335a5128e5 Fix TypeError on "setup.py upload --show-response". 2013-12-22 18:13:51 +01:00
Antoine Pitrou e8d07a9885 Issue #12226: HTTPS is now used by default when connecting to PyPI. 2013-12-22 01:45:42 +01:00
Antoine Pitrou f60b7df9f8 Issue #12226: HTTPS is now used by default when connecting to PyPI. 2013-12-22 01:35:53 +01:00
Antoine Pitrou 23b8cd963d Fix urllib.request.build_opener mocking in test_distutils (should fix some random buildbot failures) 2013-12-22 00:44:28 +01:00
Antoine Pitrou 6783487757 Fix urllib.request.build_opener mocking in test_distutils (should fix some random buildbot failures) 2013-12-22 00:44:01 +01:00
Antoine Pitrou 29fd05f900 Issue #20045: Fix "setup.py register --list-classifiers". 2013-12-21 22:59:06 +01:00
Antoine Pitrou 716b7222e9 Issue #20045: Fix "setup.py register --list-classifiers". 2013-12-21 22:57:56 +01:00
Antoine Pitrou 492b9893e1 Fix DeprecationWarnings in test suite 2013-12-21 22:19:46 +01:00
Serhiy Storchaka 3f5f436680 Issue #19492: Silently skipped distutils tests now reported as skipped. 2013-12-18 16:45:24 +02:00
Serhiy Storchaka 3c02ecefba Issue #19492: Silently skipped distutils tests now reported as skipped. 2013-12-18 16:41:01 +02:00
Serhiy Storchaka eaec3597dd Issue #19760: Silence sysconfig's 'SO' key deprecation warnings in tests.
Change stacklevel in warnings.warn() for 'SO' key to 2.
2013-11-26 17:08:24 +02:00
Barry Warsaw 9121f8d94b Issue 19555 for distutils, plus a little clean up (pyflakes, line lengths). 2013-11-22 15:31:35 -05:00
Serhiy Storchaka 932c6160b5 Issue #19600: Use specific asserts in distutils tests. 2013-11-17 00:20:12 +02:00
Serhiy Storchaka 39989157ad Issue #19600: Use specific asserts in distutils tests. 2013-11-17 00:17:46 +02:00
Jason R. Coombs b41c2547e0 Correct long line 2013-11-16 10:47:17 -05:00
Jason R. Coombs 9d78e416f5 Issue #19586: Update remaining deprecated assertions to their preferred usage. 2013-11-16 10:35:46 -05:00
Jason R. Coombs 6f87a08aa7 Update more usage of assertEqual 2013-11-15 19:41:57 -05:00
Jason R. Coombs e9f0311a0f Use preferred assertEqual 2013-11-15 19:38:51 -05:00
Jason R. Coombs 75c40aed55 Use preferred assertEqual form. Correct indentation. 2013-11-15 19:35:05 -05:00
Jason R. Coombs cb37641bb4 Issue #7408: Forward port limited test from Python 2.7, fixing failing buildbot tests on BSD-based platforms. 2013-11-15 19:24:07 -05:00
Jason R. Coombs a2ebfd0256 Issue #19544 and Issue #6286: Restore use of urllib over http allowing use of http_proxy for Distutils upload command, a feature accidentally lost in the rollback of distutils2. 2013-11-10 18:50:10 -05:00
Jason R. Coombs 3492e39b44 Issue 19544 and Issue #7457: Restore the read_pkg_file method to distutils.dist.DistributionMetadata accidentally removed in the undo of distutils2. 2013-11-10 18:15:03 -05:00
Andrew Kuchling 2a1838b9df Issue #19544 and Issue #1180: Restore global option to ignore ~/.pydistutils.cfg in Distutils, accidentally removed in backout of distutils2 changes. 2013-11-10 18:11:00 -05:00
Andrew Kuchling 5e2d45672c Issue #19544 and Issue #6516: Restore support for --user and --group parameters to sdist command as found in Python 2.7 and originally slated for Python 3.2 but accidentally rolled back as part of the distutils2 rollback. Closes Issue #6516. 2013-11-15 13:01:52 -05:00
Jason R. Coombs 77796e4f7a Fix failing test incorrectly merged in b1244046f37a 2013-11-10 20:28:18 -05:00