-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add python 3.4 #580
Add python 3.4 #580
Conversation
Shouldn't merge until we fix the 'regression3' failures. |
How do the non-Python 3 supported deps work with this? |
I notice
Didn't we bend over backwards to avoid locally disabled lint errors in our code? Tools should serve us, not the other way around? The |
@@ -102,7 +101,7 @@ def _parse_path(path_args): | |||
id_or_name_list += (partial_ending,) | |||
|
|||
result = [] | |||
for kind, id_or_name in izip(kind_list, id_or_name_list): | |||
for kind, id_or_name in zip(kind_list, id_or_name_list): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Unit tests are all passing (rebase is a great way to "lose" bugfixes, BTW).
@craigcitro, do you have oauth2client actually running against the backend under Py3k (using the |
@tseaver sadly, no, no one's had the time to set up integration tests for oauth2client and python3. there is an open PR that may be relevant: googleapis/oauth2client#104 ... if that would/does fix your issue, that would be interesting to know. cc @anthmgoogle |
@craigcitro, neither googleapis/oauth2client#104 nor jcgregorio/httplib2#291 make the regression tests pass under Py3k. :( |
@tseaver :( ... can you grab a stack trace and file an issue against oauth2client? |
thanks @tseaver ! |
@dhermes remarked:
I'm not sure what you mean? @dhermes PTAL: I'd like to merge soonish to avoid chasing rebase pain forever, even if |
@tseaver Reviewing now. I agree we should focus on this before anything else to avoid more rebase pain. Let's not merge anything else until this is in; don't let me forget. I assume we can merge but can't endorse until the issues in https://github.com/google/oauth2client are resolved. |
environ = {_DATASET_ENV_VAR_NAME: implicit_dataset_id} | ||
return _Monkey(os, getenv=environ.get) | ||
|
||
def _monkeyImplicit(self, connection=None, app_identity=None): |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
Overall the change looks fine (I made some comments):
|
- Pin protobuf == 3.0.0-alpha1 - Clarify text vs. bytes in upload / download as string, in response bodies, in 'bytes_field' proto values (e.g. 'transaction'). - Add a copy of the protobuf spec file and regenerate protobuf wrapper with 'protoc' 3.0.0-alpha1. - Transaction ID must be bytes. - Straddle 'range', 'native' strings. URL quoting / encoding / parsing. integer division, 'httplib'. - Pre-apply changes from /craigcitro/apitools#15. We will need to reload the files once Craig makes a new release (or even better, remove the vendoring). - Work around missing 'contextlib.nested' in Py3k. - Disable lint's failed attempt to import 'six.moves'. See: https://bitbucket.org/logilab/pylint/issue/200/ etc. - Add support for regression testing w/ Python 3.4. Note that these tests are currently *failing* due to googleapis/oauth2client#125
Now squashed.
I tried, and didn't see failures. https://travis-ci.org/GoogleCloudPlatform/gcloud-python/builds/49500349 passes without it (I'm pretty sure it doesn't reuse environments). 0e99cea updates it just in case.
This isn't a "sharp corner" due to a difference of opinion, it is a known bug in pylint. Please see this
Yes, and I envision regenerating it whenever we pick up new versions of
Cool.
I'd really like them to get 3.0.0 to a "final" release, or at least a feature-frozen / API stable beta: I'm uncomfortable with us depending so strongly on an alpha. |
RE: The "3.0.0-alpha1 -> 3.0.0-alpha-1" rename, when running locally I got HTTP 404s. Maybe Travis has a local mirror of PyPI? RE: I wasn't trying to say the sharp corner was about opinion, rather about the tool cutting us if we hold it the wrong way (due to issues with
I don't think any of the "solutions" are pleasing (including using At any rate, keeping out |
@tseaver Let's punt on the |
|
FWIW, the quote I saw linked was,
Which doesn't mean that we aren't in a "smelly" place (straddling sucks). |
I did see @brettcannon trying to get some traction on https://bitbucket.org/logilab/pylint/issue/200 |
So |
@brettcannon Cool, only we are using it for automating more general style checks. Until the disabling comments on the |
Running https://gist.github.com/dhermes/d193bf8e9a14f24d8750 results in
So this isn't quite what I had hoped but instead is as Brett said:
Worth knowing but doesn't fix our use of the |
This is known to break I followed the issue so hopefully at some point they fix it and we can ditch the |
…le.com/agent-assist/docs/summarization) (#580) * feat: Add Agent Assist Summarization API (https://cloud.google.com/agent-assist/docs/summarization) docs: clarify SuggestionFeature enums which are specific to chat agents PiperOrigin-RevId: 477479918 Source-Link: googleapis/googleapis@6deca98 Source-Link: googleapis/googleapis-gen@b23d242 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYjIzZDI0MmM1YzVkZWI3Y2U2ZjRhN2Y3MTg2MmEzMTE1NTUwNjliZCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
Default 'tox' all passes with this branch, including 'py34'.
Notes: