- Apr 06, 2022
-
-
Antoine Lambert authored
pytest-postgresql 3.1.3 and pytest-redis 2.4.0 added support for pytest >= 7 so we can now drop the pytest pinning.
-
- Feb 07, 2022
-
-
Antoine R. Dumont authored
Related to T3916
-
- Jun 09, 2021
-
-
Antoine Lambert authored
-
- Feb 02, 2021
-
-
Antoine Lambert authored
Legacy Lister classes from the swh.lister.core mdule are no longer used in swh-lister codebase so it is time to remove them. Also remove lister CLI options related to legacy Lister API. As a consequence, the following requirements are no longer needed: arrow, SQLAlchemy, sqlalchemy-stubs and testing.postgresql. Closes T2442
-
- Jan 20, 2021
-
-
Tenma authored
The new lister has incremental and full listing capability. It can request the Bitbucket API in anonymous and HTTP basic authentication modes. Rate-limiting is not aggressive and is handled.
-
- Nov 23, 2020
-
-
Antoine R. Dumont authored
Without the following, and the new swh.scheduler bump, some dependencies were no longer resolved properly. Related to T2746
-
- Nov 20, 2020
-
-
Antoine R. Dumont authored
instead of pytest-postgresql which is a transitive dependency from swh.core[db] Related to T2746
-
- Jul 09, 2020
-
-
Nicolas Dandrimont authored
-
- Oct 28, 2019
-
-
Stefano Zacchiroli authored
-
- Sep 03, 2019
-
-
David Douard authored
Listers are declared as plugins via the `swh.workers` entry_point. As such, the registry function is expected to return a dict with the `task_modules` field (as for generic worker plugins), plus: - `lister`: the lister class, - `models`: list of SQLAlchemy models used by this lister, - `init` (optionnal): hook (callable) used to initialize the lister's state (typically, create/initialize the database for this lister). If not set, the default implementation creates database tables (after optionally having deleted exisintg ones) according to models declared in the `models` register field. There is no need for explicitely add lister task modules in the main `conftest` module, but any new/extra lister to be tested must be registered (the tested lister module must be properly installed in the test environment). Also refactor a bit the cli tools: - add support for the standard --config-file option at the 'lister' group level, - move the --db-url to the 'lister' group, - drop the --lister option for the `swh lister db-init` cli tool: initializing (especially with --drop-tables) the database for a single lister is unreliable, since all tables are created using a sibgle MetaData (in the same namespace).
-
- Jan 16, 2019
-
-
David Douard authored
pytest<4 because of https://github.com/pytest-dev/pytest/issues/4641
-
- Oct 30, 2018
-
-
David Douard authored
-
- Oct 30, 2017
-
-
Nicolas Dandrimont authored
-