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

mismatched-python-substvar ${python3:Depends}



Hi

Im start packaging python-jsonrpc-server[1], but im dealing with an
lintian warning thats I dont understand

W: python-jsonrpc-server source: mismatched-python-substvar
python-jsonrpc-server ${python3:Depends}
N:
N:    The specified package declares a dependency on ${python:Depends}
whilst
N:    appearing to be a Python 3.x package or a dependency on
N:    ${python3:Depends} when it appears to be a package for Python 2.x.
N:   
N:    Please adjust the substvar to match the intended Python version.
N:   
N:    Severity: warning
N:   
N:    Check: languages/python


Here my debian/control:

Source: python-jsonrpc-server
Section: python
Priority: optional
Maintainer: Pablo Mestre Drake <pmdcuba@gmail.com>
Build-Depends: debhelper-compat (= 13),
               dh-python,
               python3-setuptools,
               python3-all-dev,
                python3-mock,
               python3-all,
X-Python3-Version: >= 3.8
Standards-Version: 4.5.0
Homepage: https://github.com/palantir/python-jsonrpc-server
Vcs-Browser: https://salsa.debian.org/delMor3no-guest/python-jsonrpc-server
Vcs-Git: https://salsa.debian.org/elMor3no-guest/python-jsonrpc-server.git
Rules-Requires-Root: No

Package: python-jsonrpc-server
Architecture: any
Depends: ${misc:Depends},
         ${python3:Depends},
         ${shlibs:Depends}
Description: JSON-RPC is a stateless, light-weight remote procedure call
(RPC) protocol
 A Python 2.7 and 3.4+ server implementation of
 the JSON RPC 2.0 protocol. This library has been pulled out
 of the Python Language Server project.

I check in diferent python packages and I dont find any solution.

Any idea?

Pablo

[1] https://salsa.debian.org/elMor3no-guest/python-jsonrpc-server


Reply to: