Commit Graph

2067 Commits

Author SHA1 Message Date
Zachary Ware 80da993826 Issue #28046: Fix distutils
Why do we have two sysconfig modules again?
2016-09-09 18:29:10 -07:00
Martin Panter 0be894b2f6 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-09-07 12:03:06 +00:00
Jason R. Coombs b44c849de4 Merge backout for test suite fix 2016-09-01 21:59:46 -04:00
Jason R. Coombs 8ac147d6ee Backed out changeset cc86e9e102e8 2016-09-01 21:55:22 -04:00
Jason R. Coombs 65e3319283 Issue #12285: Merge with 3.4 2016-09-01 21:15:04 -04:00
R David Murray 44b548dda8 #27364: fix "incorrect" uses of escape character in the stdlib.
And most of the tools.

Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and
Martin Panter.
2016-09-08 13:59:53 -04:00
Jason R. Coombs 9650b19212 Merge backout for test suite fix 2016-09-01 22:00:03 -04:00
Jason R. Coombs 75fbf87d73 Issue #12885: Merge with 3.5 2016-09-01 21:16:32 -04:00
Jason R. Coombs 5c071c1ff4 Issue #27919: Deprecate extra_path option in distutils. 2016-09-01 13:55:33 -04:00
R David Murray 8890bb2264 #27904: fix distutils tests.
Patch by Ville Skyttä.
2016-08-31 11:39:35 -04:00
Vinay Sajip dd917f84e3 Closes #27904: Improved logging statements to defer formatting until needed. 2016-08-31 08:22:29 +01:00
Raymond Hettinger 15f44ab043 Issue #27895: Spelling fixes (Contributed by Ville Skyttä). 2016-08-30 10:47:49 -07:00
Jason R. Coombs a47ca08a36 Issue #27819: Simply default to gztar for sdist formats by default on all platforms. 2016-08-20 17:31:07 -04:00
Donald Stufft 2af36ac04f Merge 3.5 2016-08-03 18:49:46 -04:00
Donald Stufft ef330d35c8 Merge 3.4 2016-08-03 18:49:19 -04:00
Donald Stufft c6c2217f27 Merge 3.3 2016-08-03 18:48:17 -04:00
Donald Stufft fb7929044a Switch upload.pypi.io to upload.pypi.org 2016-08-03 18:43:38 -04:00
Stefan Krah 0d60c56e7e Merge 3.5. 2016-08-03 11:18:54 +02:00
Stefan Krah 9de620e970 Issue #20767: Fix -R option for FreeBSD/clang. 2016-08-03 11:18:26 +02:00
Xavier de Gaye d141531eb5 Issue #27472: Add test.support.unix_shell as the path to the default shell. 2016-07-22 12:15:29 +02:00
Martin Panter 702f4f5d6f Issue #23804: Merge spelling and NEWS fixes from 3.5 2016-07-11 12:54:44 +00:00
Martin Panter 204bf0b9ae English spelling and grammar fixes 2016-07-11 07:51:37 +00:00
Donald Stufft 77e8408346 merge 3.5 2016-07-06 17:50:21 -04:00
Donald Stufft a1fc45ae73 Fix a test with the new upload URL 2016-07-06 17:46:37 -04:00
Benjamin Peterson 961900ad85 merge 3.5 2016-07-06 14:00:46 -07:00
Benjamin Peterson 9409b4aa8f merge 3.4 2016-07-06 14:00:38 -07:00
Donald Stufft ad04a85aff Switch to the new upload url for PyPI 2016-07-06 16:18:39 -04:00
Donald Stufft 188c118ba5 Switch to the new upload url for PyPI 2016-07-06 15:27:35 -04:00
Berker Peksag 606e5a6efe Merge from 3.5 2016-06-24 08:48:46 +03:00
Berker Peksag 91d53e7b20 Make PyPIRCCommandTestCase derive from a base class
Several test cases in distutils use PyPIRCCommandTestCase as
their base class and as a result of that the following tests
were ran more than once:

* test_server_registration
* test_server_empty_registration
* test_config_interpolation

