Skip to content

Make setup.py py3 compatible. #158

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 0 commits into from

Conversation

jaitaiwan
Copy link
Contributor

I've done a basic update to the library to begin getting it to be python3 compatible. A lot of upstream projects still rely on this unfortunately and their communities are not willing to change to oauthlib. This will help to prolong the inevitable. This should begin to partially relieve #147

@jaitaiwan
Copy link
Contributor Author

By my testing, these are all the commits necessary for installing (at the very least) on python 3 and the install appears to work in python2.7 still. I'll add any additional commits in a separate pull request if using the lib fails for other reasons. This means that unless the author has their objections, this pull should be ready.

@simplemind93
Copy link

Hello jaitaiwan, Thanks for oauth2 making work with python3. This may be a stupid question but how do I download the comitted version of the setup.py? thanks for the answer

@jaitaiwan
Copy link
Contributor Author

If you're using pip, just go to my forked version of the repository and
copy the link to the zip. Then you just run pip install --upgrade zipfile

On Thu, Jul 3, 2014 at 1:07 AM, Pranav [email protected] wrote:

Hello jaitaiwan, Thanks for oauth2 making work with python3. This may be a
stupid question but how do I download the comitted version of the setup.py?
thanks for the answer


Reply to this email directly or view it on GitHub
#158 (comment)
.

@granda
Copy link

granda commented Aug 22, 2014

Any update on when this can be merged? Any reason why it cannot be?

#147 (comment) did resolve it but it's tedious to do every time.

@jaitaiwan
Copy link
Contributor Author

@granda without updates from the original author, it might be time to use the forked version.

@jirutka
Copy link

jirutka commented Sep 17, 2014

+1

@instantepiphany
Copy link

Please merge this +1

@kilotaras
Copy link

bump

@jaitaiwan
Copy link
Contributor Author

I'd just use python social auth. Once you learn how to navigate the
documents then its easier to put it together. Plus the maintainer is super
friendly and helpful.

Kind Regards,

Daniel J Holmes

On Thu, Nov 27, 2014 at 9:01 PM, Taras Boiko [email protected]
wrote:

bump


Reply to this email directly or view it on GitHub
#158 (comment)
.

@hayd
Copy link

hayd commented Apr 16, 2015

@granda without updates from the original author, it might be time to use the forked version.

This project has not been updated in three years.

see also #142.

@coilysiren
Copy link

ugh :/

@hayd
Copy link

hayd commented Jun 12, 2015

I think the correct library to use is oauthlib: https://oauthlib.readthedocs.org/en/latest/index.html

There should REALLY be a banner at the top of "python-oauth2"'s readme to say a. no longer worked on/supported/PRs not accepted/read b. only for oauth1 (???!). It's a shame that google sends to this repo.

Confusingly another similar project is named https://github.com/wndhydrnt/python-oauth2 !

@jaitaiwan
Copy link
Contributor Author

If someone creates a pull request to do a banner then that might be
accepted and help to fix the issue.

On Fri, 12 Jun 2015 at 15:14 Andy Hayden [email protected] wrote:

I think the correct library to use is oauthlib:
https://oauthlib.readthedocs.org/en/latest/index.html

There should REALLY be a banner at the top of "python-oauth2"'s readme to
say a. no longer worked on/supported/PRs not accepted/read b. only for
oauth1 (???!). It's a shame that google sends to this repo.


Reply to this email directly or view it on GitHub
#158 (comment)
.

@hayd
Copy link

hayd commented Jun 12, 2015

Maybe it'll help to ping @urbanairship (who acquired simplegeo in 2011) or someone there (not sure if github mentions ping the whole team), perhaps someone in the company still has repo access...

I wouldn't hold your breath! Edit: I am holding my breath!

@jaitaiwan
Copy link
Contributor Author

Hey @aalpern I thought I'd tag you here considering you're one of the most active from @urbanairship and you happened to be first on the list. Any chance you can help us to resolve some of the PR's on this repo?

@aalpern
Copy link

aalpern commented Jun 12, 2015

Wow - I had no idea this even existed :) I don't have write access to the repository - I can poke around and see if anyone still here does.

@hayd
Copy link

hayd commented Jun 12, 2015

pypi author/maintainer is @joestump, so if such a banner/message were to be pushed to pypi it would need him to do it? (or edit something in.)

@joestump
Copy link
Owner

joestump commented Jul 6, 2015

Let me know and I can transfer ownership of the repo and of the PyPi package. Who's best to pick up the mantle?

@markunsworth
Copy link

I'd be happy to pick up the mantle on this one.

@joestump
Copy link
Owner

