Commit Graph

491 Commits

Author SHA1 Message Date
Masood Malekghassemi 5260670e00 Merge pull request #4944 from soltanmm/patch
Clean up custom gRPC Python binaries for Linux
2016-02-04 10:30:24 -08:00
Masood Malekghassemi 10509a28c7 Fix Python Windows build 2016-02-04 17:18:18 +01:00
Masood Malekghassemi ab7055a0e7 Format a line 2016-02-04 17:18:18 +01:00
Nicolas "Pixel" Noble 7dc4b7099a Dirty hack to get 32 bits loading in the cython core. 2016-02-04 17:18:17 +01:00
Nicolas "Pixel" Noble e018f9f2e8 Almost there. 2016-02-04 17:18:17 +01:00
Masood Malekghassemi c9c53eeba5 Sundry fixes 2016-02-04 17:18:17 +01:00
Masood Malekghassemi df1e07e5c1 Add shim for Python's gRPC core on Windows 2016-02-04 17:18:11 +01:00
Alistair Veitch 6f2b8993fd merge 2016-02-03 09:02:46 -08:00
Alistair Veitch 85afe71d4c initial commit 2016-02-02 17:58:15 -08:00
Nicolas "Pixel" Noble 89d8ed1b91 Merge branch 'master' of github.com:grpc/grpc into make-ruby-installable
Conflicts:
	BUILD
	Makefile
	binding.gyp
	build.yaml
	gRPC.podspec
	grpc.gemspec
	package.json
	src/python/grpcio/grpc_core_dependencies.py
	templates/Makefile.template
	tools/doxygen/Doxyfile.core.internal
	tools/run_tests/sources_and_headers.json
	vsprojects/vcxproj/gpr/gpr.vcxproj
	vsprojects/vcxproj/gpr/gpr.vcxproj.filters
2016-02-03 01:27:46 +01:00
Alistair Veitch 75d5c0f024 post merge 2016-02-02 09:43:02 -08:00
Craig Tiller 841c726140 Merge github.com:grpc/grpc into sceq 2016-02-02 09:23:22 -08:00
Craig Tiller 4bef7cebe6 Use old memcpy for wrappers 2016-02-02 08:38:43 -08:00
Nicolas "Pixel" Noble 8382829f30 Merge branch 'master' of github.com:grpc/grpc into make-ruby-installable 2016-02-01 20:18:59 +01:00
Craig Tiller f09fb7e4b0 Merge pull request #4979 from nicolasnoble/win32_subprocess
Adding windows support for gpr subprocesses.
2016-02-01 07:35:10 -08:00
Craig Tiller cbc4629c52 Merge pull request #4978 from nicolasnoble/alarming
Fixing, using and testing alarm code.
2016-01-31 18:11:03 -08:00
Craig Tiller 9734b9c355 Merge pull request #4982 from nicolasnoble/census-placeholders
Creating placeholders for missing census functions.
2016-01-31 18:09:47 -08:00
Nicolas "Pixel" Noble cf37cb9f9e Merge branch 'census-placeholders' into make-ruby-installable
Conflicts:
	package.json
	tools/doxygen/Doxyfile.core.internal
2016-01-31 09:34:46 +01:00
Nicolas "Pixel" Noble fa132c2f56 Actually moving this to the proper place. 2016-01-31 09:31:15 +01:00
Nicolas "Pixel" Noble 78825caeeb Merge branch 'win32_subprocess' into make-ruby-installable
Conflicts:
	BUILD
	Makefile
	binding.gyp
	build.yaml
	gRPC.podspec
	grpc.gemspec
	src/python/grpcio/grpc_core_dependencies.py
	tools/run_tests/sources_and_headers.json
	vsprojects/vcxproj/gpr/gpr.vcxproj
	vsprojects/vcxproj/gpr/gpr.vcxproj.filters
2016-01-31 07:08:20 +01:00
Nicolas "Pixel" Noble 4fba286e4d Adding windows support for gpr subprocesses. 2016-01-31 07:00:53 +01:00
Nicolas "Pixel" Noble bf192eff56 Merge branch 'alarming' into make-ruby-installable
Conflicts:
	tools/run_tests/sources_and_headers.json
