Commit graph

415 commits

Author SHA1 Message Date
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
Jason R. Coombs
0048ae0cc6 Merge with 3.3 for Issue #19544 and Issue #6286. Merge is untested. I was unable to test due to bab0cbf86835. 2013-11-10 18:59:44 -05:00
Jason R. Coombs
375dc9b8b4 Merge with 3.3 for Issue #19544 and Issue #7457 2013-11-10 18:21:49 -05:00
Georg Brandl
7ec3e56bb8 Backout d80207d15294. 2013-11-04 07:43:32 +01:00
Jason R. Coombs
e71fb28519 Merge with 3.3 for Issue #19286. 2013-11-02 13:04:51 -04:00
Jason R. Coombs
ca9242f4f9 Merge with 3.2 for Issue #19286. 2013-11-02 13:01:46 -04:00
Jason R. Coombs
93912b9e54 Issue #19286: Adding test demonstrating the failure when a directory is found in the package_data globs. 2013-11-02 11:29:33 -04:00
Benjamin Peterson
5395d211f9 merge 3.3 (#19114) 2013-09-29 11:13:50 -04:00
Benjamin Peterson
56b143d758 condense two tests with the same name (closes #19114) 2013-09-29 11:13:27 -04:00
Ezio Melotti
e0c69161bc #18741: merge with 3.3. 2013-08-17 16:13:22 +03:00
Ezio Melotti
b5bc353b88 #18741: fix more typos. Patch by Févry Thibault. 2013-08-17 16:11:40 +03:00
Brett Cannon
61c3556c14 Issue #17177: Stop using imp in distutils 2013-06-15 12:59:53 -04:00
Ned Deily
97345680dc Issue #18080: When building a C extension module on OS X, if the compiler
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 3.2.3 and inadvertently dropped in 3.3.0.
2013-05-28 16:35:30 -07:00
Ned Deily
6750282007 Issue #18080: merge from 3.3 2013-05-28 16:45:06 -07:00
Georg Brandl
7025349aa8 merge with 3.3 2013-05-12 12:37:12 +02:00
Georg Brandl
521ed52131 Closes issue #17732: ignore install-directory specific options in
distutils.cfg when a venv is active.
2013-05-12 12:36:07 +02:00
Ezio Melotti
f7520dc0d7 Fix uploadTestCase to work even when HTTPSConnection is not available. 2013-04-19 04:23:09 +03:00