ryanmcgrath / twython

Actively maintained, pure Python wrapper for the Twitter API. Supports both normal and streaming Twitter APIs.
http://stackoverflow.com/questions/tagged/twython
MIT License
1.85k stars 397 forks source link

Python 2.x support #533

Closed jvanasco closed 3 years ago

jvanasco commented 4 years ago

It looks like you killed Python 2.x support a few months back.

michaelhelmick commented 4 years ago

Hm. I’ll double check this and try and clean that up soon! Sorry about that!

Sent from my iPhone

On Jun 3, 2020, at 5:04 PM, Jonathan Vanasco notifications@github.com wrote:

 It looks like you killed Python 2.x support a few months back.

it would be great to note in docs that this is Python3+ as of 3.8.0 ; some of us have legacy apps still running! setup.py still points to a python2 classifier, which should be removed as PyPi/etc gets populated with that. — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

tumbleweedlabs commented 4 years ago

Any update on this? I'm trying to install Twython on a clean raspberry pi OS lite build and getting no love. Tried PIP, Easy Install, and building from source.

jvanasco commented 4 years ago

@tumbleweedlabs this ticket is for updating some classifiers (and human text) to say Twython no longer works with Python 2.7.x -- as they mark the project supporting Python27 on PyPi but it no longer does.

If you need to run it on Python 2.7.x, the last version that works AFAIK is 3.7.0. I'm using that in a py27 production environment

pip install twython==3.7.0
porcupinenick commented 4 years ago

I can confirm that the above command works!

chrstphrchvz commented 3 years ago

Does #534 fix this issue?

jvanasco commented 3 years ago

I don't think that PR will be accepted - this project purposefully decided to drop Python2.x support.

That was not handled fully though.

This issue to to remove this line:

https://github.com/ryanmcgrath/twython/blob/master/setup.py#L45

And have the readme updated to reflect the last version that is supported under Python2.7 (release 3.7)

ryanmcgrath commented 3 years ago

This should be cleaned up and the README includes a note regarding the last 2.7 release.