2016-01-31 06:25:39 +01:00
Nicolas "Pixel" Noble d5d83aa33f Fixing, using and testing alarm code. 2016-01-31 06:21:49 +01:00
Masood Malekghassemi 5080909b4c Pass undiagnosed errors to the user unadulterated 2016-01-30 14:27:28 -08:00
Masood Malekghassemi 097070fe20 Diagnose missing Cython-generated files 2016-01-30 14:26:49 -08:00
Nicolas "Pixel" Noble 9d476392b7 Merge branch 'master' of github.com:grpc/grpc into make-ruby-installable 2016-01-30 21:43:00 +01:00
Nicolas "Pixel" Noble 09121799b0 Removing gpr as a separated library. 2016-01-30 09:34:22 +01:00
Masood Malekghassemi 01ba279fdd Merge pull request #4946 from soltanmm/doctor-calling-doctor
Fix Python diagnostics dying on bad diagnosis
2016-01-30 01:57:17 -05:00
David Garcia Quintas dd18c4a4a3 Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-29 15:05:53 -08:00
Masood Malekghassemi 69a9411cf8 Remove dead Python README.md 2016-01-29 07:40:50 -08:00
Masood Malekghassemi 62cc911188 Fix Python diagnostics dying on bad diagnosis 2016-01-28 14:56:40 -08:00
David Garcia Quintas fb01883859 Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-28 14:39:54 -08:00
Craig Tiller 8c50db09b9 Merge github.com:grpc/grpc into sceq 2016-01-28 11:38:21 -08:00
Masood Malekghassemi ece40b263d Clean up custom gRPC Python binaries for Linux
Adds doc-string to EggNameMixin, renames the custom install flag to make
it a bit clearer that the mechanism isn't necessarily limited to linux
(though certainly we'd like it to be; but that's a decision to be made
at the level of the build system and what is made available on GCS, not
here).
2016-01-28 11:01:19 -08:00
Masood Malekghassemi 86363e540e Merge pull request #4884 from soltanmm/deal-with-it
Enable binary linux distributions for Python
2016-01-27 15:43:43 -08:00
Masood Malekghassemi 154b0eeaa9 Enable binary linux distributions for Python 2016-01-27 14:42:08 -08:00
Nathaniel Manista c1739ea842 Implement three missing face test methods 2016-01-27 18:50:40 +00:00
Nathaniel Manista 6e1dd9ad06 Fix reporting unexpected abortions in event tests
Writing "<format string containing one directive> % <expression>"
instead of "<format string containing one directive> % (<expression>,)"
is always a problem; the particular problem in this case came from
face.Abortion being a subclass of a class created with
collections.namedtuple.
2016-01-27 18:25:36 +00:00
Nathaniel Manista 8fff90d3a9 Drop use of functools.wrap in logging_pool
functools.wrap is only warranted to work with functions and methods but
logging_pool is warranted to work with callable behaviors, so using
functools.wrap has been wrong all along.

