summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* [pkg] Version 1.4.1debian/1.4.1-1centos/1.4.1-11.4.1Denis Laxalde2017-07-113-2/+8
|
* [configuration] fix registration of multiple groups at onceAdrien Di Mascio2017-05-112-2/+18
| | | | | | | | The "options" iteration variable hid the original function parameters, therefore only the options of the last group were registered. Rename the iteration variable and everything's fine.
* Use a context manager for io.open()Denis Laxalde2017-07-042-5/+4
|
* Use io.open() to avoid deprecation warning about 'U' modeDenis Laxalde2017-07-042-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_configDenis Laxalde2017-07-051-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 5d5770c6d3c8Denis Laxalde2017-03-200-0/+0
|
* Added tag 1.4.0 for changeset 5d5770c6d3c8Denis Laxalde2017-03-200-0/+0
|
* [pkg] Version 1.4.0debian/1.4.0-1centos/1.4.0-11.4.0Denis Laxalde2017-03-173-2/+8
|
* [textutils] Add two more manual mappings to convert unicode into ASCIIYann Voté2017-02-282-0/+4
|
* [registry] fix autoreload with register_modnames()Philippe Pepiot2017-01-251-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 Pepiot2017-01-203-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 Pepiot2017-01-202-13/+11
| | | | | This method is to be replaced by register_modnames() to avoid using deprecated modpath_from_file()
* [modutils] deprecate modpath_from_filePhilippe Pepiot2017-01-202-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 Pepiot2016-12-232-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 Pepiot2016-12-231-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 bbc78dd79f6dDenis Laxalde2016-11-180-0/+0
|
* [debian] Use logilab-pytest executable directlydebian/1.3.0-1centos/1.3.0-11.3.0Denis Laxalde2016-11-181-2/+2
| | | | To please damned Apycot, hopefully.
* [test] Do not use "modutils" in test_site_packagesDenis Laxalde2016-11-181-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.0Denis Laxalde2016-11-183-2/+8
|
* Fix test breakage in modutils with python 3Sylvain Thénault2016-11-161-1/+3
|
* [configuration] Fix multi-line strings handlingChristophe de Vienne2016-01-112-0/+47
| | | | Closes #3691182
* [testlib] Deprecate doctest things in favour of stdlib moduleDenis Laxalde2016-01-195-29/+23
| | | | | | And adjust all tests accordingly. Drop docstring example from fileutils.abspath_listdir since I could not have it skipped.
* Deprecate logilab-pytestDenis Laxalde2016-10-033-3/+4
|
* Rename pytest executable into logilab-pytestDenis Laxalde2016-10-0312-42/+48
| | | | Closes #8396846.
* [testlib] Deprecate with_tempdir (Closes #8267966)Denis Laxalde2016-10-241-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 astroidDenis Laxalde2016-11-141-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 -> slotsDenis Laxalde2016-06-301-1/+1
| | | | Closes #6820061.
* Added tag 1.2.2, debian/1.2.2-1, centos/1.2.2-1 for changeset da1d07661e4eDenis Laxalde2016-06-210-0/+0
|
* [pkg] Version 1.2.2debian/1.2.2-1centos/1.2.2-11.2.2Denis Laxalde2016-06-213-2/+8
|
* [doc] fixesDavid Douard2015-07-031-8/+11
|
* [configuration] long is gone in Python 3, rely on six.integer_typesDenis Laxalde2016-06-021-2/+2
|
* [pytest] make pytest module runnableDavid Douard2016-06-101-0/+4
| | | | so one can type "python -m logilab.common.pytest"
* [registry] make RegistryStore.load_file work with unicode value for modname ↵David Douard2016-06-021-0/+2
| | | | (closes #6302914)
* Added tag 1.2.1, debian/1.2.1-1, centos/1.2.1-1 for changeset 6a618d1474cfDavid Douard2016-05-270-0/+0
|
* [pkg] 1.2.1debian/1.2.1-1centos/1.2.1-11.2.1David Douard2016-05-273-2/+8
|
* [test] noop instead of skip test_utcdatetime for mxDateTimeDavid Douard2016-05-271-1/+1
| | | | to have a clean CI report
* [pkg] add egenix-mx-base in test requirementsDavid Douard2016-05-272-4/+8
|
* [pkg] add a requirements-test.txtDavid Douard2016-05-271-0/+1
| | | | with pytz, for CI
* [pep8] changelog.pyDavid Douard2016-05-271-14/+23
|
* [pep8] test/unittest_changelogDavid Douard2016-05-271-6/+7
|
* [changelog] ensure ChangeLogEntry write unicode (closes #6213577)David Douard2016-01-122-15/+17
| | | | also use io.StingIO in unittest_changelog
* [registry] Stop using load_module_from_nameSylvain Thénault2016-05-191-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 argumentSylvain Thénault2016-05-172-1/+6
| | | | we should not get a traceback in this case. Closes #6060938
* [spec] Only require python-egenix-mx-base on EL6Denis Laxalde2016-05-111-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 ece6bcdcb0b1Julien Cristau2016-03-150-0/+0
|
* [configuration] fix crash on python 3.5debian/1.2.0-1centos/1.2.0-11.2.0Julien Cristau2016-03-151-1/+1
| | | | RuntimeError: OrderedDict mutated during iteration
* [pkg] forgot one bump...Julien Cristau2016-03-151-1/+1
|
* [pkg] 1.2.0Julien Cristau2016-03-153-3/+13
|
* [testlib] drop unused TestCase.pdbclassJulien Cristau2015-11-051-1/+0
|
* [date] take milliseconds into account in datetime2ticksJulien Cristau2016-03-102-4/+12
|