Skip to content
Snippets Groups Projects
  1. Dec 03, 2023
  2. Nov 29, 2023
  3. Nov 16, 2023
  4. Oct 19, 2023
    • Antoine Lambert's avatar
      query_language: Remove hardcoded list of origin visit types · 1dd8e8bb
      Antoine Lambert authored
      There is no easy way to get that list dynamically as the query language
      parser code in C is generated when building the swh-search Python package
      and not at runtime.
      
      So prefer to remove that harcoded list of visit types as it must updated
      each time a new visit type is added in the archive or searching for such
      visit type will fail.
      1dd8e8bb
  5. Sep 06, 2023
    • Antoine Lambert's avatar
      tests: Remove unittest use and migrate to pytest · 3a8b3990
      Antoine Lambert authored
      Remove test cases inheritance of unittest.TestCase in order to benefit
      from all pytest features like fixtures and parametrize.
      
      Migrate tests setup and teardown to pytest style.
      
      Remove no longer needed hypothesis use.
      3a8b3990
  6. Jul 21, 2023
    • Antoine Lambert's avatar
      setup.py: Fix editable install with setuptools >= 64 · ff807565
      Antoine Lambert authored
      The way editable installs are handled by setuptools has changed since
      release >= 64 and the custom develop command in setup.py is no longer
      called. As a consequence, the tree-sitter parser code generation was
      no longer executed when performing an editable install and runtime
      error was raised when executing the swh-search backend.
      
      So use proper way to handle editable install with latest setuptools and
      ensure backward compatibility with older versions.
  7. Jul 07, 2023
  8. Jun 28, 2023
  9. Feb 26, 2023
  10. Feb 17, 2023
  11. Feb 16, 2023
  12. Feb 02, 2023
  13. Dec 19, 2022
  14. Oct 18, 2022
  15. Oct 10, 2022
  16. Oct 07, 2022
  17. Sep 15, 2022
  18. Sep 12, 2022
  19. Jul 19, 2022
  20. Jul 18, 2022
  21. May 05, 2022
  22. Apr 26, 2022
  23. Apr 25, 2022
  24. Apr 21, 2022
  25. Apr 08, 2022
  26. Apr 07, 2022
  27. Apr 06, 2022
  28. Mar 28, 2022
  29. Mar 22, 2022
    • Antoine Lambert's avatar
      pytest: Exclude build directory for tests discovery · d273b070
      Antoine Lambert authored
      Due to test modules being copied in subdirectories of the
      build directory by setuptools, it makes pytest fail by raising
      ImportPathMismatchError exceptions when invoked from root
      directory of the module.
      
      So ignore the build folder to discover tests.
      d273b070
  30. Mar 03, 2022
  31. Feb 16, 2022
Loading