Path: csiph.com!aioe.org!bofh.it!news.nic.it!robomod From: Paulo Henrique Santana Newsgroups: linux.debian.maint.python Subject: Re: python-socketio x gevent-socketio Date: Tue, 11 Dec 2018 15:30:02 +0100 Message-ID: References: X-Mailbox-Line: From debian-python-request@lists.debian.org Tue Dec 11 14:29:37 2018 Old-Return-Path: X-Amavis-Spam-Status: No, score=-7 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, LDO_WHITELIST=-5, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no X-Policyd-Weight: using cached result; rate: -7 Arc-Seal: i=1; a=rsa-sha256; t=1544538559; cv=none; d=zoho.com; s=zohoarc; b=JM93MQOzyBw2d1lzRY5kFlDoObcQkSD4sUEmH/E4qWFHo1lq5SSLr4i2/GYVLT0QelroLWDDCcTSQ0tfdooNvkWLki/r5UmxJmwXWfOK2uHjOKhloZ/JtkK1hnoTH41djQKvaZl9JVkhB7TaKuTxPUnQe+NtCdhp+894Z61jwMU= Arc-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1544538559; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To:ARC-Authentication-Results; bh=aD5mWdihiNs78rDg2FmvY3+KpOqe6jk3XFkxLj3XFfE=; b=esVQbinLZ3eL+CSwIEBsUuSZAqr+Gx/Hr25KCKDxCNxbFh4TzmRuXOxBtEtSE5emicJlS1Tge3/xXh4ICl208rdQ9tlOcjX+L5emMpiJN4sQiP8sf6SgiwPe7QSaTr9H1AKEssMYu7IL2nIBaII74mYfEU/Q3BQ4R5K2XEIYXDw= Arc-Authentication-Results: i=1; mx.zoho.com; dkim=pass header.i=phls.com.br; spf=pass smtp.mailfrom=paulo@phls.com.br; dmarc=pass header.from= header.from= MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Zoho Mail X-Mailer: Zoho Mail X-Mailing-List: archive/latest/16605 List-ID: List-URL: List-Archive: https://lists.debian.org/msgid-search/1679dac0edf.d11f243f273317.6568854697026777399@phls.com.br Approved: robomod@news.nic.it Lines: 66 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Tue, 11 Dec 2018 12:29:18 -0200 X-Original-Message-ID: <1679dac0edf.d11f243f273317.6568854697026777399@phls.com.br> X-Original-References: <1677696cc83.b8b1539a207318.4322597877992178719@phls.com.br> Xref: csiph.com linux.debian.maint.python:11159 Hello, Any opinion about my issue below? Best regards, > A while ago I packaged [1] a software named Flask-SocketIO [2].=20 > It depends of other software named python-socketio, and I could find thi= s package on Debian that time [3]. In fact this package is gevent-socketio = software [4].=20 > =20 > But as you can see in this bug reported [5], Flask-SocketIO can't use ge= vent-socketio. =20 > =20 > From flask_socketio/__init__.py:=20 > if gevent_socketio_found:=20 > print('The gevent-socketio package is incompatible with this = version of '=20 > 'the Flask-SocketIO extension. Please uninstall it, and= then '=20 > 'install the latest version of python-socketio in its p= lace.')=20 > sys.exit(1)=20 > =20 > The upstream (Miguel) that developed Flask-SocketIO has developed other = python-socketio [6].=20 > So, I throught to package this python-socketio from Miguel to close the = Flask-SocketIO bug.=20 > =20 > gevent-socketio seems to be stoped since 2016 and it does not seem to be= update to Python 3. When I install it, it is under the tree:=20 > /usr/lib/python2.7/dist-packages/socketio=20 > =20 > My package with python-socketio (from Miguel) uses namespace "socketio" = too, and it would be under the tree:=20 > /usr/lib/python3/dist-packages/socketio=20 > =20 > So. what is a good a solution to this?=20 > Keep my python-socketio on Python3 tree and gevent-socketio on Python2.7= ?=20 > Use Conflicts field to force the user to remove gevent-socketio before i= nstall python-socketio?=20 > Or other solution?=20 > =20 > [1] https://tracker.debian.org/pkg/flask-socketio=20 > [2] https://github.com/miguelgrinberg/Flask-SocketIO=20 > [3] https://tracker.debian.org/pkg/gevent-socketio=20 > [4] https://pypi.org/project/gevent-socketio/#files=20 > [5] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D879631=20 > [6] http://github.com/miguelgrinberg/python-socketio=20 =20 ----- Paulo Henrique de Lima Santana (phls)=20 Curitiba - Brasil=20 Debian Maintainer Diretor do Instituto para Conserva=C3=A7=C3=A3o de Tecnologias Livres Membro da Comunidade Curitiba Livre Site: http://www.phls.com.br=20 GNU/Linux user: 228719 GPG ID: 0443C450 Organizador da DebConf19 - Confer=C3=AAncia Mundial de Desenvolvedores(as) = Debian Curitiba - 21 a 28 de julho de 2019 http://debconf19.debconf.org