summaryrefslogtreecommitdiffstats
path: root/Lib/distutils/tests/test_util.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-92584: Remove the distutils package (#99061)Victor Stinner2022-11-031-313/+0
| | | | | | | | | | | | Remove the distutils package. It was deprecated in Python 3.10 by PEP 632 "Deprecate distutils module". For projects still using distutils and cannot be updated to something else, the setuptools project can be installed: it still provides distutils. * Remove Lib/distutils/ directory * Remove test_distutils * Remove references to distutils * Skip test_check_c_globals and test_peg_generator since they use distutils
* bpo-46933: Make pwd module optional (GH-31700)Christian Heimes2022-03-071-1/+4
| | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-5846: Do not use obsolete unittest functions. (GH-28303)Serhiy Storchaka2021-09-131-1/+1
| | | | Get rid of use of makeSuite() and findTestCases(). Also make test_math and test_threading_local discoverable.
* bpo-41282: (PEP 632) Deprecate distutils.sysconfig (partial implementation ↵Lumír 'Frenzy' Balhar2021-04-231-1/+2
| | | | | | | | | | of the PEP) (GH-23142) This change: * merges `distutils.sysconfig` into `sysconfig` while keeping the original functionality and * marks `distutils.sysconfig` as deprecated https://bugs.python.org/issue41282
* bpo-10496: distutils check_environ() handles getpwuid() error (GH-10931)Victor Stinner2018-12-181-9/+25
| | | | | check_environ() of distutils.utils now catchs KeyError on calling pwd.getpwuid(): don't create the HOME environment variable in this case.
* Remove all mention of Windows IA-64 support (GH-3389)Zachary Ware2017-09-061-7/+0
| | | It was mostly removed long ago.
* Merge 3.3 (#4931)Éric Araujo2014-03-121-1/+9
|\
| * Avoid “error: None” messages from distutils (#4931).Éric Araujo2014-03-121-1/+9
| | | | | | | | Thanks to Amaury Forgeot d’Arc and Philip J. Eby.
* | Issue #19600: Use specific asserts in distutils tests.Serhiy Storchaka2013-11-161-1/+1
|\ \ | |/
| * Issue #19600: Use specific asserts in distutils tests.Serhiy Storchaka2013-11-161-1/+1
| |
* | Closes #16135: Removal of OS/2 support (distutils)Jesus Cea2012-10-101-1/+1
|/
* Issue #15184: Ensure consistent results of OS X configurationNed Deily2012-07-211-0/+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 #9516: avoid errors in sysconfig when MACOSX_DEPLOYMENT_TARGET is set ↵Ronald Oussoren2011-05-151-2/+7
| | | | | | | | | 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.
* #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-201-31/+31
|
* Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)Éric Araujo2010-11-061-1/+2
|
* reverted distutils its 3.1 state. All new work is now happening in ↵Tarek Ziadé2010-07-221-108/+105
| | | | disutils2, and distutils is now feature-frozen.
* Merged revisions 77759,77761 via svnmerge fromTarek Ziadé2010-01-291-119/+6
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77759 | tarek.ziade | 2010-01-26 22:21:54 +0100 (Tue, 26 Jan 2010) | 1 line reintroduced the names in Distutils for APIs that were relocated ........ r77761 | tarek.ziade | 2010-01-26 23:46:15 +0100 (Tue, 26 Jan 2010) | 1 line added local get_platform/set_platform APIs in distutils.sysconfig ........
* Merged revisions 77704,77752 via svnmerge fromTarek Ziadé2010-01-291-9/+5
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77704 | tarek.ziade | 2010-01-23 10:23:15 +0100 (Sat, 23 Jan 2010) | 1 line taking sysconfig out of distutils ........ r77752 | tarek.ziade | 2010-01-26 00:19:56 +0100 (Tue, 26 Jan 2010) | 1 line switched the call order so this call works without suffering from issue #7774 ........
* Fix merge issue where I forgot to replace sys.maxint by sys.maxsize.Ronald Oussoren2009-12-261-1/+30
|
* Merged revisions 76042 via svnmerge fromTarek Ziadé2009-11-011-0/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r76042 | tarek.ziade | 2009-11-01 23:33:45 +0100 (Sun, 01 Nov 2009) | 1 line fixed stdout alteration in test_distutils ........
* Merged revisions 75669-75671 via svnmerge fromTarek Ziadé2009-10-251-5/+13
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75669 | tarek.ziade | 2009-10-24 17:10:37 +0200 (Sat, 24 Oct 2009) | 1 line Issue #7071: byte-compilation in Distutils now looks at sys.dont_write_bytecode ........ r75670 | tarek.ziade | 2009-10-24 17:19:03 +0200 (Sat, 24 Oct 2009) | 1 line fixed finally state in distutils.test_util ........ r75671 | tarek.ziade | 2009-10-24 17:51:30 +0200 (Sat, 24 Oct 2009) | 1 line fixed warning and error message ........
* Merged revisions 75485 via svnmerge fromTarek Ziadé2009-10-181-5/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75485 | tarek.ziade | 2009-10-18 11:28:26 +0200 (Sun, 18 Oct 2009) | 1 line Changed distutils tests to avoid environment alteration ........
* Merged revisions 74812 via svnmerge fromTarek Ziadé2009-09-221-1/+21
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74812 | ronald.oussoren | 2009-09-15 23:24:07 +0200 (Tue, 15 Sep 2009) | 3 lines Update distutils.util tests after my changes to --with-universal-archs ........
* Merged revisions 74024 via svnmerge fromTarek Ziadé2009-07-161-3/+94
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r74024 | tarek.ziade | 2009-07-16 17:35:45 +0200 (Thu, 16 Jul 2009) | 1 line #6466 refactored distutils duplicate get_versions() functions (used to get gcc/ld/dllwrap versions) ........
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-2/+2
|
* Merged revisions 72543 via svnmerge fromTarek Ziadé2009-05-101-30/+15
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72543 | tarek.ziade | 2009-05-10 14:17:30 +0200 (Sun, 10 May 2009) | 1 line now using EnvironGuard everywhere ........
* Merged revisions 72500 via svnmerge fromTarek Ziadé2009-05-091-6/+11
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r72500 | tarek.ziade | 2009-05-09 12:06:00 +0200 (Sat, 09 May 2009) | 1 line #5976: fixed distutils test_check_environ ........
* Merged revisions 71878 via svnmerge fromTarek Ziadé2009-04-251-2/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71878 | tarek.ziade | 2009-04-25 14:38:08 +0200 (Sat, 25 Apr 2009) | 1 line Issue #4951: Fixed failure in test_httpservers ........
* Merged revisions 71758 via svnmerge fromTarek Ziadé2009-04-201-3/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71758 | tarek.ziade | 2009-04-20 09:53:55 +0200 (Mon, 20 Apr 2009) | 1 line #5795 sysconfig._config_vars was shadowed in tearDown ........
* Merged revisions 71560 via svnmerge fromTarek Ziadé2009-04-131-1/+31
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71560 | tarek.ziade | 2009-04-13 14:34:01 +0200 (Mon, 13 Apr 2009) | 1 line Fixed #5607: Distutils test_get_platform was failing fo Mac OS X fat binaries. ........
* Merged revisions 70308 via svnmerge fromTarek Ziadé2009-03-111-0/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70308 | tarek.ziade | 2009-03-11 13:48:04 +0100 (Wed, 11 Mar 2009) | 1 line Issue #5472: Fixed distutils.test_util tear down ........
* Merged revisions 69602 via svnmerge fromTarek Ziadé2009-02-131-1/+6
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r69602 | tarek.ziade | 2009-02-14 00:41:57 +0100 (Sat, 14 Feb 2009) | 1 line fix the environ for distutils test_util ........
* Merged revisions 69594 via svnmerge fromTarek Ziadé2009-02-131-0/+213
svn+ssh://pythondev@svn.python.org/python/trunk ........ r69594 | tarek.ziade | 2009-02-13 23:22:03 +0100 (Fri, 13 Feb 2009) | 1 line Issue #2461: added tests for distutils.util ........