Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | [pkg] prepare 0.63.2logilab-common-version-0.63.2logilab-common-debian-version-0.63.2-1logilab-common-centos-version-0.63.2-1 | David Douard | 2014-11-30 | 3 | -2/+8 |
| | |||||
* | [pkg] pytz is only a setuptools test_require, not an install_requires ↵ | David Douard | 2014-11-30 | 2 | -1/+4 |
| | | | | (closes #281909) | ||||
* | [coverage] fix a bug breaking coverage.py (closes #281908) | David Douard | 2014-11-30 | 1 | -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 Douard | 2014-11-28 | 0 | -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-1 | David Douard | 2014-11-28 | 1 | -0/+1 |
| | | | | required to run tests, hence to be able to build the deb, on jessie | ||||
* | README: remove mention of hg submodule | Julien Cristau | 2014-11-28 | 1 | -2/+0 |
| | | | | It was removed in 0.63. | ||||
* | [pkg] prepare 0.63.1 | David Douard | 2014-11-28 | 4 | -3/+11 |
| | |||||
* | Fix python3 syntax errors | Julien Cristau | 2014-11-28 | 10 | -58/+51 |
| | | | | Closes #278550 | ||||
* | [daemon] change umask after creating pid file | Julien Cristau | 2014-11-28 | 1 | -4/+3 |
| | | | | No reason to hide the pid file / dir behind restrictive permissions. | ||||
* | [date] Fix utcdatetime | Christophe de Vienne | 2014-11-27 | 2 | -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 tracing | Christophe de Vienne | 2014-11-27 | 2 | -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 Douard | 2014-11-28 | 1 | -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 Cristau | 2014-11-28 | 3 | -35/+44 |
| | |||||
* | [deprecation] fix class_renamed() on old-style classes | David Douard | 2014-11-20 | 1 | -1/+2 |
| | |||||
* | [configuration] fix print calls | Adam Sampson | 2014-11-25 | 1 | -8/+7 |
| | | | | This file uses the Python 3-style print function, so >> won't work. | ||||
* | Added tag logilab-common-version-0.63.0, ↵ | Julien Cristau | 2014-11-05 | 0 | -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-1 | Julien Cristau | 2014-11-05 | 1 | -1/+1 |
| | |||||
* | [debian] fix package and docs build | Julien Cristau | 2014-11-05 | 2 | -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 8 | Julien Cristau | 2014-11-05 | 2 | -2/+2 |
| | |||||
* | [debian] unify packaging | Julien Cristau | 2014-09-23 | 4 | -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.0 | David Douard | 2014-09-01 | 5 | -5/+25 |
| | |||||
* | [ureports] write unicode not bytes | Julien Cristau | 2014-10-17 | 1 | -34/+34 |
| | |||||
* | [modutils] Ensure module is actually in sys.modules in pkg_resources support | Denis Laxalde | 2014-10-24 | 1 | -1/+4 |
| | | | | | | Wrap the long line along the way. Closes #269083. | ||||
* | [testlib] Remove obsolete backwards compatibility | Rémi Cardona | 2014-09-28 | 1 | -8/+1 |
| | | | | functools.wraps() is available since python 2.5 | ||||
* | [testlib] 'test' module from python 3 creates temporary directory on import | Rémi Cardona | 2014-09-28 | 1 | -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.py | Julien Cristau | 2014-09-29 | 1 | -130/+0 |
| | | | | No known users. | ||||
* | [compat] remove range | Julien Cristau | 2014-09-23 | 1 | -7/+0 |
| | | | | Use six.moves instead. | ||||
* | [compat] remove pickle | Julien Cristau | 2014-09-23 | 1 | -6/+0 |
| | | | | Use six.moves instead. | ||||
* | [compat] remove configparser | Julien Cristau | 2014-09-23 | 1 | -6/+0 |
| | | | | Use six.moves instead. | ||||
* | [compat] remove json | Julien Cristau | 2014-09-23 | 1 | -8/+0 |
| | | | | It's been part of the standard library since 2.6. | ||||
* | [compat] remove raw_input | Julien Cristau | 2014-09-23 | 1 | -5/+0 |
| | | | | six.moves provides a replacement. | ||||
* | Use six.moves.input instead of lgc.compat.raw_input | Julien Cristau | 2014-09-23 | 4 | -11/+9 |
| | |||||
* | Delete obsolete README.Python3 | Julien Cristau | 2014-09-23 | 1 | -29/+0 |
| | |||||
* | [testlib] stop using internal unittest _addSkip method | Julien Cristau | 2014-09-22 | 1 | -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.py | Julien Cristau | 2014-09-22 | 1 | -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 Cardona | 2014-07-17 | 5 | -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 exists | Rémi Cardona | 2014-08-25 | 1 | -1/+1 |
| | |||||
* | py3k: fix bool(nullobject) | Julien Cristau | 2014-07-27 | 1 | -1/+2 |
| | | | | The __nonzero__ method was replaced by __bool__. | ||||
* | [py3k] Replace uses of 'unicode' | Rémi Cardona | 2014-07-17 | 2 | -5/+7 |
| | |||||
* | [visitor] Implement iterator.__next__() | Rémi Cardona | 2014-07-16 | 1 | -1/+3 |
| | | | | The next() method was renamed to __next__() in python3. | ||||
* | [py3k] explicitly build a list around dict methods | Julien Cristau | 2014-07-27 | 5 | -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 Cardona | 2014-07-28 | 4 | -9/+9 |
| | |||||
* | [py3k] Use metaclasses using six.add_metaclass | Rémi Cardona | 2014-07-19 | 2 | -6/+11 |
| | |||||
* | [py3k] import StringIO from compat | Rémi Cardona | 2014-07-18 | 8 | -11/+10 |
| | |||||
* | [py3k] Import queue from six.moves | Rémi Cardona | 2014-07-18 | 1 | -2/+3 |
| | |||||
* | [py3k] Import configparser from six.moves | Rémi Cardona | 2014-07-16 | 2 | -7/+5 |
| | |||||
* | Consistently use the generator version of range | Rémi Cardona | 2014-09-22 | 10 | -0/+19 |
| | | | | That way we get the same behavior on python2 and python3. | ||||
* | [py3k] Import range from six.moves | Rémi Cardona | 2014-07-16 | 5 | -24/+31 |
| | |||||
* | [py3k] Replace basestring with six.string_types | Rémi Cardona | 2014-07-17 | 7 | -10/+23 |
| | |||||
* | [py3k] Import builtins from six.moves | Rémi Cardona | 2014-07-14 | 3 | -3/+7 |
| |