Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.python > #11153

python-socketio x gevent-socketio

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Paulo Henrique Santana <paulo@phls.com.br>
Newsgroups linux.debian.maint.python
Subject python-socketio x gevent-socketio
Date Tue, 04 Dec 2018 01:30:01 +0100
Message-ID <x16L7-71N-1@gated-at.bofh.it> (permalink)
X-Mailbox-Line From debian-python-request@lists.debian.org Tue Dec 4 00:21:12 2018
Old-Return-Path <paulo@phls.com.br>
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 NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .phls. - helo: .sender-of-o52.zoho. - helo-domain: .zoho.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -7
Arc-Seal i=1; a=rsa-sha256; t=1543882854; cv=none; d=zoho.com; s=zohoarc; b=K9mLJsUGCK+FhYEbu7ZDC0nla+nI5K3tqNPzydH32TPwkhlzZGYIToInsX7396SjVw7t8c+5wrHvwO+x+82WDQ8/Y9ZcgQIbQcKj43p9Mp2h/2PHumiZYCR+kVJlfVdn2+5YeM1s7yM0zigUh8LnD3WVuRBPL7CG6+aw/xTF9W8=
Arc-Message-Signature i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1543882854; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To:ARC-Authentication-Results; bh=MsYVBLg9Wasz937Ldi2EmroWEpp0OpfQAu2uCiUaj8U=; b=XDLhDVdaBouxa4lAlZPIIXUMU9fQXDLmfO4iCPatsnNm+NPXoyZ7qgbPCBkOYE+RWd+QMtf56fGfW2Ujw4gzq7K2OE6HzihiSxfr48U+BFquMDNzcFx7dPyWItc+OVneW29LS46yL/mnyKVIe2THjehTWVVr7/oczUZJIEpYIE0=
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=<paulo@phls.com.br> header.from=<paulo@phls.com.br>
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 <debian-python@lists.debian.org> archive/latest/16598
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/1677696cc83.b8b1539a207318.4322597877992178719@phls.com.br
Approved robomod@news.nic.it
Lines 62
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Mon, 03 Dec 2018 22:20:53 -0200
X-Original-Message-ID <1677696cc83.b8b1539a207318.4322597877992178719@phls.com.br>
Xref csiph.com linux.debian.maint.python:11153

Show key headers only | View raw


Hi Python Team and Benjamin, could you give me some orientation to my issue below?

A while ago I packaged [1] a software named Flask-SocketIO [2].
It depends of other software named python-socketio, and I could find this package on Debian that time [3]. In fact this package is gevent-socketio software [4].

But as you can see in this bug reported [5], Flask-SocketIO can't use gevent-socketio. 

  From flask_socketio/__init__.py:
       if gevent_socketio_found:
           print('The gevent-socketio package is incompatible with this version of '
                 'the Flask-SocketIO extension. Please uninstall it, and then '
                 'install the latest version of python-socketio in its place.')
           sys.exit(1)

The upstream (Miguel) that developed Flask-SocketIO has developed other python-socketio [6].
So, I throught to package this python-socketio from Miguel to close the Flask-SocketIO bug.

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:
/usr/lib/python2.7/dist-packages/socketio

My package with python-socketio (from Miguel) uses namespace "socketio" too, and it would be under the tree:
/usr/lib/python3/dist-packages/socketio

So. what is a good a solution to this?
Keep my python-socketio on Python3 tree and gevent-socketio on Python2.7?
Use Conflicts field to force the user to remove gevent-socketio before install python-socketio?
Or other solution?

[1] https://tracker.debian.org/pkg/flask-socketio
[2] https://github.com/miguelgrinberg/Flask-SocketIO
[3] https://tracker.debian.org/pkg/gevent-socketio
[4] https://pypi.org/project/gevent-socketio/#files
[5] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=879631
[6] http://github.com/miguelgrinberg/python-socketio

Best regards,

-----
Paulo Henrique de Lima Santana (phls) 
Curitiba - Brasil 
Debian Maintainer
Diretor do Instituto para Conservação de Tecnologias Livres
Membro da Comunidade Curitiba Livre
Site: http://www.phls.com.br 
GNU/Linux user: 228719  GPG ID: 0443C450

Organizador da DebConf19 - Conferência Mundial de Desenvolvedores(as) Debian
Curitiba - 21 a 28 de julho de 2019
http://debconf19.debconf.org

Back to linux.debian.maint.python | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

python-socketio x gevent-socketio Paulo Henrique Santana <paulo@phls.com.br> - 2018-12-04 01:30 +0100
  Re: python-socketio x gevent-socketio Paulo Henrique Santana <paulo@phls.com.br> - 2018-12-11 15:30 +0100
  Re: python-socketio x gevent-socketio Paulo Henrique Santana <paulo@phls.com.br> - 2018-12-12 00:50 +0100
  Re: python-socketio x gevent-socketio Benjamin Drung <benjamin.drung@cloud.ionos.com> - 2019-07-18 11:10 +0200
    Re: python-socketio x gevent-socketio William Grzybowski <william@grzy.org> - 2019-07-18 14:40 +0200

csiph-web