Re: Python3 -dbg packages

2020-07-07 Thread Dmitry Shachnev
Hi Matthias!

On Mon, Jul 06, 2020 at 08:33:39PM +0200, Matthias Klose wrote:
> Python 3.8 upstream now has a common ABI for normal and debug extension
> builds, so it is technically possible to load a debug extension in
> the normal interpreter, or to load a normal extension in the debug
> interpreter.

Packages from the PyQt5 stack (pyqt5, pyqt5chart, pyqt5webengine, qscintilla2)
have recently started to use PEP 384 limited ABI (the built files are named
*.abi3.so). However, when a debug interpreter is used for build, the build
system disables this feature and builds a normal *.cpython-38d-*.so file:

https://riverbankcomputing.com/hg/sip/file/6169324910f8/sipbuild/buildable.py#l60

Because of this, I decided to still build -dbg versions for these packages.

Do you know how much the -dbg interpreter is compatible with *.abi3.so files?
I just checked, and apparently it can import them, but maybe there is some
benefit in keeping the normal debug versions too?

--
Dmitry Shachnev


signature.asc
Description: PGP signature


Re: Offer to help with packaging

2020-07-07 Thread Pablo Mestre


El 7/1/20 a las 10:58 PM, Nicholas D Steeves escribió:
> []
> If you're committed to packaging python lsp, then set yourself as the
> owner of #96360, and retitle it, replacing "RFP" with "ITP".
>
> If the absence of a python-jsonrpc-server package is a blocker for
> #963605, and you want to work on it, then file an ITP for
> python-jsonrpc-server, set yourself as owner, and also set up a blocks
> relationship between the two bugs.
> []
>   Control: command -1 arguments
>
> "-1" is a convenient alias for the bug number.  For more info, see the
> man bts(1), the server-control documentation, and Developer's Reference:
>
>   https://www.debian.org/doc/manuals/developers-reference/
>
>
> Cheers,
> Nicholas


New ITP submited https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=964497
I hope to finish this package as soon as possible so that the Python IDE
Spyder process can continue to its
latest version.

Regards

Pablo



mismatched-python-substvar ${python3:Depends}

2020-07-07 Thread Pablo Mestre
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 
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



Re: mismatched-python-substvar ${python3:Depends}

2020-07-07 Thread Andrey Rahmatullin
On Wed, Jul 08, 2020 at 03:35:19AM -0300, Pablo Mestre wrote:
> 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.
Py3 packages should be named python3-foo.

-- 
WBR, wRAR


signature.asc
Description: PGP signature