aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/python
Commit message (Collapse)AuthorAge
...
* | | 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
* \ \ \ \ \ Merge pull request #12609 from nathanielmanistaatgoogle/grpc_1_0_flagGravatar Nathaniel Manista2017-09-18
|\ \ \ \ \ \ | | |/ / / / | |/| | | | Use grpc_1_0 flag in beta_python_plugin_test.
| | | | | * Merge github.com:grpc/grpc into grpc_millisGravatar Craig Tiller2017-09-18
| | | | | |\ | |_|_|_|_|/ |/| | | | |
| | * | | | Upmerge from v1.6.x branch to masterGravatar David Garcia Quintas2017-09-18
| |/| | | | |/| | | | |
| * | | | | Use grpc_1_0 flag in beta_python_plugin_testGravatar Nathaniel Manista2017-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Beta code elements are not generated at all in _pb2_grpc.py files. This duplicates a lot of the in-test code generation done in _split_definitions_test. In a future clean-up we may want to deduplicate the common behavior, put it in a module available to all other tests, and do all of our testing of generated code with in-test code generation.
* | | | | | Merge pull request #12615 from nathanielmanistaatgoogle/fix_with_metaclass_usageGravatar Nathaniel Manista2017-09-18
|\ \ \ \ \ \ | |/ / / / / |/| | | | | Fix a six.with_metaclass usage mistake.
| * | | | | Fix a six.with_metaclass usage mistakeGravatar Nathaniel Manista2017-09-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I made this mistake in 2010985ab269c8df0443e4f3782cbdffb083e9d4 but only with yesterday's release of six 1.11.0 has it started failing ("TypeError: metaclass conflict: the metaclassof a derived class must be a (non-strict) subclass of the metaclasses of all its bases").
* | | | | | Merge pull request #12602 from nathanielmanistaatgoogle/grpc_1_0_flagGravatar Nathaniel Manista2017-09-17
|\ \ \ \ \ \ | | | | | | | | | | | | | | Overhaul protoc_plugins._split_definitions_test.
| * | | | | | Overhaul protoc_plugins._split_definitions_testGravatar Nathaniel Manista2017-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We were mistaken before when we were testing _pb2.py files being generated in one directory and _pb2_grpc.py files being generated in another directory. Sure, that was a thing our code generator could do, but because of the way paths and packages work in Python it wasn't a realistic use case for actual users. This test now tests _pb2.py files and _pb2_grpc.py files being generated either together or independently of one another, and if independently, in either order. Looking forward to an eventual py_grpc_library Bazel rule, that's what actually matters.
* | | | | | | Merge pull request #12603 from nathanielmanistaatgoogle/python_sanity_testGravatar Nathaniel Manista2017-09-16
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Tweak Python sanity test.
| * | | | | | | Tweak Python sanity testGravatar Nathaniel Manista2017-09-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Move it out of the "unit" package, as it's not itself a unit test. - Suffix the test class with "Test" as we do with every other subclass of unittest.TestCase. - Add a larger-than-we'll-need-any-time-soon maxDiff so that failures are fully described. - Relax the assertion from assertListEqual to assertSequenceEqual since we don't actually care whether or not the sequences being compared are list instances. - Change the order of the assertions arguments to match the "<expected>, <actual>" convention used in our assert*Equal calls elsewhere throughout the test corpus. - Internal implementation simplifications.
* | | | | | | | Merge pull request #12592 from nathanielmanistaatgoogle/grpc_1_0_flagGravatar Nathaniel Manista2017-09-15
|\| | | | | | | | | | | | | | | | | | | | | | | Clean up a few more uses of gRPC code elements in _pb2.py files.
| * | | | | | | Clean up a few more uses of gRPC in _pb2.py filesGravatar Nathaniel Manista2017-09-15
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Were this not done these would break when the default behavior of gRPC Python Protoc Plug-In is changed to be the put-gRPC-code-elements-only- in-_pb2_grpc.py-files behavior that currently happens only when the grpc_2_0 flag is passed.
| | | | * | | Merge remote-tracking branch 'upstream/master' into ↵Gravatar Muxi Yan2017-09-14
| | | | |\ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | fix-stream-compression-transport-duplicate
* / | | | | | Kill (grpcio_tests/)commands.BuildProtoModulesGravatar Nathaniel Manista2017-09-13
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In 1ff429da2a94bc79300ebce3f8aae7efb10e9a75 it appears to have been copied out of src/python/grpcio/commands.py and not used, and it seems to have remained without use since.
| | | | | * Merge github.com:grpc/grpc into grpc_millisGravatar Craig Tiller2017-09-12
| | | | | |\ | |_|_|_|_|/ |/| | | | |
| | * | | | Merge pull request #12504 from jtattermusch/bump_1_6_1Gravatar Jan Tattermusch2017-09-12
| | |\ \ \ \ | | | | | | | | | | | | | | Bump version to 1.6.1
| | | * | | | regenerateGravatar Jan Tattermusch2017-09-12
| | | | | | |
| | | * | | | bump version to 1.6.1Gravatar Jan Tattermusch2017-09-12
| | | | | | |
* | | | | | | Add more Cython-layer testsGravatar Nathaniel Manista2017-09-11
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I wrote these in the course of a bug hunt. I haven't yet caught and fixed the bug, but that's no reason not to check in perfectly good tests. :-)
| | | | * | Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fixGravatar Mark D. Roth2017-09-11
| | | | |\ \ | |_|_|_|/ / |/| | | | |
| | | * | | Merge remote-tracking branch 'upstream/master' into ↵Gravatar Muxi Yan2017-09-11
| | | |\ \ \ | |_|_|/ / / |/| | | | | | | | | | | fix-stream-compression-transport-duplicate
| * | | | | Fix metadata memory leakGravatar Nathaniel Manista2017-09-09
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The gRPC Core has two styles for passing metadata: as an integer count along with a grpc_metadata* pointer, which is used for passing metadata into the core, and as a grpc_metadata_array, which is used for passing metadata out of the core. The Cython layer of gRPC Python was using a single data structure wrapping grpc_metadata_array for both purposes, but this was complex because the core manages the slices contained in grpc_metadata_array objects (at least those of which it is aware), so the Cython layer had to keep track of whether or not the core was aware of the slices it was using (and it was also defective, leaking slices). This is solved by realigning with the Cython layer’s intended design of mirroring as closely as possible in Python the gRPC Core API: we use one structure for passing metadata into the core (what is now called cygrpc.Metadata) and second, different structure for receiving metadata out of the core (what was called cygrpc.Metadata but is now cygrpc.MetadataArray, reflecting that it wraps the core’s grpc_metadata_array). All bug fixes should contain added tests preventing regression but this doesn't because I don't know at this time how to write a does-not-leak test for Python that fits well into our existing body of tests. Phooey. Thanks to Dominik Janků (djanku@email.cz) for investigation and an earlier draft of a solution.
| | | | * MergeGravatar Craig Tiller2017-09-08
| | | | |\ | |_|_|_|/ |/| | | |
| | | * | Merge remote-tracking branch 'upstream/master' into plugin_credentials_api_fixGravatar Mark D. Roth2017-09-08
| | | |\ \
* | | | \ \ Merge branch 'master' of github.com:grpc/grpc into rename_lr_to_pluginGravatar David Garcia Quintas2017-09-07
|\ \ \ \ \ \ | | |_|_|/ / | |/| | | |
| | | | | * Merge github.com:grpc/grpc into grpc_millisGravatar Craig Tiller2017-09-07
| | | | | |\ | | |_|_|_|/ | |/| | | |
| * | | | | Merge pull request #12369 from markdroth/call_combinerGravatar Mark D. Roth2017-09-07
| |\ \ \ \ \ | | | | | | | | | | | | | | Second attempt at call combiner PR
| | | | | * | Build fixesGravatar Ken Payson2017-09-07
| | | | | | |
| * | | | | | Garbage collect experimental pollersGravatar Craig Tiller2017-09-07
| | | | | | |
* | | | | | | s/load_reporting/server_load_reportingGravatar David Garcia Quintas2017-09-06
| | | | | | |
| | | | * | | build_projectGravatar Muxi Yan2017-09-05
| | |_|/ / / | |/| | | |
| * | | | | Merge pull request #11583 from nathanielmanistaatgoogle/grpc_testingGravatar Nathaniel Manista2017-09-05
| |\ \ \ \ \ | | | | | | | | | | | | | | gRPC Python test infrastructure.
| | * | | | | gRPC Python test infrastructureGravatar Nathaniel Manista2017-09-05
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (The server-related third part of it.)
| | | | | * | ChangesGravatar Ken Payson2017-09-01
| | | | | | |
| | | | | * | Change plugin credentials API to support both sync and async modes.Gravatar Mark D. Roth2017-09-01
| | |_|_|/ / | |/| | | |
| | | | | * Merge github.com:grpc/grpc into wcGravatar Craig Tiller2017-09-01
| | | | | |\ | | | | |_|/ | | | |/| |
| | | * | | Revert "Revert "Implement call combiner""Gravatar Mark D. Roth2017-09-01
| | |/ / / | |/| | | | | | | | | | | | | This reverts commit bf19961d0a49b43cb528392efeb4880eeebb9b5e.
| * | | | Merge github.com:grpc/grpc into statsGravatar Craig Tiller2017-08-31
| |\ \ \ \
| | * | | | Revert "Implement call combiner"Gravatar Mark D. Roth2017-08-29
| | | | | |
| * | | | | Merge github.com:grpc/grpc into statsGravatar Craig Tiller2017-08-29
| |\| | | |
| | | | | * Merge github.com:grpc/grpc into grpc_millisGravatar Craig Tiller2017-08-29
| | | | | |\ | | | |_|_|/ | | |/| | |