Skip to content
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

Support oauth2client 1.5.1 #211

Closed
wants to merge 2 commits into from
Closed

Support oauth2client 1.5.1 #211

wants to merge 2 commits into from

Conversation

polyzen
Copy link

@polyzen polyzen commented Oct 2, 2015

My placing a harddepend on oauthclient<=1.4.12 was keeping gcalcli users on Arch Linux from completely upgrading their systems. gcalcli as-is doesn't work as old_run is completely removed from oauth2client 1.5.1. A simple workaround is in-place.

I've only tested gcalcli agenda a bit; no issues so far. If there's a specific test I can do, please let me know.

Relevant issues/pr's: #204 #123 #165

Daniel M. Capella added 2 commits October 2, 2015 16:55
old_run has been completely removed in oauth2client 1.5.1.
googleapis/oauth2client#285
@tresni
Copy link
Collaborator

tresni commented Oct 2, 2015

That actually doesn't give full functionality when doing authentication. It is a patch that should preserve working setups but it means the necessary parameters are never passed back to the Google API. If you look at the argparse-over-flags branch you can see what a total fix entails ;)

We are aware that this is not ideal, but to make sure it works all the time for everyone this is the option until I merge that branch.

Sent from my iPhone

On Oct 2, 2015, at 5:53 PM, Daniel M. Capella notifications@github.com wrote:

My placing a harddepend on oauthclient<=1.4.12 was keeping gcalcli users on Arch Linux from completely upgrading their systems. gcalcli as-is doesn't work as old_run is completely removed from oauth2client 1.5.1. A simple workaround is in-place.

I've only tested gcalcli agenda a bit; no issues so far. If there's a specific test I can do, please let me know.

Relevant issues/pr's: #204 #123 #165

You can view, comment on, or merge this pull request online at:

#211

Commit Summary

Unpin oauth2client version
Replace run with run_flow
File Changes

M gcalcli (4)
M setup.py (2)
Patch Links:

https://github.com/insanum/gcalcli/pull/211.patch
https://github.com/insanum/gcalcli/pull/211.diff

Reply to this email directly or view it on GitHub.

@polyzen polyzen closed this Oct 2, 2015
@tresni
Copy link
Collaborator

tresni commented Oct 3, 2015

I would say that it should continue to work like normal. The only time I saw an issue was when I tried a new authentication. But I have a fairly set pattern of usage and there aren't any unit tests to prove that nothing else broke so YMMV.

Sent from my iPhone

On Oct 2, 2015, at 7:23 PM, Daniel M. Capella notifications@github.com wrote:

I did peak at the changes, but there are quite a lot of them ;p

Does this mean that if someone has already logged in and doesn't change their Google credentials, everything else will continue to work?


Reply to this email directly or view it on GitHub.

@polyzen
Copy link
Author

polyzen commented Oct 3, 2015

Thank you :)

uqs pushed a commit to freebsd/freebsd-ports that referenced this pull request Jul 30, 2016
gcalcli requires a dependency on oauth2client <= 1.4.12 to work
correctly, as higher versions replaced the run() method with run_flow().

The version of oauth2client in ports is 2.2.0 at the time of writing.

Fixes for the issue [1][2][3] have been submitted upstream in multiple
cases, although upstream has closed them as duplicates of a refactor
issue [4] that is yet to be committed/resolved.

This commit commits the proposed change in issue #229 [2].

While I'm here:

* Explicitly specify (and limit) supported Python versions to -2.x
* Add python to CATEGORIES
* Group, re-order and sort USE{s}, NO_* and files/plist sections
* Capitalize OPTIONS descriptions

[1] insanum/gcalcli#211
[2] insanum/gcalcli#229
[3] insanum/gcalcli#244
[4] insanum/gcalcli#165

PR:		206045
Submitted by:	Lawrence Chen <beastie tardisi com>
Approved by:	portmgr (maintainer timeout, 6+ months)
MFH:		2016Q3


git-svn-id: svn+ssh://svn.freebsd.org/ports/head@419306 35697150-7ecd-e111-bb59-0022644237b5
uqs pushed a commit to freebsd/freebsd-ports that referenced this pull request Jul 30, 2016
gcalcli requires a dependency on oauth2client <= 1.4.12 to work
correctly, as higher versions replaced the run() method with run_flow().

The version of oauth2client in ports is 2.2.0 at the time of writing.

Fixes for the issue [1][2][3] have been submitted upstream in multiple
cases, although upstream has closed them as duplicates of a refactor
issue [4] that is yet to be committed/resolved.

This commit commits the proposed change in issue #229 [2].

While I'm here:

* Explicitly specify (and limit) supported Python versions to -2.x
* Add python to CATEGORIES
* Group, re-order and sort USE{s}, NO_* and files/plist sections
* Capitalize OPTIONS descriptions

