summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [pkg] prepare 0.63.2logilab-common-version-0.63.2logilab-common-debian-version-0.63.2-1logilab-common-centos-version-0.63.2-1David Douard2014-11-303-2/+8
|
* [pkg] pytz is only a setuptools test_require, not an install_requires ↵David Douard2014-11-302-1/+4
| | | | (closes #281909)
* [coverage] fix a bug breaking coverage.py (closes #281908)David Douard2014-11-301-0/+5
| | | | | | | | The refactoring of the coverage suspend/resume tools in pytest done in 31725b8fa3f5 breaks the compatibility of theses tools with coverage.py, due to a bug in this later project, see: https://bitbucket.org/ned/coveragepy/issue/123
* Added tag logilab-common-version-0.63.1, ↵David Douard2014-11-280-0/+0
| | | | logilab-common-debian-version-0.63.1-1, logilab-common-centos-version-0.63.1-1 for changeset 0f392891a907
* [debian] add missing python3-tz build-dependlogilab-common-version-0.63.1logilab-common-debian-version-0.63.1-1logilab-common-centos-version-0.63.1-1David Douard2014-11-281-0/+1
| | | | required to run tests, hence to be able to build the deb, on jessie
* README: remove mention of hg submoduleJulien Cristau2014-11-281-2/+0
| | | | It was removed in 0.63.
* [pkg] prepare 0.63.1David Douard2014-11-284-3/+11
|
* Fix python3 syntax errorsJulien Cristau2014-11-2810-58/+51
| | | | Closes #278550
* [daemon] change umask after creating pid fileJulien Cristau2014-11-281-4/+3
| | | | No reason to hide the pid file / dir behind restrictive permissions.
* [date] Fix utcdatetimeChristophe de Vienne2014-11-272-2/+23
| | | | | | | | Dates with a tzinfo get messed up by utcdatetime. The unittest in this patch depends on pytz. Closes #280794
* [coverage] Provides better tools to pause tracingChristophe de Vienne2014-11-272-22/+81
| | | | | | | The former implementation was not restoring properly the trace function on python 2.7 at least. This cleaner implementation uses context-manager, and deprecates the pause_tracing/resume_tracing couple. Closes #280757
* [pytest] fix TestSuite.run wrapper (closes #280806)David Douard2014-11-281-2/+34
| | | | | | | | | | | _ts_wrapped_run is a modified version of the upstream unittest.suite.TestSuite.run method, but the recent (python 2.7) evolutions of this later had never been 'integrated' in lgc. This mismatch broke tests using a tearDownModule function. This patch is... humm, sorry...
* [ureports] write unicode not bytes (closes #277372)Julien Cristau2014-11-283-35/+44
|
* [deprecation] fix class_renamed() on old-style classesDavid Douard2014-11-201-1/+2
|
* [configuration] fix print callsAdam Sampson2014-11-251-8/+7
| | | | This file uses the Python 3-style print function, so >> won't work.
* Added tag logilab-common-version-0.63.0, ↵Julien Cristau2014-11-050-0/+0
| | | | logilab-common-debian-version-0.63.0-1, logilab-common-centos-version-0.63.0-1 for changeset 468b7a368a0d
* [debian] Update changelog datelogilab-common-version-0.63.0logilab-common-debian-version-0.63.0-1logilab-common-centos-version-0.63.0-1Julien Cristau2014-11-051-1/+1
|
* [debian] fix package and docs buildJulien Cristau2014-11-052-3/+11
| | | | | Add six build-dep so we can run tests, and build the lib where doc/makefile expects it before building API docs.
* [debian] bump debhelper compat level to 8Julien Cristau2014-11-052-2/+2
|
* [debian] unify packagingJulien Cristau2014-09-234-224/+116
| | | | | | Instead of having two copies of part of the packaging, that don't stay in sync, just keep one, and only build the python3 version of the package if we have new enough python3.
* prepare 0.63.0David Douard2014-09-015-5/+25
|
* [ureports] write unicode not bytesJulien Cristau2014-10-171-34/+34
|
* [modutils] Ensure module is actually in sys.modules in pkg_resources supportDenis Laxalde2014-10-241-1/+4
| | | | | | Wrap the long line along the way. Closes #269083.
* [testlib] Remove obsolete backwards compatibilityRémi Cardona2014-09-281-8/+1
| | | | functools.wraps() is available since python 2.5
* [testlib] 'test' module from python 3 creates temporary directory on importRémi Cardona2014-09-281-8/+0
| | | | | | | | | | | | | | | | | | From the std lib: The test package is meant for internal use by Python only. It is documented for the benefit of the core developers of Python. Any use of this package outside of Python’s standard library is discouraged as code mentioned here can change or be removed without notice between releases of Python. The real issue is that in python 3, the following is done at the top of test.py: TESTDIRN = os.path.basename(tempfile.mkdtemp(dir='.')) By just importing this module, an empty directory is created. Fortunately, it sits unused in testlib. So just drop it.
* Delete hg.pyJulien Cristau2014-09-291-130/+0
| | | | No known users.
* [compat] remove rangeJulien Cristau2014-09-231-7/+0
| | | | Use six.moves instead.
* [compat] remove pickleJulien Cristau2014-09-231-6/+0
| | | | Use six.moves instead.
* [compat] remove configparserJulien Cristau2014-09-231-6/+0
| | | | Use six.moves instead.
* [compat] remove jsonJulien Cristau2014-09-231-8/+0
| | | | It's been part of the standard library since 2.6.
* [compat] remove raw_inputJulien Cristau2014-09-231-5/+0
| | | | six.moves provides a replacement.
* Use six.moves.input instead of lgc.compat.raw_inputJulien Cristau2014-09-234-11/+9
|
* Delete obsolete README.Python3Julien Cristau2014-09-231-29/+0
|
* [testlib] stop using internal unittest _addSkip methodJulien Cristau2014-09-221-1/+6
| | | | | | I introduced this in changeset e0434df41a2e "[testlib] handle skips in setUp and tearDown". Turns out that API changed in python 3.4, so let's stop using it.
* [pkg] don't run 2to3 in setup.pyJulien Cristau2014-09-221-14/+1
| | | | | | | We can now run directly on python3 (3.3+, and at least as far as running tests). Closes #265740
* Only read/write func.__name__ and class.__self__Rémi Cardona2014-07-175-10/+5
| | | | | | | | | | | | Since at least python 2.0, func_name and __name__ point to the same struct member and since 2.4, they share the exact same getter and setter. Since __name__ is the only property left in python 3.0, let's use that one. As for method.__self__, it has been available since at least python 2.0 too.
* [py3k] execfile no longer existsRémi Cardona2014-08-251-1/+1
|
* py3k: fix bool(nullobject)Julien Cristau2014-07-271-1/+2
| | | | The __nonzero__ method was replaced by __bool__.
* [py3k] Replace uses of 'unicode'Rémi Cardona2014-07-172-5/+7
|
* [visitor] Implement iterator.__next__()Rémi Cardona2014-07-161-1/+3
| | | | The next() method was renamed to __next__() in python3.
* [py3k] explicitly build a list around dict methodsJulien Cristau2014-07-275-5/+5
| | | | | When we modify the return value from one of the dict methods, explicitly build a list from it to make things work on python3. Related to #265740.
* [py3k] use dict.items() / dict.values() instead of .iter*Rémi Cardona2014-07-284-9/+9
|
* [py3k] Use metaclasses using six.add_metaclassRémi Cardona2014-07-192-6/+11
|
* [py3k] import StringIO from compatRémi Cardona2014-07-188-11/+10
|
* [py3k] Import queue from six.movesRémi Cardona2014-07-181-2/+3
|
* [py3k] Import configparser from six.movesRémi Cardona2014-07-162-7/+5
|
* Consistently use the generator version of rangeRémi Cardona2014-09-2210-0/+19
| | | | That way we get the same behavior on python2 and python3.
* [py3k] Import range from six.movesRémi Cardona2014-07-165-24/+31
|
* [py3k] Replace basestring with six.string_typesRémi Cardona2014-07-177-10/+23
|
* [py3k] Import builtins from six.movesRémi Cardona2014-07-143-3/+7
|