Berker Peksag
fddf12198f
Issue #21776 : Merge from 3.5
2016-06-02 13:47:23 -07:00
Berker Peksag
6a8e626a60
Issue #21776 : distutils.upload now correctly handles HTTPError
...
Initial patch by Claudiu Popa.
2016-06-02 13:45:53 -07:00
Martin Panter
0b7d84de6b
Issue #27171 : Merge typo fixes from 3.5
2016-06-02 10:11:18 +00:00
Martin Panter
e26da7c03a
Issue #27171 : Fix typos in documentation, comments, and test function names
2016-06-02 10:07:09 +00:00
Martin Panter
3e04d5b306
Issue #27076 : Merge spelling from 3.5
2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Serhiy Storchaka
e437a10d15
Issue #23277 : Remove unused imports in tests.
2016-04-24 21:41:02 +03:00
Serhiy Storchaka
c7f44aa99a
Issue #23277 : Remove more unused sys and os imports.
2016-04-24 13:25:01 +03:00
Serhiy Storchaka
885bdc4946
Issue #25985 : sys.version_info is now used instead of sys.version
...
to format short Python version.
2016-02-11 13:10:36 +02:00
Serhiy Storchaka
d5c075143b
Issue #25607 : Restore old distutils logging threshold after running tests that
...
parse command line arguments.
2015-11-12 19:47:38 +02:00
Serhiy Storchaka
2f85555531
Issue #25607 : Restore old distutils logging threshold after running tests that
...
parse command line arguments.
2015-11-12 19:47:14 +02:00
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
30c49cb17f
Restore old distutils logging threshold after running test_log.
2015-11-12 13:28:07 +02:00
Serhiy Storchaka
ef2462ea3f
Restore old distutils logging threshold after running test_log.
2015-11-12 13:15:56 +02:00
Serhiy Storchaka
fda7fe0148
Restore old distutils logging threshold after running test_log.
2015-11-12 13:15:41 +02:00
Larry Hastings
334b4a3403
Merge from 3.5.
2015-09-09 07:00:54 -07:00
Larry Hastings
52e40cd9ec
Whitespace fixes to make the commit hook on hg.python.org happy.
2015-09-09 06:54:57 -07:00
Steve Dower
bf74f37e70
Moves distutils test import within skippable class.
2015-09-08 23:42:51 -07:00
Steve Dower
fcbe1df4af
Issue #25027 : Reverts partial-static build options and adds vcruntime140.dll to Windows installation.
2015-09-08 21:39:01 -07:00
Jason R. Coombs
1a04c447c9
Sort result to avoid spurious errors due to order.
2015-08-30 14:05:58 -04:00
Jason R. Coombs
a2cf2292a2
Add docstring and additional test revealing nuances of the implementation as found in setuptools.
2015-09-19 17:32:51 +02:00
Jason R. Coombs
2c5278ad30
Add another test capturing the basic discovery expectation.
2015-08-30 13:26:48 -04:00
Jason R. Coombs
a0c6c1c659
Issue #12285 : Add test capturing failure.
2015-08-30 13:22:56 -04:00
Jason R. Coombs
fa5e7cf997
Use modern mechanism for test discovery
2015-08-30 13:13:11 -04:00
Steve Dower
61ddabab49
Issue #24798 : _msvccompiler.py doesn't properly support manifests
2015-08-07 14:36:02 -07:00
Steve Dower
31202eaa5c
Issue #24798 : _msvccompiler.py doesn't properly support manifests
2015-08-05 11:39:19 -07:00
Robert Collins
c6d9228290
Issue #23426 : run_setup was broken in distutils.
...
Patch from Alexander Belopolsky.
2015-07-28 15:55:07 +12:00
Steve Dower
fd3664be00
Issue #23970 : Adds distutils._msvccompiler for new Visual Studio versions.
2015-05-23 09:02:50 -07:00
Serhiy Storchaka
f7e39387b3
Fixed issue #16314 test for the case when lzma is not available.
2015-05-17 02:23:02 +03:00
Serhiy Storchaka
b9cec6a30f
Issue #16314 : Added support for the LZMA compression in distutils.
2015-05-16 22:13:27 +03:00
Brett Cannon
f299abdafa
Issue #23731 : Implement PEP 488.
...
The concept of .pyo files no longer exists. Now .pyc files have an
optional `opt-` tag which specifies if any extra optimizations beyond
the peepholer were applied.
2015-04-13 14:21:02 -04:00
Benjamin Peterson
71f1c5c496
merge 3.4 ( #23063 )
2015-01-15 00:00:16 -05: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
Steve Dower
09bd9ec9b3
Fixes distutils adding/expecting too many _d suffixes.
2014-12-15 20:45:23 -08:00
Antoine Pitrou
aea7f4a8e2
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:38:33 +01: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
5a789f7eaf
Merge: #22512 : move distutils rpm test's .rpmdb to testing tmpdir.
2014-09-30 20:53:55 -04: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
c081262be6
#10510 : Fix bug in forward port of 2.7 distutils patch.
...
Pointed out by Arfrever.
2014-09-28 11:01:42 -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
3a54c3e3aa
Merge: #10510 : make distuitls upload/register use HTML standards compliant CRLF.
2014-09-27 16:57:51 -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
Antoine Pitrou
2c0a916061
Issue #5309 : distutils' build and build_ext commands now accept a ``-j``
...
option to enable parallel building of extension modules.
2014-09-26 23:31:59 +02: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
doko@ubuntu.com
8577e5ae09
- Issue #17752 : Fix distutils tests when run from the installed location.
2014-05-07 04:44:42 +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