Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use a context manager for io.open() | Denis Laxalde | 2017-07-04 | 2 | -5/+4 |
| | |||||
* | Use io.open() to avoid deprecation warning about 'U' mode | Denis Laxalde | 2017-07-04 | 2 | -2/+4 |
| | | | | | | Use io.open() which has a consistent interface between Python 2 and Python 3. In particular, `newline` parameter is meant to control "universal new lines" and it is None by default so we don't need to specify it. | ||||
* | configuration: fix action query in read_old_config | Denis Laxalde | 2017-07-05 | 1 | -1/+1 |
| | | | | | | From the context, using action[0] seems correct. The problem comes from changeset 0a22ff6e5207 and shows up when using "option_added()" CubicWeb migration command. | ||||
* | Added tag debian/1.4.0-1, centos/1.4.0-1 for changeset 5d5770c6d3c8 | Denis Laxalde | 2017-03-20 | 0 | -0/+0 |
| | |||||
* | Added tag 1.4.0 for changeset 5d5770c6d3c8 | Denis Laxalde | 2017-03-20 | 0 | -0/+0 |
| | |||||
* | [pkg] Version 1.4.0debian/1.4.0-1centos/1.4.0-11.4.0 | Denis Laxalde | 2017-03-17 | 3 | -2/+8 |
| | |||||
* | [textutils] Add two more manual mappings to convert unicode into ASCII | Yann Voté | 2017-02-28 | 2 | -0/+4 |
| | |||||
* | [registry] fix autoreload with register_modnames() | Philippe Pepiot | 2017-01-25 | 1 | -0/+3 |
| | | | | | Don't register bytecode files in '_lastmodifs'. With python 2 loader get_filename() seems to return either pyc or py file. | ||||
* | [registry] RegistrableInstance should be instantiated with __module__=__name__ | Philippe Pepiot | 2017-01-20 | 3 | -6/+21 |
| | | | | | | | | | To detect in whih module the instance was created we previously detect the filename in python stack and then use modpath_from_file(). Since the later is now deprecated, we should force passing the module at instantiation with __module__=__name__. Deprecate old usage | ||||
* | [registry] deprecate register_objects() | Philippe Pepiot | 2017-01-20 | 2 | -13/+11 |
| | | | | | This method is to be replaced by register_modnames() to avoid using deprecated modpath_from_file() | ||||
* | [modutils] deprecate modpath_from_file | Philippe Pepiot | 2017-01-20 | 2 | -3/+11 |
| | | | | | | The method will likely fail if there somes symlinks in your python environment and will certainly fail on a file that isn't in sys.path (like custom importers using sys.meta_path). | ||||
* | [registry] add register_modnames() | Philippe Pepiot | 2016-12-23 | 2 | -0/+29 |
| | | | | | | Alternative to register_objects() to inspect modules names instead of directories. Avoiding using bogus logilab.common.modutils.modpath_from_file() | ||||
* | [modutils] add clean_sys_modules() | Philippe Pepiot | 2016-12-23 | 1 | -0/+12 |
| | | | | | A variant of cleanup_sys_modules using a list of modnames to remove from sys.modules. | ||||
* | Added tag 1.3.0, debian/1.3.0-1, centos/1.3.0-1 for changeset bbc78dd79f6d | Denis Laxalde | 2016-11-18 | 0 | -0/+0 |
| | |||||
* | [debian] Use logilab-pytest executable directlydebian/1.3.0-1centos/1.3.0-11.3.0 | Denis Laxalde | 2016-11-18 | 1 | -2/+2 |
| | | | | To please damned Apycot, hopefully. | ||||
* | [test] Do not use "modutils" in test_site_packages | Denis Laxalde | 2016-11-18 | 1 | -2/+3 |
| | | | | | | Because "modutils" module may also be found in source directory, this test may fail under some circumstances (like Debian package build, for instance). | ||||
* | [pkg] Version 1.3.0 | Denis Laxalde | 2016-11-18 | 3 | -2/+8 |
| | |||||
* | Fix test breakage in modutils with python 3 | Sylvain Thénault | 2016-11-16 | 1 | -1/+3 |
| | |||||
* | [configuration] Fix multi-line strings handling | Christophe de Vienne | 2016-01-11 | 2 | -0/+47 |
| | | | | Closes #3691182 | ||||
* | [testlib] Deprecate doctest things in favour of stdlib module | Denis Laxalde | 2016-01-19 | 5 | -29/+23 |
| | | | | | | And adjust all tests accordingly. Drop docstring example from fileutils.abspath_listdir since I could not have it skipped. | ||||
* | Deprecate logilab-pytest | Denis Laxalde | 2016-10-03 | 3 | -3/+4 |
| | |||||
* | Rename pytest executable into logilab-pytest | Denis Laxalde | 2016-10-03 | 12 | -42/+48 |
| | | | | Closes #8396846. | ||||
* | [testlib] Deprecate with_tempdir (Closes #8267966) | Denis Laxalde | 2016-10-24 | 1 | -1/+3 |
| | | | | | | | Recommend tempfile.TemporaryDirectory, available in tempfile from Python 3.4 or from `backports.tempfile`_ otherwise. .. _`backports.tempfile`: https://pypi.python.org/pypi/backports.tempfile | ||||
* | [modutils] Copy back modpath_from_file from astroid | Denis Laxalde | 2016-11-14 | 1 | -9/+27 |
| | | | | | | | Astroid has copy of modutils, originally from logilab-common, which has been modified and improved since. Copy back the `modpath_from_file` function in logilab-common, so that it is more robust to file path "subtelities" (case, symlinks, user, in particular). | ||||
* | [shellutils] Typo slot -> slots | Denis Laxalde | 2016-06-30 | 1 | -1/+1 |
| | | | | Closes #6820061. | ||||
* | Added tag 1.2.2, debian/1.2.2-1, centos/1.2.2-1 for changeset da1d07661e4e | Denis Laxalde | 2016-06-21 | 0 | -0/+0 |
| | |||||
* | [pkg] Version 1.2.2debian/1.2.2-1centos/1.2.2-11.2.2 | Denis Laxalde | 2016-06-21 | 3 | -2/+8 |
| | |||||
* | [doc] fixes | David Douard | 2015-07-03 | 1 | -8/+11 |
| | |||||
* | [configuration] long is gone in Python 3, rely on six.integer_types | Denis Laxalde | 2016-06-02 | 1 | -2/+2 |
| | |||||
* | [pytest] make pytest module runnable | David Douard | 2016-06-10 | 1 | -0/+4 |
| | | | | so one can type "python -m logilab.common.pytest" | ||||
* | [registry] make RegistryStore.load_file work with unicode value for modname ↵ | David Douard | 2016-06-02 | 1 | -0/+2 |
| | | | | (closes #6302914) | ||||
* | Added tag 1.2.1, debian/1.2.1-1, centos/1.2.1-1 for changeset 6a618d1474cf | David Douard | 2016-05-27 | 0 | -0/+0 |
| | |||||
* | [pkg] 1.2.1debian/1.2.1-1centos/1.2.1-11.2.1 | David Douard | 2016-05-27 | 3 | -2/+8 |
| | |||||
* | [test] noop instead of skip test_utcdatetime for mxDateTime | David Douard | 2016-05-27 | 1 | -1/+1 |
| | | | | to have a clean CI report | ||||
* | [pkg] add egenix-mx-base in test requirements | David Douard | 2016-05-27 | 2 | -4/+8 |
| | |||||
* | [pkg] add a requirements-test.txt | David Douard | 2016-05-27 | 1 | -0/+1 |
| | | | | with pytz, for CI | ||||
* | [pep8] changelog.py | David Douard | 2016-05-27 | 1 | -14/+23 |
| | |||||
* | [pep8] test/unittest_changelog | David Douard | 2016-05-27 | 1 | -6/+7 |
| | |||||
* | [changelog] ensure ChangeLogEntry write unicode (closes #6213577) | David Douard | 2016-01-12 | 2 | -15/+17 |
| | | | | also use io.StingIO in unittest_changelog | ||||
* | [registry] Stop using load_module_from_name | Sylvain Thénault | 2016-05-19 | 1 | -2/+1 |
| | | | | | | | It as no benefit over __import__ and causes pb in some cases (eg not considering properly parent package's __path__). Closes #6085650 | ||||
* | Fix regression with datetime2ticks vs date object as argument | Sylvain Thénault | 2016-05-17 | 2 | -1/+6 |
| | | | | we should not get a traceback in this case. Closes #6060938 | ||||
* | [spec] Only require python-egenix-mx-base on EL6 | Denis Laxalde | 2016-05-11 | 1 | -1/+1 |
| | | | | It is not available on EL7. | ||||
* | Added tag 1.2.0, debian/1.2.0-1, centos/1.2.0-1 for changeset ece6bcdcb0b1 | Julien Cristau | 2016-03-15 | 0 | -0/+0 |
| | |||||
* | [configuration] fix crash on python 3.5debian/1.2.0-1centos/1.2.0-11.2.0 | Julien Cristau | 2016-03-15 | 1 | -1/+1 |
| | | | | RuntimeError: OrderedDict mutated during iteration | ||||
* | [pkg] forgot one bump... | Julien Cristau | 2016-03-15 | 1 | -1/+1 |
| | |||||
* | [pkg] 1.2.0 | Julien Cristau | 2016-03-15 | 3 | -3/+13 |
| | |||||
* | [testlib] drop unused TestCase.pdbclass | Julien Cristau | 2015-11-05 | 1 | -1/+0 |
| | |||||
* | [date] take milliseconds into account in datetime2ticks | Julien Cristau | 2016-03-10 | 2 | -4/+12 |
| | |||||
* | rpm: mx package was renamed it is now python-egenix-mx-base | Samuel Trégouët | 2016-01-28 | 1 | -1/+1 |
| | |||||
* | Add .git and .tox to STD_BLACKLIST | Denis Laxalde | 2016-01-25 | 1 | -1/+1 |
| | | | | This should make it easier to work with cubicweb-ctl i18cube command for instance. |