[devel] IA: sisyphus_check & python modules check

Alexey Gladkov legion на altlinux.ru
Сб Ноя 14 17:47:21 MSK 2020


Приветствую!

В сизиф отправлен sisyphus_check 0.8.61, в котором была уточнена проверка
питоновских модулей:

- 220-check-python:
  + enhance the check whether python2 module packages have python3 requirements;
  + enhance the check whether python3 module packages have python2 requirements;
  + disallow packages containing both python2 and python3 modules;
  + disallow python/python3 module docs containing unrelated files.

теперь она работает точнее:

$ cd /ALT/Sisyphus/files/noarch/RPMS
$ sisyphus_check --no-check=all --check-python . &> ~/noarch.log
$ cut -d: -f2 <~/noarch.log |sort |uniq -c |sort -n
      1  python2 module docs contain unrelated files
      2  package containing python3 modules should not have python2 requirements
      3  python3 module depends on its test subpackage
     20  package with python-module- NAME prefix should contain python2 modules
     20  package with python3-module- NAME prefix should contain python3 modules
     43  package containing python2 modules should have NAME with "python-module-" prefix
     82  python2 module contains unrelated files
    166  package containing python3 modules should have NAME with "python3-module-" prefix
    361  python3 module contains unrelated files
    695  check-python ERROR

$ cd /ALT/Sisyphus/files/x86_64/RPMS
$ sisyphus_check --no-check=all --check-python . &> ~/x86_64.log
$ cut -d: -f2 <~/x86_64.log |sort |uniq -c |sort -n
      1  package containing python2 modules should not have python3 requirements
      1  package containing python3 modules should not have python2 requirements
      1  package contains both python2 and python3 modules
      1  python2 module docs contain unrelated files
      1  python3 module docs contain unrelated files
      3  python3 module depends on its test subpackage
     12  package with python3-module- NAME prefix should contain python3 modules
     16  package with python-module- NAME prefix should contain python2 modules
     21  package containing python2 modules should have NAME with "python-module-" prefix
     42  python2 module contains unrelated files
     62  package containing python3 modules should have NAME with "python3-module-" prefix
     77  python3 module contains unrelated files
    235  check-python ERROR

-- 
Rgrds, legion



Подробная информация о списке рассылки Devel