[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][lintian/lintian][master] Fix false-positive for missing-prerequisite-for-pyproject-backend when the...



Title: GitLab

Russ Allbery pushed to branch master at lintian / lintian

Commits:

  • 8509a3f2
    by Louis-Philippe Véronneau at 2022-12-23T18:04:42+00:00
    Fix false-positive for missing-prerequisite-for-pyproject-backend when the backend is specified as a Build-Depends-Indep. Closes: #1025164
    

4 changed files:

Changes:

  • lib/Lintian/Check/Languages/Python.pm
    ... ... @@ -254,7 +254,7 @@ sub source {
    254 254
                         $self->pointed_hint(
    
    255 255
                             'missing-prerequisite-for-pyproject-backend',
    
    256 256
                             $pointer, $backend,"(does not satisfy $prerequisites)")
    
    257
    -                      if !$build_depends->satisfies($prerequisites);
    
    257
    +                      if !$build_all->satisfies($prerequisites);
    
    258 258
                     }
    
    259 259
                 }
    
    260 260
     
    

  • t/recipes/checks/languages/python/python-wrong-poetry/build-spec/debian/control.in
    ... ... @@ -3,7 +3,8 @@ Priority: optional
    3 3
     Section: python
    
    4 4
     Maintainer: [% $author %]
    
    5 5
     Standards-Version: [% $standards_version %]
    
    6
    -Build-Depends: [% $build_depends %], python3-poetry
    
    6
    +Build-Depends: [% $build_depends %], python3-poetry, pybuild-plugin-pyproject
    
    7
    +Build-Depends-Indep: python3-poetry-core
    
    7 8
     Rules-Requires-Root: no
    
    8 9
     
    
    9 10
     Package: python3-[% $source %]
    

  • t/recipes/checks/languages/python/python-wrong-poetry/build-spec/fill-values
    1 1
     Skeleton: source-native
    
    2 2
     Testname: python-wrong-poetry
    
    3
    -Description: Check packages that build-depend on python3-poetry.
    3
    +Description: Check packages that build-depend on python3-poetry. Also acts as a
    
    4
    + test for packages that have the pyproject dependencies in Build-Depends-Indep.

  • t/recipes/checks/languages/python/python-wrong-poetry/eval/hints
    1 1
     python-wrong-poetry (source): uses-poetry-cli [pyproject.toml:3]
    2
    -python-wrong-poetry (source): missing-prerequisite-for-pyproject-backend poetry.core.masonry.api (does not satisfy python3-poetry-core:any, pybuild-plugin-pyproject:any) [pyproject.toml:3]


  • Reply to: