Page MenuHomePhabricator

Update sseclient direct from GitHub repo
Closed, ResolvedPublicBUG

Description

No new version has been released, but a patch to T118 may have been merged to master. https://github.com/btubbs/sseclient

This will take down the upload monitoring functionality for a few moments during the upgrade.

git clone https://github.com/btubbs/sseclient.git
cd sseclient
sudo pip3 install -e .
WARNING: The directory '/home/thesanddoctor/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Obtaining file:///home/thesanddoctor/sseclient
Requirement already satisfied: requests>=2.9 in /usr/local/lib/python3.8/site-packages (from sseclient==0.0.24) (2.23.0)
Requirement already satisfied: six in /usr/local/lib/python3.8/site-packages (from sseclient==0.0.24) (1.14.0)
Requirement already satisfied: idna<3,>=2.5 in /usr/local/lib/python3.8/site-packages (from requests>=2.9->sseclient==0.0.24) (2.8)
Requirement already satisfied: certifi>=2017.4.17 in /usr/local/lib/python3.8/site-packages (from requests>=2.9->sseclient==0.0.24) (2019.11.28)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in /usr/local/lib/python3.8/site-packages (from requests>=2.9->sseclient==0.0.24) (1.25.7)
Requirement already satisfied: chardet<4,>=3.0.2 in /usr/local/lib/python3.8/site-packages (from requests>=2.9->sseclient==0.0.24) (3.0.4)
Installing collected packages: sseclient
  Attempting uninstall: sseclient
    Found existing installation: sseclient 0.0.24
    Uninstalling sseclient-0.0.24:
      Successfully uninstalled sseclient-0.0.24
  Running setup.py develop for sseclient
Successfully installed sseclient

Event Timeline

TheSandDoctor created this task.
TheSandDoctor created this object with visibility "Public (No Login Required)".
TheSandDoctor updated the task description. (Show Details)

That was surprisingly quick. Upgraded and feeder/workers restarted. Total downtime for feeder (component that really matters for keeping up to date) was around 1 second (time it took me to Ctrl + C and then up arrow and hit enter).