summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_sysconfig.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-95853: Multiple ops and debug for wasm_build.py (#96744)Christian Heimes2022-09-111-0/+1
|
* gh-92897: Ensure `venv --copies` respects source build property of the ↵Jeremy Kloth2022-07-051-1/+5
| | | | creating interpreter (GH-92899)
* GH-77403: Fix tests which fail when PYTHONUSERBASE is not normalized (GH-93917)Irit Katriel2022-06-171-1/+1
|
* gh-84623: Remove unused imports in tests (#93772)Victor Stinner2022-06-131-1/+0
|
* gh-90473: Skip get_config_h() tests on WASI (GH-93645)Christian Heimes2022-06-091-1/+5
|
* gh-91670: Removes `SO` config variable in `sysconfig.py` (#91671)Bryan Weber2022-04-181-15/+0
| | | | | | | | | | | | | | | * Removes SO config variable in sysconfig Per @warsaw in https://github.com/python/cpython/issues/63754, this was deprecated in Python 3.4 and was suggested for removal in Python 3.5. * Add NEWS * Update Misc/NEWS.d/next/Library/2022-04-18-15-23-24.gh-issue-91670.6eyChw.rst Co-authored-by: Éric <merwok@netwok.org> Co-authored-by: Barry Warsaw <barry@python.org> Co-authored-by: Éric <merwok@netwok.org>
* bpo-45413: Define "posix_venv", "nt_venv" and "venv" sysconfig installation ↵Miro Hrončok2022-03-181-1/+67
| | | | | | | | | | | | | | | | | | | schemes (GH-31034) Define *posix_venv* and *nt_venv* sysconfig installation schemes to be used for bootstrapping new virtual environments. Add *venv* sysconfig installation scheme to get the appropriate one of the above. The schemes are identical to the pre-existing *posix_prefix* and *nt* install schemes. The venv module now uses the *venv* scheme to create new virtual environments instead of hardcoding the paths depending only on the platform. Downstream Python distributors customizing the *posix_prefix* or *nt* install scheme in a way that is not compatible with the install scheme used in virtual environments are encouraged not to customize the *venv* schemes. When Python itself runs in a virtual environment, sysconfig.get_default_scheme and sysconfig.get_preferred_scheme with `key="prefix"` returns *venv*.
* Fix a `UnboundLocalError` bug in `test_sysconfig` (GH-31000)Brett Cannon2022-01-291-2/+2
| | | Accidentally introduced by GH-24502
* bpo-43112: detect musl as a separate SOABI (GH-24502)Natanael Copa2022-01-281-4/+4
| | | | | | | musl libc and gnu libc are not ABI compatible so we need set different SOABI for musl and not simply assume that all linux is linux-gnu. Replace linux-gnu with the detected os for the build from config.guess for linux-musl*.
* bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615)Christian Heimes2022-01-251-1/+3
|
* bpo-40280: Add requires_fork test helper (GH-30622)Christian Heimes2022-01-161-0/+2
|
* bpo-45582: Port getpath[p].c to Python (GH-29041)Steve Dower2021-12-031-0/+4
| | | | | The getpath.py file is frozen at build time and executed as code over a namespace. It is never imported, nor is it meant to be importable or reusable. However, it should be easier to read, modify, and patch than the previous code. This commit attempts to preserve every previously tested quirk, but these may be changed in the future to better align platforms.
* bpo-44860: Update test_sysconfig for posix_user platlib (GH-28235)Victor Stinner2021-09-091-1/+11
| | | | Update test_sysconfig.test_user_similar() for the posix_user scheme: "platlib" doesn't use sys.platlibdir.
* 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
|\ \ | |/