orakaro / rainbowstream

A smart and nice Twitter client on terminal written in Python.
https://github.com/orakaro/rainbowstream
MIT License
3.54k stars 260 forks source link

Cannot update via pip to 1.3.8 #260

Open HoughIO opened 6 years ago

HoughIO commented 6 years ago

On launch-

RainbowStream latest version is 1.3.8 while your current version is 1.3.7 You should upgrade with pip install -U rainbowstream

But the package doesn't have the update here: https://pypi.python.org/pypi/rainbowstream

Can we bump the version here?

xxKeith20xx commented 6 years ago

just ran the upgrade in a virtualenv and this is the output:

→ pip3 install --upgrade rainbowstream --no-cache-dir Requirement already up-to-date: rainbowstream in ./.virtualenvs/rainbowstream/lib/python3.6/site-packages Requirement already up-to-date: arrow in ./.virtualenvs/rainbowstream/lib/python3.6/site-packages (from rainbowstream) Requirement already up-to-date: twitter in ./.virtualenvs/rainbowstream/lib/python3.6/site-packages (from rainbowstream) Collecting python-dateutil (from rainbowstream) Downloading python_dateutil-2.7.2-py2.py3-none-any.whl (212kB) 100% |████████████████████████████████| 215kB 387kB/s Requirement already up-to-date: requests==2.5.3 in ./.virtualenvs/rainbowstream/lib/python3.6/site-packages (from rainbowstream) Requirement already up-to-date: Pillow in ./.virtualenvs/rainbowstream/lib/python3.6/site-packages (from rainbowstream) Requirement already up-to-date: PySocks in ./.virtualenvs/rainbowstream/lib/python3.6/site-packages (from rainbowstream) Requirement already up-to-date: pyfiglet in ./.virtualenvs/rainbowstream/lib/python3.6/site-packages (from rainbowstream) Requirement already up-to-date: pocket in ./.virtualenvs/rainbowstream/lib/python3.6/site-packages (from rainbowstream) Requirement already up-to-date: six>=1.5 in ./.virtualenvs/rainbowstream/lib/python3.6/site-packages (from python-dateutil->rainbowstream) Installing collected packages: python-dateutil Found existing installation: python-dateutil 2.7.1 Uninstalling python-dateutil-2.7.1: Successfully uninstalled python-dateutil-2.7.1 Successfully installed python-dateutil-2.7.2

pedrolopesme commented 6 years ago
➜  $ pip install rainbowstream==1.3.8
Collecting rainbowstream==1.3.8
  Could not find a version that satisfies the requirement rainbowstream==1.3.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it checking against the Github version rather than the latest version that pip has? https://github.com/orakaro/rainbowstream/blob/7ca6cc4617b36e47c8cb930dca84f019fa1db113/rainbowstream/rainbow.py#L207 Seems like a recipe for sending users on wild goose chases.

Fun fact: The latest version shown on Pypi is 1.3.5 -- version mismatches everywhere! :tada:

micahscopes commented 6 years ago

This is quite frustrating. :crying_cat_face:

HoughIO commented 6 years ago

@orakaro can you update the package?

Nikorasu commented 6 years ago

Please fix this!

orakaro commented 6 years ago

Sorry everyone. The upload process may failed. I will investigate into this

nstr10 commented 6 years ago

I would still recommend that you change the behavior of the update check. Telling users to update when an update is unavailable may cause them to do reprehensible things ("I tried running the command in sudo" #266 ).

orakaro commented 6 years ago

Version updated to 1.3.9 and this should be fixed now.

But there is another bigger problem in Twitter API change herehttps://github.com/orakaro/rainbowstream/issues/271