[1] insanum/gcalcli#211
[2] insanum/gcalcli#229
[3] insanum/gcalcli#244
[4] insanum/gcalcli#165

PR:		206045
Submitted by:	Lawrence Chen <beastie tardisi com>
Approved by:	portmgr (maintainer timeout, 6+ months)
MFH:		2016Q3
uqs pushed a commit to freebsd/freebsd-ports that referenced this pull request Jul 30, 2016
gcalcli requires a dependency on oauth2client <= 1.4.12 to work
correctly, as higher versions replaced the run() method with run_flow().

The version of oauth2client in ports is 2.2.0 at the time of writing.

Fixes for the issue [1][2][3] have been submitted upstream in multiple
cases, although upstream has closed them as duplicates of a refactor
issue [4] that is yet to be committed/resolved.

This commit commits the proposed change in issue #229 [2].

While I'm here:

* Explicitly specify (and limit) supported Python versions to -2.x
* Add python to CATEGORIES
* Group, re-order and sort USE{s}, NO_* and files/plist sections
* Capitalize OPTIONS descriptions

[1] insanum/gcalcli#211
[2] insanum/gcalcli#229
[3] insanum/gcalcli#244
[4] insanum/gcalcli#165

PR:		206045
Submitted by:	Lawrence Chen <beastie tardisi com>
Approved by:	portmgr (maintainer timeout, 6+ months)

Approved by:	ports-secteam (blanket)
uqs pushed a commit to freebsd/freebsd-ports that referenced this pull request Dec 2, 2016
gcalcli requires a dependency on oauth2client <= 1.4.12 to work
correctly, as higher versions replaced the run() method with run_flow().

The version of oauth2client in ports is 2.2.0 at the time of writing.

Fixes for the issue [1][2][3] have been submitted upstream in multiple
cases, although upstream has closed them as duplicates of a refactor
issue [4] that is yet to be committed/resolved.

This commit commits the proposed change in issue #229 [2].

While I'm here:

* Explicitly specify (and limit) supported Python versions to -2.x
* Add python to CATEGORIES
* Group, re-order and sort USE{s}, NO_* and files/plist sections
* Capitalize OPTIONS descriptions

[1] insanum/gcalcli#211
[2] insanum/gcalcli#229
[3] insanum/gcalcli#244
[4] insanum/gcalcli#165

PR:		206045
Submitted by:	Lawrence Chen <beastie tardisi com>
Approved by:	portmgr (maintainer timeout, 6+ months)

Approved by:	ports-secteam (blanket)
uqs pushed a commit to freebsd/freebsd-ports that referenced this pull request Apr 1, 2021
gcalcli requires a dependency on oauth2client <= 1.4.12 to work
correctly, as higher versions replaced the run() method with run_flow().

The version of oauth2client in ports is 2.2.0 at the time of writing.

Fixes for the issue [1][2][3] have been submitted upstream in multiple
cases, although upstream has closed them as duplicates of a refactor
issue [4] that is yet to be committed/resolved.

This commit commits the proposed change in issue #229 [2].

While I'm here:

* Explicitly specify (and limit) supported Python versions to -2.x
* Add python to CATEGORIES
* Group, re-order and sort USE{s}, NO_* and files/plist sections
* Capitalize OPTIONS descriptions

[1] insanum/gcalcli#211
[2] insanum/gcalcli#229
[3] insanum/gcalcli#244
[4] insanum/gcalcli#165

PR:		206045
Submitted by:	Lawrence Chen <beastie tardisi com>
Approved by:	portmgr (maintainer timeout, 6+ months)

Approved by:	ports-secteam (blanket)
svmhdvn pushed a commit to svmhdvn/freebsd-ports that referenced this pull request Jan 10, 2024
gcalcli requires a dependency on oauth2client <= 1.4.12 to work
correctly, as higher versions replaced the run() method with run_flow().

The version of oauth2client in ports is 2.2.0 at the time of writing.

Fixes for the issue [1][2][3] have been submitted upstream in multiple
cases, although upstream has closed them as duplicates of a refactor
issue [4] that is yet to be committed/resolved.

This commit commits the proposed change in issue #229 [2].

While I'm here:

* Explicitly specify (and limit) supported Python versions to -2.x
* Add python to CATEGORIES
* Group, re-order and sort USE{s}, NO_* and files/plist sections
* Capitalize OPTIONS descriptions

[1] insanum/gcalcli#211
[2] insanum/gcalcli#229
[3] insanum/gcalcli#244
[4] insanum/gcalcli#165

PR:		206045
Submitted by:	Lawrence Chen <beastie tardisi com>
Approved by:	portmgr (maintainer timeout, 6+ months)
MFH:		2016Q3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants