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


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

Re: python-socketio x gevent-socketio

Path csiph.com!3.eu.feeder.erje.net!feeder.erje.net!weretis.net!feeder7.news.weretis.net!news.mixmin.net!aioe.org!bofh.it!news.nic.it!robomod
From Benjamin Drung <benjamin.drung@cloud.ionos.com>
Newsgroups linux.debian.maint.python
Subject Re: python-socketio x gevent-socketio
Date Thu, 18 Jul 2019 11:10:01 +0200
Message-ID <ylaAh-Ko-3@gated-at.bofh.it> (permalink)
References <x16L7-71N-1@gated-at.bofh.it>
X-Mailbox-Line From debian-python-request@lists.debian.org Thu Jul 18 09:03:20 2019
Old-Return-Path <benjamin.drung@cloud.ionos.com>
X-Amavis-Spam-Status No, score=-1.463 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SARE_MSGID_LONG40=0.637] autolearn=no autolearn_force=no
X-Policyd-Weight NOT_IN_SBL_XBL_SPAMHAUS=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .ionos. - helo: .mail-ed1-x530.google. - helo-domain: .google.) FROM/MX_MATCHES_HELO(DOMAIN)=-2; rate: -5.5
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloud.ionos.com; s=google; h=message-id:subject:from:to:date:in-reply-to:references:user-agent :mime-version:content-transfer-encoding; bh=tTfVfdrGir3QeKzifIvPop9HDElgiSnmZXdndkEYN+8=; b=fEDITOQdADfIBrMoPp948b8SmFm8wQZHEU7xqqne7xvrL31+j82X4m/W2lOYzxeco/ 2LZ+2mWlLaHuIe1gXTJ1vlNUOqLbkK55jEq4pU28WCuNqwNmRSyIofvNUgmjlEWNrfNx y3SWJmlS8RRDXH2hPsIcWARYlbA1kPKFRn3CoDcUEOaDaPfE0fnlYXhWNZqD2EblK8ie GTGAJWMummpyggNyrC5FsuoOFaDHtz8g8nHZM5Bdlj6pcZhy+MlgA8TqpZT4iH/yaaA3 FSkWk0vCRuDcHfRyDeozm37SWjFT1wsBNcqYeSfGBJOgZAvBkpbJt3xdMNkRbb++eCvb KKww==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:subject:from:to:date:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=tTfVfdrGir3QeKzifIvPop9HDElgiSnmZXdndkEYN+8=; b=snkZoYaEMbhu9LSBjoB3CVJBbVuqsKRDXCn2Oi1k4Xei5D/BjnpPdgiPFLulgC+2sm pkbZfVnrFajIWL7JreUXwLcp/RhA+zfh7QaBIEvE9UKgp0Q8C74jHHvUV6IREPDDDHFI u6F6qJmJMPBp6333JOljmjoL/aGBRajUmNONpSzDPVYS732PXMWCNvMONRbjEHY6LUD3 k5Jsu3UqJJQvX/d29mYfdi4gmI5I73kelVvsH0flKlknHvhwlS9iPtcT4aw/uK3L0qM7 FELm5ZtQ4zwRQYvfU5GtNnyNSwydABhOD6UwxEN6roTLTTqS7uByCTMwHpO6oWtQ5y+Y 6omQ==
X-Gm-Message-State APjAAAUfyiDyPixOjf5zK6jyyT2KBobkv5wZ2PgkU1C3LQgwtHvfoRGd 8B8rgcvMu0ZD4OU5VJjbuMR1CZAw2BE=
X-Google-SMTP-Source APXvYqw69t2MTtMw8GsF3/aKVuWywINONIRyTAjm5AbZleRDhwUoD90MGxRhiKr0W77ICUTbGJ8hqg==
X-Received by 2002:a17:906:a350:: with SMTP id bz16mr35613416ejb.296.1563439631706; Thu, 18 Jul 2019 01:47:11 -0700 (PDT)
Content-Type text/plain; charset="UTF-8"
User-Agent Evolution 3.32.1-2
MIME-Version 1.0
Content-Transfer-Encoding 7bit
X-Mailing-List <debian-python@lists.debian.org> archive/latest/16983
List-ID <debian-python.lists.debian.org>
List-URL <https://lists.debian.org/debian-python/>
List-Archive https://lists.debian.org/msgid-search/b7f3aebb5f232e60a3b46e5266ad0f4eb1f27ede.camel@cloud.ionos.com
Approved robomod@news.nic.it
Lines 73
Organization linux.* mail to news gateway
Sender robomod@news.nic.it
X-Original-Date Thu, 18 Jul 2019 10:47:10 +0200
X-Original-Message-ID <b7f3aebb5f232e60a3b46e5266ad0f4eb1f27ede.camel@cloud.ionos.com>
X-Original-References <1677696cc83.b8b1539a207318.4322597877992178719@phls.com.br>
Xref csiph.com linux.debian.maint.python:11488

Show key headers only | View raw


Hi,

I orphaned gevent-websocket and William Grzybowski took over this
package. Therefore taking him into the loop.

Am Montag, den 03.12.2018, 22:20 -0200 schrieb Paulo Henrique Santana:
> 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

IMO the best solution is to work together with upstream to resolve the
Python namespace conflict. Then both packages use different paths in
/usr/lib/python3/dist-packages and can be installed and used in
parallel.

-- 
Benjamin Drung
System Developer
Debian & Ubuntu Developer

1&1 IONOS Cloud GmbH | Greifswalder Str. 207 | 10405 Berlin | Germany
E-mail: benjamin.drung@cloud.ionos.com | Web: www.ionos.de

Head Office: Berlin, Germany
District Court Berlin Charlottenburg, Registration number: HRB 125506 B
Executive Management: Christoph Steffens, Matthias Steinberg, Achim
Weiss

Member of United Internet

Back to linux.debian.maint.python | Previous | Next — Previous in thread | 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