aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python
Commit message (Collapse)AuthorAge
* Merge pull request #13479 from ↵Gravatar Nathaniel Manista2017-11-21
|\ | | | | | | | | nathanielmanistaatgoogle/certificate-configuration Avoid abbreviation in Python API.
| * Avoid abbreviation in Python APIGravatar Nathaniel Manista2017-11-21
| | | | | | | | | | I should have requested this during code review of bcf083fa9099e5c919 but it slipped my mind.
* | Alter health/reflection packages' build criterionGravatar Mehrdad Afshari2017-11-20
| | | | | | | | | | | | | | | | | | | | Using the presence of the `*_pb2_grpc` module, as opposed to the absence of the build script (`*_commands` module) is a problematic choice, because even if a generated file is present, the test infrastructure may want to regenerate it under a different environment (e.g. different Python/proto package version). This will ensure the protos always get recompiled if we have a `*_commands` module present, signaling we are in a build environment, thereby making the process hermetic.
* | Merge pull request #13406 from nathanielmanistaatgoogle/interop_required_argsGravatar Nathaniel Manista2017-11-20
|\ \ | | | | | | Require port and server_port interop flags.
* \ \ Merge pull request #13188 from cauthu/python-server-cert-reloadGravatar Nathaniel Manista2017-11-20
|\ \ \ | | |/ | |/| Add Python support for server SSL certificate reloading.
| * | Add Python support for server SSL cert reloadingGravatar Giang Nguyen2017-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, a secure server is configured with SSL credentials during initialization, and those credentials will be used for the lifetime of the server. If the user wants the server to use new credentials, the user has to restart the server, resulting in server downtime. This change enables the user to optionally configure the server with a "certificiate config fetcher," such that on every new client connection, the server will call the config fetcher before performing the handshake, allowing the user application to optionally specify new certificate configuration for the server to use (the fetcher can return a "no change" and the server continues to use its current certificate configuration).
* | | Merge pull request #13335 from ncteisen/inline-closureGravatar Noah Eisen2017-11-16
|\ \ \ | | | | | | | | Inline Closure
* | | | Fix grpcio_{health_checking,reflection} packagingGravatar Mehrdad Afshari2017-11-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The previous packaging structure exhibited strange behavior of slowness when trying to use pip to install grpcio-reflection or grpcio-health-checking in a single line with grpcio-tools. The root cause seems to be the complicated interaction between pip and setuptools and the fact that we ship a single .tar.gz "source" archive for `grpcio_reflection` and `grpcio_health_checking` packages. `pip` tries to build this "source" package, and our build process wants to generate code for the `.proto` files in the package. However, we have already processed the `.proto` files into `_pb2.py` files in our artifact build process, and installing `grpcio_tools` to get `grpcio_{reflection,health_checking}` seems excessive. The behavior gets worse since `setuptools`, while building the package from source, tries to fetch `grpcio_tools` from source and build that too. This takes a while, since it involves compiling a bunch of native code from `protobuf` and `grpc` and requires a C compiler to boot. This commit modifies the Python artifact for the two packages so that they will not include the raw `.proto` files in the distribution uploaded to PyPI, nor would they contain the Python module that does the preprocessing code generation from the respective .proto files. Instead, a specific code path is taken when the generated `_pb2_grpc` Python module is not present in the package to provide such functionality when built from the gRPC git repository (and hence when built from our CI infrastructure.)
| | | * Require port and server_port interop flagsGravatar Nathaniel Manista2017-11-15
| |_|/ |/| | | | | | | | Also sort arguments to ArgumentParser.add_argument in idiomatic order.
| * | Merge branch 'master' of https://github.com/grpc/grpc into inline-closureGravatar Noah Eisen2017-11-13
| |\ \ | |/ / |/| |
* | | Correct HEALTH_PROTO to REFLECTION_PROTOGravatar Mehrdad Afshari2017-11-13
| | |
| * | Inline closureGravatar ncteisen2017-11-12
|/ /
* | Merge pull request #13106 from Vizerai/census_updateGravatar Jim King2017-10-31
|\ \ | | | | | | Cleaning up census code.
* \ \ Merge pull request #12732 from y-zeng/connectivity_watcherGravatar Yuchen Zeng2017-10-30
|\ \ \ | | | | | | | | Client channel backup poller
| * | | Use backup pollser instead of connectivity watcherGravatar Yuchen Zeng2017-10-30
| | | |
| * | | convert connectivity_watcher to cpp fileGravatar Yuchen Zeng2017-10-30
| | | |
| * | | Add client channel connectivity watcherGravatar Yuchen Zeng2017-10-30
| | |/ | |/|
| | * Cleaning up census code.Gravatar Vizerai2017-10-23
| |/
* | Merge remote-tracking branch 'upstream/master' into pick_first_subchannel_listGravatar Mark D. Roth2017-10-12
|\|
* | Refactor subchannel_list code out of RR and use it in PF.Gravatar Mark D. Roth2017-10-06
| |
| * FixesGravatar Craig Tiller2017-10-06
| |
| * Merge github.com:grpc/grpc into flowctl+millisGravatar Craig Tiller2017-10-05
| |\ | |/ |/|
| * Merge github.com:grpc/grpc into flowctl+millisGravatar Craig Tiller2017-10-05
| |\
* | \ Merge branch 'master' into externCGravatar Yash Tibrewal2017-10-03
|\ \ \ | | |/ | |/|
* | | Rebasing on master for easier merging and testingGravatar Yash Tibrewal2017-10-02
| | |
| * | Update version to 1.8.0-dev, update g word to 'generous'Gravatar murgatroid992017-10-02
| | |
* | | Trying ken's fix for windows pythonGravatar Yash Tibrewal2017-10-02
| | |
* | | Running generate projectsGravatar Yash Tibrewal2017-10-02
| | |
* | | Reverting pb.c files for now. Also fixing few more build errorsGravatar Yash Tibrewal2017-10-02
| | |
* | | Changes for C to C++. Adding extern C to header files for compatibility.Gravatar Yash Tibrewal2017-10-02
| | | | | | | | | | | | Also converting to .cc
* | | Changes for C to C++. Adding extern C to header files for compatibility.Gravatar Yash Tibrewal2017-10-02
|/ /
| * Merge github.com:grpc/grpc into flowctl+millisGravatar Craig Tiller2017-09-29
| |\ | |/ |/|
* | Merge pull request #12765 from nathanielmanistaatgoogle/cythonGravatar Nathaniel Manista2017-09-29
|\ \ | | | | | | Devolve staticmethod to ordinary function.
* \ \ Merge pull request #12374 from markdroth/plugin_credentials_api_fixGravatar Mark D. Roth2017-09-29
|\ \ \ | | | | | | | | Change plugin credentials API to support both sync and async modes
| | * | Devolve staticmethod to ordinary functionGravatar Nathaniel Manista2017-09-29
| |/ / |/| |
* | | "resopnse" typo correctionGravatar Nathaniel Manista2017-09-28
| | |
* | | Drop unused staticmethodsGravatar Nathaniel Manista2017-09-28
| | |
* | | Raise exception instances rather than classesGravatar Nathaniel Manista2017-09-28
| | |
| * | Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fixGravatar Mark D. Roth2017-09-28
| |\ \ | |/ / |/| |
* | | Be a tad more specific requesting error reportsGravatar Mehrdad Afshari2017-09-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit is a rebase of an old contribution with minor formatting edits (cf. https://github.com/grpc/grpc/pull/8663) [Original Author] Masood Malekghassemi <atash@google.com> Date: Mon Nov 7 14:49:09 2016 -0800 Contributor is a Xoogler and the contribution is owned by Google Inc. as per the copyright assignment agreement with the original author, as it was drafted during their employment with Google Inc.
| * | Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fixGravatar Mark D. Roth2017-09-25
| |\ \ | |/ / |/| |
* | | Merge pull request #12399 from muxi/fix-stream-compression-transport-duplicateGravatar Muxi Yan2017-09-22
|\ \ \ | | | | | | | | Fix stream compression transport duplicate
| | | * Merge github.com:grpc/grpc into flowctl+millisGravatar Craig Tiller2017-09-21
| | | |\ | |_|_|/ |/| | |
* | | | Merge pull request #12666 from nathanielmanistaatgoogle/grpc_1_0_flagGravatar Nathaniel Manista2017-09-21
|\ \ \ \ | | | | | | | | | | Clean up even more uses of gRPC in _pb2.py files.
| * | | | Clean up even more uses of gRPC in _pb2.py filesGravatar Nathaniel Manista2017-09-21
| | | | |
| | | | * Merge github.com:grpc/grpc into grpc_millisGravatar Craig Tiller2017-09-20
| | | | |\ | |_|_|_|/ |/| | | |
| | | | * Merge github.com:grpc/grpc into grpc_millisGravatar Craig Tiller2017-09-19
| | | | |\
* | | | | | Fix cython definition to match c definitionGravatar Ken Payson2017-09-19
| |_|_|_|/ |/| | | | | | | | | | | | | | | | | | | This is required to compile with Cython options that are more strict about const correctness.
| | * | | Merge remote-tracking branch 'upstream/master' into ↵Gravatar Muxi Yan2017-09-19
| | |\ \ \ | |_|/ / / |/| | | | | | | | | fix-stream-compression-transport-duplicate
* | | | | Merge pull request #12622 from dgquintas/1.6.x-master-upmergeGravatar David G. Quintas2017-09-18
|\ \ \ \ \ | | | | | | | | | | | | 1.6.x master upmerge