This commit moves the infrastructure used by other tests
into a new BasePyPIRCCommandTestCase class.
2016-06-24 08:48:27 +03:00
Berker Peksag 4335437506 Issue #20120: Merge from 3.5 2016-06-20 21:42:05 +03:00
Berker Peksag c529af3fcb Issue #20120: Add a test case to verify the % char can be used in .pypirc
I noticed that there is no test for this feature while doing
triaging work on pypa/pypi-legacy.
2016-06-20 21:41:34 +03:00
Berker Peksag 45ff4a5487 Issue #27349: Merge from 3.5 2016-06-18 21:43:16 +03:00
Berker Peksag 56fe4749fb Issue #27349: Fix typo in distutils upload command 2016-06-18 21:42:37 +03:00
Steve Dower 99d66f917a Issue #27048: Prevents distutils failing on Windows when environment variables contain non-ASCII characters 2016-06-17 09:33:11 -07:00
Steve Dower 08bb8a41cc Issue #27048: Prevents distutils failing on Windows when environment variables contain non-ASCII characters 2016-06-17 09:32:38 -07:00
doko@ubuntu.com eea86b0bc0 - Issue #23968: Update distutils/sysconfig.py to look for the renamed
_sysconfigdata module too.
2016-06-14 09:22:16 +02:00
doko@ubuntu.com 5553231b91 - Issue #23968: Rename the platform directory from plat-$(MACHDEP) to
plat-$(PLATFORM_TRIPLET).
  Rename the config directory (LIBPL) from config-$(LDVERSION) to
  config-$(LDVERSION)-$(PLATFORM_TRIPLET).
  Install the platform specifc _sysconfigdata module into the platform
  directory and rename it to include the ABIFLAGS.
2016-06-14 08:55:19 +02:00
Berker Peksag 419e8ede19 Issue #20900: Merge from 3.5 2016-06-10 23:02:04 +03:00
Berker Peksag 904a2ef2e2 Issue #20900: distutils register command now decodes HTTP responses correctly
Initial patch by ingrid.
2016-06-10 23:00:52 +03:00
doko@ubuntu.com 409482251b - Issue #21272: Use _sysconfigdata.py to initialize distutils.sysconfig. 2016-06-05 01:17:57 +02:00
doko@ubuntu.com 36987d7c8d - merge 3.5 2016-06-05 00:44:01 +02:00
doko@ubuntu.com 6ada01234d - Issue #26884: Fix linking extension modules for cross builds.
Patch by Xavier de Gaye.
2016-06-05 00:41:58 +02:00
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
Jason R. Coombs ad039f7548 Issue #20120: Merge with 3.5 2016-05-04 12:00:32 -04:00
Jason R. Coombs 422cf2b4ad Issue #20120: Use RawConfigParser for .pypirc parsing, removing support for interpolation unintentionally added with move to Python 3. Behavior no longer does any interpolation in .pypirc files, matching behavior in Python 2.7 and Setuptools 19.0. 2016-05-04 11:57:32 -04:00
Serhiy Storchaka ccd047ea4b Removed unused imports. 2016-04-25 00:12:32 +03: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
Berker Peksag ce18d8c2f4 Issue #26089: Remove duplicate field 'license' from DistributionMetadata
It was renamed to 'license' in 178d19cff163.

Patch by Augustin Laville.
2016-04-24 01:55:09 +03:00
Ned Deily b8da1a4fee Issue #25136: merge from 3.5 2016-02-25 00:59:16 +11:00
Ned Deily 020250f91f Issue #25136: Support Apple Xcode 7's new textual SDK stub libraries.
As of Xcode 7, SDKs for Apple platforms now include textual-format stub
libraries whose file names have a .tbd extension rather than the
standard OS X .dylib extension.  The Apple compiler tool chain handles
these stub libraries transparently and the installed system shared libraries
are still .dylibs.  However, the new stub libraries cause problems for
third-party programs that support building with Apple SDKs and make
build-time decisions based on the presence or paths of system-supplied
shared libraries in the SDK.  In particular, building Python itself with
an SDK fails to find system-supplied libraries during setup.py's build of
standard library extension modules.  The solution is to have
find_library_file() in Distutils search for .tbd files, along with
the existing types (.a, .so, and .dylib).  Patch by Tim Smith.
2016-02-25 00:56:38 +11: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
Victor Stinner 9def284387 subprocess._optim_args_from_interpreter_flags()
Issue #26100:

* Add subprocess._optim_args_from_interpreter_flags()
* Add test.support.optim_args_from_interpreter_flags()
* Use new functions in distutils, test_cmd_line_script, test_compileall and
  test_inspect

The change enables test_details() test of test_inspect when -O or -OO command
line option is used.
2016-01-18 12:15:08 +01:00
Steve Dower 709c2aeba6 Issue #26071: bdist_wininst created binaries fail to start and find 32bit Python 2016-01-16 13:55:05 -08:00
Steve Dower 332334f1ab Issue #26071: bdist_wininst created binaries fail to start and find 32bit Python 2016-01-16 13:54:53 -08:00
Steve Dower d8ce735e82 Issue #25850: Use cross-compilation by default for 64-bit Windows. 2016-01-16 12:40:19 -08:00
Steve Dower 1d329413fc Issue #25850: Use cross-compilation by default for 64-bit Windows. 2016-01-16 12:39:10 -08: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
Martin Panter e56a919100 Issue #25523: Merge a-to-an corrections from 3.5 2015-11-02 04:27:17 +00:00
Martin Panter 2eb819f7a8 Issue #25523: Merge "a" to "an" fixes from 3.4 into 3.5 2015-11-02 04:04:57 +00:00
Martin Panter 7462b64911 Issue #25523: Correct "a" article to "an" article
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
or edited some other way to fix the grammar.
2015-11-02 03:37:02 +00:00
Steve Dower f536386ca9 Issue #25316: distutils raises OSError instead of DistutilsPlatformError when MSVC is not installed. 2015-10-05 10:35:19 -07:00
Steve Dower f0ccf02e56 Issue #25316: distutils raises OSError instead of DistutilsPlatformError when MSVC is not installed. 2015-10-05 10:35:00 -07:00
Jason R. Coombs edc4b2fa67 Issue #12285: Replace implementation of findall with implementation from Setuptools 7ce820d524db. 2015-09-19 18:12:15 +02:00
Benjamin Peterson 70343bf47d merge 3.5 (#25076) 2015-09-12 17:21:24 -07:00
Benjamin Peterson f07422c025 merge 3.4 2015-09-12 17:21:16 -07:00
Benjamin Peterson 4019852bfc fix name of argument in docstring and the docs (closes #25076)
Patch by TAKASE Arihiro.
2015-09-12 17:20:47 -07: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 9548f1ee38 Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.py 2015-08-07 19:48:43 -07:00
Steve Dower 917c2c3654 Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.py 2015-08-07 19:48:26 -07:00
Steve Dower 3a7ffa7474 Issue #4214: Remove ineffectual /pdb:none option from msvc9compiler.py 2015-08-07 19:48:03 -07:00
Steve Dower 61ddabab49 Issue #24798: _msvccompiler.py doesn't properly support manifests 2015-08-07 14:36:02 -07:00
Steve Dower d66f43d391 Merge with 3.5 2015-08-05 11:49:20 -07:00
Steve Dower cedef652fa Rebuild wininst-14.0[-amd64].exe with updated tools. 2015-08-05 11:48:14 -07:00
Steve Dower 31202eaa5c Issue #24798: _msvccompiler.py doesn't properly support manifests 2015-08-05 11:39:19 -07:00
Steve Dower e63a329c18 Update default msvccompiler link options to match the options used for core builds. 2015-07-30 11:51:30 -07:00
Steve Dower b465cb50de Update default msvccompiler link options to match the options used for core builds.
This ensures that wheels will work when moved to machines that have the same subset of the MSVC libraries as a regular CPython install. Specifically, vcruntime##0.dll may not be installed, and should not be a dependency.
2015-07-30 11:51:06 -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
Benjamin Peterson 09479d0b94 merge 3.4 2015-05-25 21:25:09 -05:00
Benjamin Peterson 82d8f06fcd merge 3.3 2015-05-25 21:24:48 -05:00
Benjamin Peterson 86c3a3b0b7 merge 3.2 2015-05-25 21:24:26 -05:00