- 02 Apr, 2020 9 commits
-
-
Laurent Peuch authored
-
Laurent Peuch authored
-
Laurent Peuch authored
-
Laurent Peuch authored
-
Laurent Peuch authored
-
Laurent Peuch authored
-
Laurent Peuch authored
-
Laurent Peuch authored
-
Laurent Peuch authored
-
- 13 May, 2020 1 commit
-
-
Laurent Peuch authored
-
- 11 Dec, 2019 1 commit
-
-
Laurent Peuch authored
-
- 07 Nov, 2019 6 commits
-
-
Philippe Pepiot authored
Drop debian from sdist Include missing test files and tox.ini in sdist
-
Philippe Pepiot authored
Require python>=3 using setuptools python_requires and add "Programming Language :: Python :: 3 :: Only" specifier. Also drop py2 specific code in __pkginfo__
-
Philippe Pepiot authored
-
Philippe Pepiot authored
This packaging only work for python2 and we're going to drop python2 support. I don't have an rpm build environment and I don't known how to test this, so just drop the spec file and let someone revive this if needed.
-
Philippe Pepiot authored
-
Philippe Pepiot authored
-
- 13 Jun, 2019 2 commits
-
-
Denis Laxalde authored
-
Denis Laxalde authored
-
- 11 Jun, 2019 1 commit
-
-
Denis Laxalde authored
-
- 30 May, 2019 1 commit
-
-
Jérémy Bobbio (Lunar) authored
In order to get the tests in the source Debian package we need to ship them in the Python package. That's why we turn the 'test' directory into a Python package and remove the explicit ignore from `setup.py`. The tests themselves will install PostgreSQL and MariaDB. They are thus marked `isolation-container` and need at least the the lxc autopkgtest runner to be started.
-
- 03 Jun, 2019 1 commit
-
-
Jérémy Bobbio (Lunar) authored
We clean up most of debian/rules by using dh-python properly. Tests are best skipped at build time because they require running database to be meaningful. They will be implemented using autopkgtest.
-
- 28 May, 2019 1 commit
-
-
Denis Laxalde authored
-
- 21 May, 2019 1 commit
-
-
Denis Laxalde authored
-
- 17 May, 2019 2 commits
-
-
Denis Laxalde authored
-
Denis Laxalde authored
-
- 16 May, 2019 1 commit
-
-
Denis Laxalde authored
This follows-up on changeset 9f2071ae3b26 (2013) in which this COUNTDISTINCT function got introduced to replace COUNT(X, True) usage (deprecated since version 1.10). Unfortunately, the implementation is buggy as it uses the "name" attribute of the COUNTDISTINCT class to generate the equivalent SQL and there exists no COUNTDISTINCT keyword in SQL. I think the intended implementation is to convert COUNTDISTINCT(X) into COUNT(DISTINCT X) instead (as this is done in the backward-compatibility layer in COUNT.as_sql()). There is no test for all this unfortunately.
-
- 22 Mar, 2019 2 commits
-
-
Denis Laxalde authored
-
Denis Laxalde authored
-
- 05 Jun, 2018 1 commit
-
-
Denis Laxalde authored
When all tests are run together, the "sqlite" adapter may have already been initialized by another test. So test_only_one_lazy_module_initialization will break on its first assertion. Following review discussion, there appears to be no simple way to handle this so we mark the test as expected failure so that it does not break in CI environment (or tox) but it might still succeed when unittest_sqlite.py is run independently.
-
- 04 Jun, 2018 9 commits
-
-
Denis Laxalde authored
In a downstream project (cubicweb-rememberme), we get into this convert_timedelta() function with a bytes value on Python 3. So all string operations (.split()) will fail if their argument is not bytes as well. So use bytes literal in every place needed in this function.
-
Denis Laxalde authored
Could not get pytest working, so fall back to unittest discover, still better than lgc's pytest.
-
Denis Laxalde authored
-
Denis Laxalde authored
-
Denis Laxalde authored
This test (as far as I understand) checks for registration of functions by a backend helper. It used mysql helper to detect unregistered functions but there's nothing specific to mysql in this process, so we now use sqlite instead.
-
Denis Laxalde authored
In logilab-common, pytest executable got renamed as logilab-pytest. Until we get rid of lgc, at least use the proper executable name. Handle posargs along the way.
-
Denis Laxalde authored
Who cares about MySQL nowadays? More seriously, this dependency requires compile-time mysql libraries/executable and I have no time to investigate how to set this up (especially in a CI environment).
-
Denis Laxalde authored
-
Denis Laxalde authored
The former will work with any Python 3 version.
-
- 22 Dec, 2015 1 commit
-
-
Rémi Cardona authored
-