summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* [pkg] Version 1.5.1debian/1.5.1-11.5.1Simon Chabot2019-11-292-1/+7
|
* [shellutils, fix] Deprecate 'input' as argument of RawInput in favor of ↵Simon Chabot2019-11-282-2/+17
| | | | | | | | | | | | | | | | | | 'input_function' When no parameter was given to the class, None was used as the `input`. It used to work because when `input` (the argument) was None `raw_input` of six was used instead. (-> self._input = input or raw_input). Now that six has been dropped, we cannot have `input=None` in the arguments list anymore and use the builtin `input` at the same time. This patch suggests to deprecate this argument in favor of a new one called `input_function`. If no `input_function`, let's use the `input` builtin. For backward compatibility, if `input` should be given, it's caught in the `kwargs` and used as `input_function`, and a deprecation warning is shown.
* Added tag 1.5.0, debian/1.5.0-1 for changeset cc988e1f739bPhilippe Pepiot2019-11-280-0/+0
|
* [pkg] Version 1.5.0debian/1.5.0-11.5.0Philippe Pepiot2019-11-282-3/+4
|
* Drop now useless code for python2 in __pkginfo__.pyPhilippe Pepiot2019-11-271-3/+0
|
* Fix modutils tests in debian packagePhilippe Pepiot2019-11-272-1/+1
| | | | | | | | | | | logilab-pytest has a side effect of printing DeprecationWarnings by default, when running modutils tests without logilab-pytest binary this fail. In debian package we run python3 -m "logilab.common.pytest" and thus DeprecationWarning are not displayed and tests fail. Fix this by ensuring DeprecationWarning are displayed before running tests of unittest_modutils.py
* Make logilab-pytest a python3 scriptPhilippe Pepiot2019-11-271-1/+1
|
* Drop dependency on sixNicola Spanti2019-11-195-21/+9
|
* [register] allow to pass a debug_callback argument to Registry._select_bestLaurent Peuch2019-11-201-0/+33
|
* Drop debian python2 packagingPhilippe Pepiot2019-11-133-45/+7
|
* Nearly drop dependency on sixPhilippe Pepiot2019-11-0825-96/+35
|
* Require python >= 3.3Philippe Pepiot2019-11-082-1/+2
| | | | This avoid having a python2 pip pulling our python3 only package.
* tox: drop py2 testsPhilippe Pepiot2019-11-081-2/+1
|
* Drop rpm python2 packagingPhilippe Pepiot2019-11-081-186/+0
|
* Merge public headsPhilippe Pepiot2019-11-085-28/+40
|\
| * [py] Make flake8 a bit less angryNicola Spanti2019-10-253-20/+32
| |
| * Use time.process_time instead of time.clock (deprecated)Simon Chabot2019-10-242-8/+8
| | | | | | | | | | | | time.clock is deprecated since python 3.3 and will be removed in python 3.8 this patch breaks backward compatibility with python < 3.3.
* | Added tag 1.4.4, debian/1.4.4-1 for changeset f7d383220a68Nicola Spanti2019-11-080-0/+0
| |
* | [pkg] Version 1.4.4debian/1.4.4-11.4.4Nicola Spanti2019-11-082-3/+4
| |
* | [debian] use dh-pythonPhilippe Pepiot2019-11-083-50/+15
| | | | | | | | | | So we can drop most of the debian/rules file. Somes tests are broken so disable tests for now.
* | Include docs in sdistPhilippe Pepiot2019-11-081-2/+2
|/ | | | Followup b05f25 where doc directory has been renamed to docs but wasn't included in the sdist.
* Make "configuration" classes get call __getitem__Philippe Pepiot2019-09-121-5/+4
| | | | | | | | | In both ConfigurationMixIn and OptionsManager2ConfigurationAdapter. Otherwise a child-class defining it's own __getitem__ wouldn't be called. In ConfigurationMixIn.get, also catch for OptionError like before. We could think about caching OptionError in __getitem__ but there's test asserting this method can raise OptionError, so...
* Move Sphinx specific content out of READMEDenis Laxalde2019-07-262-97/+97
| | | | | | The README is used in setup.py to generated the long description. And this description must contain only plain rst in order the upload to be accepted by PyPI (https://pypi.org/help/#description-content-type).
* Added tag debian/1.4.3-1, 1.4.3 for changeset e997400c7fe3Denis Laxalde2019-07-260-0/+0
|
* [debian] Account for doc directory renamedebian/1.4.3-11.4.3Denis Laxalde2019-07-262-2/+2
|
* [debian] Drop documentation buildDenis Laxalde2019-07-263-16/+2
| | | | | The system has changed and we lack resources to maintain it in Debian.
* [pkg] Version 1.4.3Denis Laxalde2019-07-262-1/+7
|
* [py3] Wrap dict.keys() in list()Denis Laxalde2019-07-261-1/+1
| | | | | | Otherwise, the error message looks like: invalid unit minutes. valid units are dict_keys(['d', 'h', 'ms', 's', 'min'])
* Raise a ValueError in case of invalid unit in textutils.apply_units()Denis Laxalde2019-07-262-2/+5
| | | | | | | | | The original KeyError comes from 57e242dffe89 which no justification. I believe it was meant to be a ValueError as in other errors in this function. Also, _ensure_correctly_typed() in cubicweb/web/formfields.py will catch ValueError. Adding a test for this.
* [tox] Add a "docs" environmentDenis Laxalde2019-07-091-0/+7
| | | | | We use python2 since building the documentation with python3 does not work at the moment.
* [doc] fix sphinx warningsLaurent Peuch2019-07-033-19/+36
|
* [mod] mock kerberos in sphinx to avoid installing itLaurent Peuch2019-06-202-1/+2
|
* [doc] rename doc/ into docs/Laurent Peuch2019-06-2010-0/+0
| | | | readthedocs likes documentation to be in a docS folder.
* [doc] add instructions on how to build the docLaurent Peuch2019-06-191-0/+23
|
* [doc] add instruction on how to install using pypiLaurent Peuch2019-06-191-1/+5
|
* [doc] include README into doc index.rst to avoid duplicationLaurent Peuch2019-06-192-187/+41
|
* [doc] point to the cubicweb-devel mailing list since python-projects seems deadLaurent Peuch2019-06-191-3/+3
|
* [doc] migrate documentation to sphinx using sphinx-apidoc and including READMELaurent Peuch2019-05-2311-8/+834
| | | | | | | | | | | | The rationnal to do this migration are: * be able to host the documentation on readthedocs.org, right now, according to the README, the user needs to built it locally to be able to read it * epydoc is not maintained anymore * sphinx generally offer a better user experience and allow to write real documentation instead of just generating an API * it was quick to do with sphinx-apidoc and seems worth it to be able to put it online
* Bump debian packagingPhilippe Pepiot2018-10-181-0/+6
|
* Added tag 1.4.2 for changeset 11c1e111da21Denis Laxalde2018-07-060-0/+0
|
* [pkg] Version 1.4.21.4.2Denis Laxalde2018-07-061-1/+1
|
* Use getfullargspec instead of getargspec in python 3Frank Bessou2018-07-061-2/+9
| | | | | | | In python 3 "getargspec" is deprecated and "getfullargspec" is added. The only difference between these two functions is that the "keywords" tuple's field is renamed into "varkw" (which does not impact us in this case).
* [tox] Use py3 environment instead of py34Sylvain Thénault2017-07-061-1/+1
| | | | The former would select any Python 3 interpreter.
* Added tag 1.4.1, debian/1.4.1-1, centos/1.4.1-1 for changeset 096358768ef9Denis Laxalde2017-07-110-0/+0
|
* [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
|