summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sysconfig.py
Commit message (Collapse)AuthorAgeFilesLines
* Merge tests from 3.5Martin Panter2017-01-141-2/+4
|\
| * Issue #22980: Skip a sysconfig test if _ctypes is not available.Martin Panter2017-01-131-2/+4
| | | | | | | | Extracted from revision a1daf2d289ad by Zachary Ware.
* | Issue #28849: Skip test_sysconfig.test_triplet_in_ext_suffix on non linux ↵Xavier de Gaye2016-12-141-1/+2
| | | | | | | | platforms.
* | Issue #28849: Do not define sys.implementation._multiarch on Android.Xavier de Gaye2016-12-101-2/+2
| |
* | Issue #27917: Fix test_triplet_in_ext_suffix for the 'x86' Android platform.Xavier de Gaye2016-09-111-2/+3
|/
* Issue #24705: Add a test case for ef84d21f5292Berker Peksag2016-01-281-0/+3
|
* Use support.change_cwd() in tests.Serhiy Storchaka2015-09-061-6/+2
|\
| * Use support.change_cwd() in tests.Serhiy Storchaka2015-09-061-6/+2
| |
* | Issues #22980, 23969: For OS X, use PEP 3149-style file names for extensionNed Deily2015-04-161-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | module binaries, with a platform triple of just "darwin", resulting in file names like: _ssl.cpython-35m-darwin.so rather than just _ssl.so as previously. Instead of attempting to encode differences in CPU architecture and OS X deployment targets in the file name as is done on other platforms, these continue to be managed by the use of Apple multi-architecture ("fat") files, by the system dynamic loader, and by logic in higher-levels like sysconfig.get_platform() and pip.
* | - #22980: fix typo in Lib/test/test_sysconfig.py triplet testdoko@ubuntu.com2015-04-151-1/+1
| |
* | - Issue #22980: Under Linux, GNU/KFreeBSD and the Hurd, C extensions now includedoko@ubuntu.com2015-04-151-3/+12
| | | | | | | | | | the architecture triplet in the extension name, to make it easy to test builds for different ABIs in the same working tree.
* | Issue #22980: Under Linux, C extensions now include bitness in the file name,Antoine Pitrou2015-03-081-0/+6
|/ | | | to make it easy to test 32-bit and 64-bit builds in the same working tree.
* Issue #19760: Silence sysconfig's 'SO' key deprecation warnings in tests.Serhiy Storchaka2013-11-261-3/+4
| | | | Change stacklevel in warnings.warn() for 'SO' key to 2.
* - Issue #19555: Restore sysconfig.get_config_var('SO'), with aBarry Warsaw2013-11-211-0/+19
| | | | DeprecationWarning pointing people at $EXT_SUFFIX.
* Issue #19340: Fix test_sysconfig when Python is built with an empty prefix.Antoine Pitrou2013-10-231-2/+4
|\ | | | | | | Patch by Sunny K.
| * Issue #19340: Fix test_sysconfig when Python is built with an empty prefix.Antoine Pitrou2013-10-231-2/+4
| | | | | | | | Patch by Sunny K.
* | Closes #16135: Removal of OS/2 supportJesus Cea2012-10-051-1/+1
| |
* | utilize subprocess.DEVNULLPhilip Jenvey2012-10-011-22/+20
|/
* Issue #15364: Fix test_srcdir for the installed case.Ned Deily2012-07-281-1/+2
|
* Issue #15364: Fix sysconfig.get_config_var('srcdir') to be an absolute path.Richard Oudkerk2012-07-271-0/+28
|
* Issue #15184: Ensure consistent results of OS X configurationNed Deily2012-07-211-1/+9
| | | | | | | tailoring for universal builds by factoring out common OS X-specific customizations from sysconfig, distutils.sysconfig, distutils.util, and distutils.unixccompiler into a new module _osx_support that can eventually also be used by packaging.
* Issue #15118: Change return value of os.uname() and os.times() fromLarry Hastings2012-06-241-3/+2
| | | | | plain tuples to immutable iterable objects with named attributes (structseq objects).
* Packaging removal: also revert introduction of sysconfig.cfg.Éric Araujo2012-06-241-7/+8
| | | | | | | We need a discussion to define what should be customized how; this new config file is premature. It was added to serve the needs of the resources system in install_data / packaging.database, so it can be removed alongside packaging for 3.3.
* Implemented PEP 405 (Python virtual environments).Vinay Sajip2012-05-261-3/+8
|
* convince regrtest.py we aren't modifying _CONFIG_VARSBenjamin Peterson2012-01-041-2/+3
|
* Merge fixes for #10526, #10359, #11254, #9100 and the bug without numberÉric Araujo2011-10-081-2/+9
|\
| * Fix test_sysconfig when prefix != exec-prefix (#9100).Éric Araujo2011-10-071-6/+9
| | | | | | | | | | | | | | | | I tested this manually; it would be great to have buildbots using installed Pythons, including Pythons configured with different prefix and exec-prefix. Reported by Zsolt Cserna.
* | A few style changes originally done in the distutils2 repoÉric Araujo2011-09-181-9/+7
| |
* | Merge fix for #10086 from 3.2Éric Araujo2011-08-311-2/+2
|\ \ | |/
| * Fix test_sysconfig when run from a Python installed under /site (#10086).Éric Araujo2011-08-311-2/+2
| | | | | | | | Patch by Hallvard B Furuseth.
* | Explicitly close a file to stop raising a ResourceWarning.Brett Cannon2011-08-051-12/+13
| |
* | Branch mergeÉric Araujo2011-05-261-15/+4
|\ \
| * | Minor cleanup in sysconfig.Éric Araujo2011-05-251-15/+0
| | | | | | | | | | | | Also remove outdated and unhelpful docstrings in test_sysconfig.
* | | (Merge 3.2) Issue #12070: Fix the Makefile parser of the sysconfig module toVictor Stinner2011-05-241-10/+24
|\ \ \ | |/ / |/| / | |/ handle correctly references to "bogus variable" (e.g. "prefix=$/opt/python").
| * Issue #12070: Fix the Makefile parser of the sysconfig module to handleVictor Stinner2011-05-241-10/+24
| | | | | | | | correctly references to "bogus variable" (e.g. "prefix=$/opt/python").
* | initial import of the packaging package in the standard libraryTarek Ziade2011-05-191-12/+15
|/
* Issue #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set ↵Ronald Oussoren2011-05-151-3/+53
| | | | | | | | | in shell. Without this patch python will fail to start properly when the environment variable MACOSX_DEPLOYMENT_TARGET is set on MacOSX and has a value that is not compatible with the value during Python's build. This is caused by code in sysconfig that was only meant to be used in disutils.
* Fix #9333. The symlink function is always available now, raising OSErrorBrian Curtin2010-12-281-3/+2
| | | | when the user doesn't hold the symbolic link privilege rather than hiding it.
* Fix #9333. Expose os.symlink on Windows only when usable.Brian Curtin2010-12-021-2/+3
| | | | | | | | | | | | | | | | In order to create symlinks on Windows, SeCreateSymbolicLinkPrivilege is an account privilege that is required to be held by the user. Not only must the privilege be enabled for the account, the activated privileges for the currently running application must be adjusted to enable the requested privilege. Rather than exposing an additional function to be called prior to the user's first os.symlink call, we handle the AdjustTokenPrivileges Windows API call internally and only expose os.symlink when the privilege escalation was successful. Due to the change of only exposing os.symlink when it's available, we can go back to the original test skipping methods of checking via `hasattr`.
* #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-201-18/+18
|
* test_get_makefile_filename() is not compatible with Windows.Barry Warsaw2010-09-201-0/+2
|
* Issue 9877: expose sysconfig.get_makefile_filename() in the public API.Barry Warsaw2010-09-201-0/+4
|
* Skip this test as it doesn't apply to Windows. It was added forBrian Curtin2010-07-221-0/+1
| | | | #9189 for some GCC flags.
* This patch adds a testcase that demonstrates a problemRonald Oussoren2010-07-191-0/+6
| | | | | | | | | with the expansion of LDSHARED when accessing that value through sysconfig. The problem is probably caused by the 9189. A fix will follow shortly.
* Re-flow several long lines from #1578269.Brian Curtin2010-07-091-2/+2
|
* Implement #1578269. Patch by Jason R. Coombs.Brian Curtin2010-07-081-4/+10
| | | | | | | | | | | | | | | | Added Windows support for os.symlink when run on Windows 6.0 or greater, aka Vista. Previous Windows versions will raise NotImplementedError when trying to symlink. Includes numerous test updates and additions to test_os, including a symlink_support module because of the fact that privilege escalation is required in order to run the tests to ensure that the user is able to create symlinks. By default, accounts do not have the required privilege, so the escalation code will have to be exposed later (or documented on how to do so). I'll be following up with that work next. Note that the tests use ctypes, which was agreed on during the PyCon language summit.
* Made sysconfig a script that displays useful information - #8770Tarek Ziadé2010-05-251-2/+10
|
* Merged revisions 81371 via svnmerge fromTarek Ziadé2010-05-191-1/+10
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r81371 | tarek.ziade | 2010-05-20 00:20:14 +0200 (Thu, 20 May 2010) | 1 line #8759: Fixed user paths in sysconfig for posix and os2 schemes ........
* Merged revisions 80986-80987 via svnmerge fromBenjamin Peterson2010-05-081-2/+2
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r80986 | benjamin.peterson | 2010-05-08 10:41:44 -0500 (Sat, 08 May 2010) | 1 line r80967 introduced a new scheme ........ r80987 | benjamin.peterson | 2010-05-08 10:42:29 -0500 (Sat, 08 May 2010) | 1 line add underscore ........
* Merged revisions 78093 via svnmerge fromGeorg Brandl2010-03-141-1/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line Remove unused imports in test modules. ........