summaryrefslogtreecommitdiff
path: root/distutils2/tests/pypi_server.py
Commit message (Collapse)AuthorAgeFilesLines
* Better separate compat and _backport.?ric Araujo2011-11-231-1/+1
| | | | | | | | | | | | This moves individual backported functions from compat into a new _backport.misc module. compat regains its original purpose of containing 2to3 support code (i.e. compat for projects using distutils2, not internal compat for d2 code) and all backports now live under the private _backport subnamespace. Also fix the definition of ?any? to bind it to the builtin in 2.5+ (fsencode and detect_encoding not changed, they never exist in 2.x).
* Super considered super.?ric Araujo2011-11-121-8/+7
| | | | | | I think I?ve got all of them (I?ll clean up compat after); if someone knows a lint tool that can detect missing super calls, please let me know.
* Fix backport changesets part 3: backported modules.?ric Araujo2011-09-181-4/+1
| | | | | | | | | | shutil, sysconfig, tarfile and their tests have been updated to the latest 3.2 version (except for test_tarfile which is not backported yet) and edited to be compatible with 2.4. Duplicates added in util during the Great Update have been deleted, as well as functions I removed recently in packaging. Unneeded modules in _backport have been deleted or moved to d2.compat.
* Fix backport changesets part 2: tests?ric Araujo2011-09-181-8/+12
|
* Fix the backport fixes.?ric Araujo2011-09-181-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Backports: - sysconfig is now always imported from our backports - when hashlib is not found, our backport is used instead of the md5 module (debatable; we could just drop hashlib) Version-dependent features: - PEP 370 features are only enabled for 2.6+ - the check for sys.dont_write_bytecode was fixed to use getattr with a default value instead of hasattr Idioms/syntax: - octal literals lost their extra 0 - misused try/except blocks have been changed back to try/finally (it?s legal in 2.4 too, it?s only try/except/finally that isn?t) - exception catching uses the regular 2.x idiom instead of sys.exc_info - file objects are closed within finally blocks (this causes much whitespace changes but actually makes diff with packaging easier) Renamed modules: - some missed renamings (_thread, Queue, isAlive, urllib.urlsplit, etc.) were fixed Other: - a few false positive replacements of ?packaging? by ?distutils2? in comments or docstrings were reverted - util.is_packaging regained its name - assorted whitespace/comment/import changes to match packaging
* Fixed a python2.4 syntax errors.Alexandru Plugaru2011-08-301-5/+11
|
* Backported packaging from cpython default, overwriting previous version.Vinay Sajip2011-08-181-42/+54
|
* Further work on Py3 support; try blocks for imports mainlyArc Riley2011-03-131-8/+15
|
* Update installer tests.Alexis Metaireau2011-01-291-0/+1
|
* Aadd a get_all_projects method for the XML/RPC client.Alexis Metaireau2010-12-241-1/+1
|
* forcing the pypi test server to use 127.0.0.1 because '' will not work with ↵Tarek Ziade2010-10-231-2/+2
| | | | some newtork setup
* refactored unittest import logic to improve accuracy of the coverage measurementYannick Gingras2010-09-301-1/+1
| | | | | | | | | | The unittest module is selectively imported from the standard library if we're running with a Python >= 3.2 or from and external library otherwise. This logic was moved from distutils2.test.support to distutils2.tests because the former module also imports various modules from distutils2, which would skew the coverage measurement because the definitions in those module would run before the instrumentation had a chance to be started.
* moved everything in the same dir - we want to include docs/ in the releaseTarek Ziade2010-09-191-0/+428