joestump commented Jul 6, 2015

It appears I'm not an admin of this repo anymore. I'm tracking that down at @urbanairship. In the meantime, can @jaitaiwan and @markunsworth get me PyPi usernames so I can bless you two to push new packages?

@markunsworth
Copy link

@joestump - my pypi username is markunsworth

@joestump
Copy link
Owner

joestump commented Jul 6, 2015

@markunsworth I added you as a maintainer.

@jaitaiwan
Copy link
Contributor Author

Hi @joestump, mine is jaitaiwan as well

@joestump
Copy link
Owner

joestump commented Jul 6, 2015

@jaitaiwan I just added you as a PyPi maintainer as well. 👍

@jaitaiwan
Copy link
Contributor Author

Cheers!

@markunsworth
Copy link

thanks joe

@markunsworth
Copy link

@joestump did you get anywhere tracking down an admin/owner of this library?

@jaitaiwan
Copy link
Contributor Author

@markunsworth perhaps we could start by providing a new update to PyPi from a new forked repo? Eventually people will start finding it just from PyPi yeh?

@jaitaiwan
Copy link
Contributor Author

I've just created an obnoxious issue as you can see above to ward off people from creating issues/using this repo for now until we get some responses back. I'm not sure but there may be a way @github could help by allowing someone from urbanairship or even @joestump to take over the repo again.

@jaitaiwan jaitaiwan mentioned this pull request Jul 25, 2015
@joestump
Copy link
Owner

I just pinged my contact at @urbanairship to see if I can get anywhere.

@xamiax
Copy link

xamiax commented Jul 27, 2015

Any chance on including the option to set a custom grant_type into the future base library?
So it would be usable for a wider range of usage.

@jaitaiwan
Copy link
Contributor Author

@xamiax when we determine the official fork, you can do an feature request there. @markunsworth @joestump do you guys have a fork you'd like to use, or did you want to use the one I've got CentricWebEstate/python-oauth2 ? I can add you both as contributors.

@joestump
Copy link
Owner

I've got the repository transferred into my account. Should we go through the PRs and issues here to keep things canonical here? (Also, who would like to be added as contributors?)

@jaitaiwan
Copy link
Contributor Author

Awesome. @joestump sounds good. I'm happy to become a contributor.

@joestump
Copy link
Owner

@jaitaiwan be careful what you wish for! You've been added. I've merged in a few PRs and have CI configured (though Travis has yet to actually build it yet for some reason).

@jaitaiwan
Copy link
Contributor Author

@joestump Travis is generally horrible for building stuff. They have outages every other days because of build failures and delays. I'd personally recommend SemaphoreCI (its free for open source). Also codeship is open source too.

@jaitaiwan
Copy link
Contributor Author

Is this PR good to merge? I can't see any integration showing its passing tests?

@joestump
Copy link
Owner

Looks fine to me. Travis isn't running builds on this for whatever reason; I've pinged them on Twitter. If tests pass locally, I say merge. 👍

@jaitaiwan
Copy link
Contributor Author

@joestump keen on implementing a majority vote for merges similar to Docker's LGTM?

@joestump
Copy link
Owner

@jaitaiwan Well, given we're 2/2 I think we have that. 😆 If anyone else wants to join, I'm all about a majority vote.

@joestump joestump added the PY3K label Jul 29, 2015
This was referenced Jul 29, 2015
@joestump joestump added this to the 2.0 milestone Jul 29, 2015
@joestump joestump mentioned this pull request Jul 29, 2015
@hayd
Copy link

hayd commented Jul 29, 2015

@joestump Thanks for pushing this through, great work!

Travis appears to be building now, but I'm not sure there's a way to trigger old branches/PRs. :(

@joestump
Copy link
Owner

@hayd Sadly, you have to re-push to kick off another build. I'm sure @jaitaiwan will be re-merging with master and pushing soon. In the meantime, I've addressed quite a few bugs and done an audit of all of the PRs. If anyone sees a "Needs Tests" PR and wants to help out, that'd be great. 😂

@joestump joestump mentioned this pull request Jul 29, 2015
@jaitaiwan
Copy link
Contributor Author

@joestump just trolling through all 57 of your updates 👍 brb

@jaitaiwan
Copy link
Contributor Author

This one got closed automatically as I was fixing all the heads etc on my branches. New PR is here: #176

@xamiax
Copy link

xamiax commented Aug 4, 2015

So is this library maintained again? If so, where could I request a feature?

@jaitaiwan
Copy link
Contributor Author

@xamiax yup! We finally got access to it after years of it being unmaintained. Just open an issue and we'll take a look 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.