The particular incompatibility motivating this correction is that
callable objects do not have a "__name__" attribute.
2016-01-26 21:39:24 +00:00
Nathaniel Manista a847f51c94 Move parallel RPC code to correct test method
In 4a9b1c6988 I mistakenly added statements to test
test_constants.PARALLELISM RPCs made in parallel to the
testSequentialInvocations test method rather than the
testParallelInvocations test method. How embarrassing!
2016-01-26 21:20:58 +00:00
Masood Malekghassemi 5fec8b333a Add missing import
I have no idea how this mistake got through.
2016-01-25 16:16:50 -08:00
Masood Malekghassemi caf164ac54 Merge pull request #4821 from soltanmm/install-doctor
Add compiler error diagnostics to Python setup
2016-01-25 13:04:30 -08:00
Craig Tiller 8b052112f2 Merge github.com:grpc/grpc into sceq 2016-01-25 08:09:23 -08:00
Craig Tiller d8e6f8d4f5 Merge github.com:grpc/grpc into sceq 2016-01-22 19:24:23 -08:00
Masood Malekghassemi 0cc27920f8 Integrate zlib into Python distribution 2016-01-22 16:39:24 -08:00
Masood Malekghassemi 58a1dc2bb3 Add compiler error diagnostics to Python setup 2016-01-22 16:11:33 -08:00
Bogdan Drutu fc65bf07e6 Merge pull request #4750 from a-veitch/tag_set
Census Tag Set API and implementation
2016-01-22 15:34:34 -08:00
Nathaniel Manista ac9e1cbe3d Merge pull request #4830 from soltanmm/going-slightly-mad
Fix broken Python package builds.
2016-01-22 11:44:40 -08:00
Masood Malekghassemi 14a0a93c79 Fix broken Python package builds
I'd been incorrectly using indirection against Cython's build_ext
module.
2016-01-21 20:13:24 -08:00
Nathaniel Manista 4a9b1c6988 Fix a defect in RPC Framework Core
On the service-side, an operation isn't successfully completed with
just the conclusion of transmission to the other side; local ingestion
of the status and code must be completed as well before termination
callbacks are called.
2016-01-21 22:26:05 +00:00
David Garcia Quintas 12fc53f21f Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-20 15:42:17 -08:00
Nathaniel Manista be31d46865 A test of the Cython Channel
This exposes a bug somewhere in how channel connectivity events get
published on completion queues. Investigation remains active.
2016-01-20 00:01:34 +00:00
Craig Tiller b22aeae462 Merge github.com:grpc/grpc into sceq 2016-01-15 21:13:52 -08:00
Craig Tiller 694cf8b0d2 Shared subchannel sketch 2016-01-15 21:13:25 -08:00
Alistair Veitch 0923126cf8 Merge branch 'master' into tag_set 2016-01-15 17:57:56 -08:00
David Garcia Quintas aa9b01c7c0 Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-15 14:19:17 -08:00
Craig Tiller 21c0ebf6d4 Merge pull request #4653 from murgatroid99/release-0_12_master_merge
Release 0 12 master merge
2016-01-14 12:47:37 -08:00
David Garcia Quintas 88447cbbad Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-14 11:38:21 -08:00
Masood Malekghassemi 1d17781795 Check compiler versions at Python setup time 2016-01-14 06:55:06 -08:00
Masood Malekghassemi 59994bcc3e Warn on Python proto module build failure 2016-01-14 06:55:06 -08:00
murgatroid99 a97b531d0f Generated projects again 2016-01-13 11:43:01 -08:00
Alistair Veitch 0f690721bd Move encode/decode API into census.h 2016-01-13 09:08:38 -08:00
David Garcia Quintas 23f28a9b2c Merge branch 'master' of github.com:grpc/grpc into grpclb_api 2016-01-12 15:41:59 -08:00
David Garcia Quintas bcc6d0118b Updated grpc_core_dependencies.py 2016-01-12 10:49:43 -08:00
murgatroid99 3466c4b55d Updated copyrights 2016-01-12 10:26:04 -08:00
Nathaniel Manista 4cdb6247a6 Merge pull request #4457 from soltanmm/plate-tectonics
Include core in Python distribution.
2016-01-12 08:26:52 -08:00
Masood Malekghassemi 387e116fd6 Use BoringSSL for Python gRPC 2016-01-11 11:32:42 -08:00
Masood Malekghassemi 6d2ef17f30 Use default gRPC roots.pem if none provided 2016-01-11 11:32:42 -08:00
Hyunjun Kim 34206222f0 Fix docstring typos in python grpc interfaces 2016-01-08 12:21:18 +09:00
Masood Malekghassemi 0467295ee6 Fail test build if protoc can't be found 2016-01-07 09:43:42 -08:00
Masood Malekghassemi 116982ea89 Include core in Python distribution 2016-01-07 09:43:42 -08:00
jboeuf bbb94bd6fc Merge pull request #4562 from ctiller/ints
Switch to using C99 types for fixed size integers
2016-01-06 12:50:53 -08:00
Masood Malekghassemi 64f10281b0 Merge pull request #4591 from nathanielmanistaatgoogle/protobuf-version
Remove ceiling on required protobuf version
2016-01-05 18:21:13 -08:00
Masood Malekghassemi a4ae4b570c Add tox to Py build-from-source instructions 2016-01-05 13:24:08 -08:00
Masood Malekghassemi 8525354f4f Use stdint for Cython code 2016-01-04 15:46:08 -08:00
Nathaniel Manista 27f62432f5 Remove ceiling on required protobuf version
This is possible now that https://github.com/google/protobuf/issues/855
is fixed (or at least appears to be fixed).
2016-01-04 19:17:09 +00:00
Masood Malekghassemi f872c6aa9f Fix Python test timeouts
We've been assuming that the server upon invoking start was started.
This has been false; invoking start means that the server will
eventually be started, and to make this reliably observable requires
passing control to core.
2015-12-21 13:07:39 -08:00
Masood Malekghassemi 6b09780f1a Fix typo in Python test harness 2015-12-16 23:27:01 -08:00
Masood Malekghassemi b5a1806029 Python version bump 2015-12-14 18:42:26 -08:00
Craig Tiller 46ab778aa0 Merge pull request #4397 from jtattermusch/tv_sec_64bit
Make gpr_timespec platform agnostic.
2015-12-11 13:11:52 -08:00
Jan Tattermusch a6b2c4ce46 Get rid of SSL_CERT_FILE env entirely 2015-12-10 17:09:06 -08:00
Jan Tattermusch 88086373db make gpr_timespec platform agnostic 2015-12-10 15:04:59 -08:00
Masood Malekghassemi 0f1bf32387 Add metadata auth plugin API support 2015-12-07 17:10:55 -08:00
Masood Malekghassemi 25ef5c8fad Unskip cygrpc tests 2015-12-07 17:10:55 -08:00
Masood Malekghassemi ae873a60f5 Remove unnecessary adapter files 2015-12-07 17:10:55 -08:00
Masood Malekghassemi f21dc7edfb Migrate to Cython 2015-12-07 17:10:55 -08:00
Masood Malekghassemi aed42a895e Update Cython gRPC code 2015-12-07 17:10:55 -08:00
Masood Malekghassemi 13ee18261a Use value equality for status codes 2015-12-07 17:10:55 -08:00
Masood Malekghassemi eaa7d203b5 Fix interop Python test invocation
The ideal fix would be to have a tox test command for running the
interop server and client.
2015-12-07 15:52:46 -08:00
Masood Malekghassemi 070b91c3f2 Generate coverage HTML reports for Jenkins 2015-12-04 17:26:07 -08:00
Masood Malekghassemi d00241e65c Use tox 2015-12-04 17:26:07 -08:00
Masood Malekghassemi 7566c9a85d Make Python testing predictable again
This reorganizes the Python code, scraps the current testing
infrastructure, and implements a simple test discovery and run script
based on the standard Python unittest library so we can trust that our
tests are running.
2015-12-03 16:59:14 -08:00
Nathaniel Manista 2533365bf4 Fixes to stub and server lifecycle
Context management is implemented.

