- 05 Jan, 2021 4 commits
-
-
Simon Chabot authored
-
Simon Chabot authored
-
Simon Chabot authored
-
Simon Chabot authored
- TypedDict is provided by the typing module for python >= 3.8 - TypedDict is provided by the typing_extensions module for typing_extensions >= 3.7.4 but this module is not available as debian buster package. - mypy does not support condition types defined like that: ``` if CONDITION: type = Dict else: type = TypedDict ``` and therefore it's not possible to conditionally declare the type. but… it does support checks with python version or system platform (cf: https://mypy.readthedocs.io/en/stable/common_issues.html#python-version-and-system-platform-checks). Let's import TypedDict from typing when it's available (python >= 3.8), and use it. Otherwise, let's use a simple dict. related #9
-
- 17 Dec, 2020 7 commits
-
-
Noé Gaumont authored
-
Noé Gaumont authored
-
Noé Gaumont authored
-
Katia Saurfelt authored
fix([debian]): python3-logilab-common: debian-changelog-file-contains-invalid-email-address schabot@wilson
-
Katia Saurfelt authored
-
Katia Saurfelt authored
-
Noé Gaumont authored
-
- 01 Dec, 2020 1 commit
-
-
Laurent Peuch authored
-
- 22 Oct, 2020 2 commits
-
-
Simon Chabot authored
-
Simon Chabot authored
-
- 09 Oct, 2020 1 commit
-
-
Laurent Peuch authored
-
- 21 Oct, 2020 1 commit
-
-
Laurent Peuch authored
-
- 09 Oct, 2020 1 commit
-
-
Laurent Peuch authored
-
- 25 Aug, 2020 1 commit
-
-
Laurent Peuch authored
-
- 30 Sep, 2020 1 commit
-
-
Laurent Peuch authored
-
- 26 Aug, 2020 2 commits
-
-
Laurent Peuch authored
-
Laurent Peuch authored
-
- 22 Jul, 2020 1 commit
-
-
Laurent Peuch authored
-
- 20 Jul, 2020 1 commit
-
-
Chris Lamb authored
-
- 07 Jul, 2020 1 commit
-
-
Laurent Peuch authored
-
- 22 May, 2020 1 commit
-
-
Laurent Peuch authored
It breaks CW because CW was using class_deprecated in a isinstance to select the good views to uses.
-
- 11 Jun, 2020 1 commit
-
-
Simon Chabot authored
for python < 3.6 those two types are not defined. In case of import error, let's define them (in the exact same way they are defined in the re module of python >= 3.7).
-
- 29 May, 2020 1 commit
-
-
Noé Gaumont authored
-
- 10 Jun, 2020 2 commits
-
-
Henri Cazottes authored
-
Henri Cazottes authored
-
- 05 Jun, 2020 3 commits
-
-
Laurent Peuch authored
-
Laurent Peuch authored
-
Laurent Peuch authored
Otherwise donc cachedproperty.__doc__ returns "property" and not the expected docstring.
-
- 29 May, 2020 1 commit
-
-
Laurent Peuch authored
-
- 27 May, 2020 2 commits
-
-
Laurent Peuch authored
-
Laurent Peuch authored
-
- 20 May, 2020 3 commits
-
-
Laurent Peuch authored
-
Laurent Peuch authored
functools.wraps was breaking the behavior of LazyObject because it tried to access attributes of the LazyObject that triggers an import which could sometime fails in this situation where some modules are marked as deprecated but aren't imported yet. For example see https://forge.extranet.logilab.fr/cubicweb/cubicweb/blob/3.24.0/cubicweb/schemas/__init__.py#L51
-
Laurent Peuch authored
-
- 23 May, 2020 1 commit
-
-
Laurent Peuch authored
-
- 22 May, 2020 1 commit
-
-
Simon Chabot authored
(removed in 46942c92b211)
-