summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sysconfig.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-43312: Functions returning default and preferred sysconfig schemes ↵Tzu-ping Chung2021-04-271-5/+34
| | | | (GH-24644)
* bpo-31904: Fix site and sysconfig modules for VxWorks RTOS (GH-21821)pxinwr2020-12-201-6/+13
|
* bpo-39825: Fixes sysconfig.get_config_var('EXT_SUFFIX') on Windows to match ↵Matti Picus2020-12-071-1/+3
| | | | distutils (GH-22088)
* bpo-40275: Use new test.support helper submodules in tests (GH-21317)Hai Shi2020-07-061-3/+5
|
* bpo-37369: Fix initialization of sys members when launched via an app ↵Steve Dower2019-06-291-34/+6
| | | | | | | container (GH-14428) sys._base_executable is now always defined on all platforms, and can be overridden through configuration. Also adds test.support.PythonSymlink to encapsulate platform-specific logic for symlinking sys.executable
* bpo-34011: Fixes missing venv files and other tests (GH-9458)Steve Dower2018-09-201-6/+19
|
* Remove all mention of Windows IA-64 support (GH-3389)Zachary Ware2017-09-061-7/+0
| | | It was mostly removed long ago.
* Issue #28849: Merge 3.6.Xavier de Gaye2016-12-141-1/+2
|\
| * Issue #28849: Skip test_sysconfig.test_triplet_in_ext_suffix on non linux ↵Xavier de Gaye2016-12-141-1/+2
| | | | | | | | platforms.
* | Issue #28849: Merge 3.6.Xavier de Gaye2016-12-101-2/+2
|\ \ | |/
| * Issue #28849: Do not define sys.implementation._multiarch on Android.Xavier de Gaye2016-12-101-2/+2
| |
* | Skip a sysconfig test if _ctypes is not available.Zachary Ware2016-09-171-6/+4
|/ | | | Also migrates test_sysconfig to unittest discovery.
* 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
|