| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
I also added this branch to https://github.com/GoogleCloudPlatform/google-cloud-python/ temporarily to vet the AppVeyor changes: |
Sorry, something went wrong.
|
What's prompting this change? This is essentially switching to grpc as a hard requirement for this library. @omaray should probably chime in, too. |
Sorry, something went wrong.
|
@jonparrott I touched an old part in #2304 that sparked the discussion. gRPC is already a hard requirement in Python 2.7. Very soon it won't be in google-cloud, it'll be in google-cloud-bigtable, google-cloud-pubsub, etc. so it's not that worrisome. I just wanted your input on the env. var. to shut it down. |
Sorry, something went wrong.
|
Any dynamic behavior in setup.py will force you to stop providing wheels Otherwise whatever. App engine standard really just needs to add grpc On Mon, Sep 12, 2016, 6:33 PM Danny Hermes notifications@github.com wrote:
|
Sorry, something went wrong.
How so? |
Sorry, something went wrong.
|
Wheels don't run setup.py at all. On Mon, Sep 12, 2016, 6:40 PM Danny Hermes notifications@github.com wrote:
|
Sorry, something went wrong.
|
@jonparrott So your concern is that setup.py wouldn't be invoked by someone trying to install into a GAE environment? Worth noting: I canceled the travis-ci/push check since it came from creating a branch. Though in reality I only created the branch for the AppVeyor check. |
Sorry, something went wrong.
|
But for the purposes of you writing docs, couldn't you include --no-use-wheel or --no-binary? This discussion may become moot when we make each service it's own package? But for services like pubsub and logging, gRPC should be the default unless it can't be, so we'll probably add gRPC as a dependency in google-cloud-pubsub, etc. Any suggestions for how to play nice with everyone (GAE, using wheels, etc.)? |
Sorry, something went wrong.
|
Just be sure to publish an sdist as well as a wheel for now. I really have no idea what our strategy is going to be for standard. |
Sorry, something went wrong.
|
@jonparrott SGTM, I'll tear out the env. var. and we can punt for now. |
Sorry, something went wrong.
|
I deleted the branch and AppVeyor didn't trigger on my new push w/o the GAE env. var. https://ci.appveyor.com/project/GoogleCloudPlatform/google-cloud-python/build/1.0.664.followup-2304 still a good indicator that the changes work on Windows |
Sorry, something went wrong.
|
|
||
| if sys.version_info[:2] == (2, 7) and 'READTHEDOCS' not in os.environ: | ||
| REQUIREMENTS.extend(GRPC_EXTRAS) | ||
| RTD_ENV_VAR = 'READTHEDOCS' |
|
I'm confused: aren't we losing our can't-install-gRPC fallback here? |
Sorry, something went wrong.
|
@tseaver What is our "our can't-install-gRPC fallback"? |
Sorry, something went wrong.
|
@dhermes Until this PR, installing gcloud-python without also installing gcloud-python[grpc] still allows use of all of the APIs except Bigtable. On platforms where those extras cannot be installed for some reason, the library is still useful: even Dubsub, Datastore, and Logging fall back to using HTTP. With this change, users who cannot install grpcio and the GAX wrappers will no longer be able to install the library. GAE is the obvious case, but maybe users on older LTS releases will have the same issues. |
Sorry, something went wrong.
|
Sorry, something went wrong.
|
LGTM. I'll let @jonparrott deal with the pitchfork-wielding GAE mob, then. :) |
Sorry, something went wrong.
Co-authored-by: Victor Chudnovsky <vchudnov@google.com>
PR created by the Librarian CLI to initialize a release. Merging this PR will auto trigger a release. Librarian Version: v0.7.0 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:c8612d3fffb3f6a32353b2d1abd16b61e87811866f7ec9d65b59b02eb452a620 <details><summary>google-cloud-bigquery: 3.39.0</summary> ## [3.39.0](googleapis/python-bigquery@v3.38.0...v3.39.0) (2025-12-12) ### Features * adds support for Python runtime 3.14 (#2322) ([6065e14c](googleapis/python-bigquery@6065e14c)) * Add ExternalRuntimeOptions to BigQuery routine (#2311) ([fa76e310](googleapis/python-bigquery@fa76e310)) ### Bug Fixes * remove ambiguous error codes from query retries (#2308) ([8bbd3d01](googleapis/python-bigquery@8bbd3d01)) * include `io.Base` in the `PathType` (#2323) ([b11e09cb](googleapis/python-bigquery@b11e09cb)) * honor custom `retry` in `job.result()` (#2302) ([e118b029](googleapis/python-bigquery@e118b029)) ### Documentation * remove experimental annotations from GA features (#2303) ([1f1f9d41](googleapis/python-bigquery@1f1f9d41)) </details> Co-authored-by: Daniel Sanche <d.sanche14@gmail.com>
Context: internal issue b/445984807 comment 10.
PR created by the Librarian CLI to initialize a release. Merging this PR will auto trigger a release. Librarian Version: v0.7.0 Language Image: us-central1-docker.pkg.dev/cloud-sdk-librarian-prod/images-prod/python-librarian-generator@sha256:c8612d3fffb3f6a32353b2d1abd16b61e87811866f7ec9d65b59b02eb452a620 <details><summary>bigframes: 2.30.0</summary> ## [2.30.0](google/bigframes@v2.29.0...v2.30.0) (2025-12-03) ### Features * Support mixed scalar-analytic expressions (#2239) ([20ab469d](google/bigframes@20ab469d)) * Allow drop_duplicates over unordered dataframe (#2303) ([52665fa5](google/bigframes@52665fa5)) * Preserve source names better for more readable sql (#2243) ([64995d65](google/bigframes@64995d65)) * use end user credentials for `bigframes.bigquery.ai` functions when `connection_id` is not present (#2272) ([7c062a68](google/bigframes@7c062a68)) * pivot_table supports fill_value arg (#2257) ([8f490e68](google/bigframes@8f490e68)) * Support builtins funcs for df.agg (#2256) ([956a5b00](google/bigframes@956a5b00)) * add bigquery.json_keys (#2286) ([b487cf1f](google/bigframes@b487cf1f)) * Add agg/aggregate methods to windows (#2288) ([c4cb39dc](google/bigframes@c4cb39dc)) * Add bigframes.pandas.crosstab (#2231) ([c62e5535](google/bigframes@c62e5535)) * Implement single-column sorting for interactive table widget (#2255) ([d1ecc61b](google/bigframes@d1ecc61b)) ### Bug Fixes * Pass credentials properly for read api instantiation (#2280) ([3e3fe259](google/bigframes@3e3fe259)) * Update max_instances default to reflect actual value (#2302) ([4489687e](google/bigframes@4489687e)) * Improve Anywidget pagination and display for unknown row counts (#2258) ([508deae5](google/bigframes@508deae5)) * Fix issue with stream upload batch size upload limit (#2290) ([6cdf64b0](google/bigframes@6cdf64b0)) * calling info() on empty dataframes no longer leads to errors (#2267) ([95a83f77](google/bigframes@95a83f77)) * do not warn with DefaultIndexWarning in partial ordering mode (#2230) ([cc2dbae6](google/bigframes@cc2dbae6)) ### Documentation * update docs and tests for Gemini 2.5 models (#2279) ([08c0c0c8](google/bigframes@08c0c0c8)) * Add Google Analytics configuration to conf.py (#2301) ([0b266da1](google/bigframes@0b266da1)) * fix LogisticRegression docs rendering (#2295) ([32e53134](google/bigframes@32e53134)) * update API reference to new `dataframes.bigquery.dev` location (#2293) ([da064397](google/bigframes@da064397)) * use autosummary to split documentation pages (#2251) ([f7fd2d20](google/bigframes@f7fd2d20)) </details>
| Back | FazBrowse Home | New Git URL |
Adding support for an environment variable that App Engine users can use to disable installing gRPC packages into their application.
Follow-up to #2304.
@jonparrott Can you weigh in here on the GAE env. var. in setup.py?