Commit graph

1991 commits

Author SHA1 Message Date
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
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