Stub deletion now cancels all RPCs immediately.
2015-12-03 00:55:25 +00:00
Nathaniel Manista e0abeeaa6d Migrate _termination_action into _End
For a termination action to properly mark an _End as having stopped it
must clear the _End's _cycle attribute. To be able to do that the
termination action must hold a reference to the _End instance.
Migrating the _termination_action behavior that creates termination
actions into the scope of the _End instance is the best way to afford
the needed instance reference.
2015-12-03 00:45:56 +00:00
Julien Boeuf 232d625a84 Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change 2015-11-17 20:55:13 -08:00
Julien Boeuf 802f6b6724 Merge branch 'master' of https://github.com/grpc/grpc into update_ssl_cert 2015-11-17 18:53:55 -08:00
Jan Tattermusch 7fc77e06ba Merge pull request #4139 from grpc/release-0_11
Merge release-0_11 into master
2015-11-18 00:22:04 +00:00
Julien Boeuf 675b5ce861 Merge branch 'master' of github.com:grpc/grpc into core_creds_api_change 2015-11-17 15:05:45 -08:00
Masood Malekghassemi 7fdfe1afd8 Bandaid over differences in the C API for Python credentials 2015-11-17 13:49:33 -08:00
Julien Boeuf 334314b888 Updating the server1 cert so that it can be used with Go.
The encoding of the issuer field in this cert is now a PRINTABLESTRING
as opposed to UTF8STRING in the previous server1.pem which was causing
the Go issue.

Fixes #4086.
2015-11-09 14:29:14 -08:00