[go: up one dir, main page]

Page MenuHomePhabricator

Find a new sse client package for EventStreams
Open, Needs TriagePublicFeature

Description

Feature summary:
Find a new sse client package for Eventstreams. Possible options:

  • sseclient-py (most common used)
  • aiohttp-sse-client
  • Support our own sse client which has the benefit that their usage does not depend on a virtual environment installation on toolforge (where sseclient isn't preinstalled)

Reason:
Currently we use sseclient packages for EventStreams but we had to pin its version to < 0.0.23 in rPWBC3babbc5 due to T222885. This packages is not activly maintained and the patch for T222885 (issue 28) is is pending for 3 years and other improvements aren't available. sseclient-py is the most common used client currently.

Event Timeline

Change 983213 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [sse] Use requests_sse instead of unsupported sseclient

https://gerrit.wikimedia.org/r/983213

Overview

clientreleasedateusagePython neededremarks
sseclient0.0.272020-09-258.5 M3.4 - 3.8current requirement
sseclient.py1.8.02023-09-0162.7 M3.5 - 3.11
aiohttp-sse-client0.2.12021-02-273.5 M3.6 - 3.8we don't use asyncio in Pywikibot
aiohttp-sse-client20.3.02023-02-070.2 M3.7 - 3.11we don't use asyncio in Pywikibot
requests-sse0.3.22024-05-060.3 M3.7 - 3.1Some features of sseclient are not supported yet