Xiang Dai
e479410564
delete all duplicate empty blanks ( #5758 )
...
Signed-off-by: Xiang Dai <764524258@qq.com>
2019-02-20 19:28:50 -08:00
Yilun Chong
14bc658175
fix python cpp kokoro build
2018-07-12 16:49:26 -07:00
Jie Luo
610e433888
Drop python2.6
...
Jenkins complains for python 2.6
DEPRECATION: Python 2.6 is no longer supported by the Python core team
ERROR: InvocationError: '/tmp/protobuf/protobuf/python/.tox/py26-cpp/bin/python setup.py -q build_py'
https://grpc-testing.appspot.com/job/protobuf_pull_request/1502/testReport/junit/(root)/python_cpp/python_cpp/
2017-08-22 16:39:26 -07:00
Jie Luo
028d6f13ee
Add Python 3.5 3.6
2017-08-22 15:59:27 -07:00
Jie Luo
c2aa26e507
Revert "Drop Python 3.3 from testing & add Python 3.5, 3.6 ( #3512 )" ( #3524 )
...
This reverts commit 703f414ca6
.
2017-08-18 13:15:06 -07:00
cclauss
703f414ca6
Drop Python 3.3 from testing & add Python 3.5, 3.6 ( #3512 )
...
* Drop Python 3.3 from testing & add Python 3.5, 3.6
Python 3.3 goes [EOL](https://docs.python.org/devguide/index.html#branchstatus ) next month.
* Sync test.sh with the Python versions in tox.ini
2017-08-18 10:14:00 -07:00
Jie Luo
b764e67812
Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION for pure python comformance test
2017-07-17 14:34:54 -07:00
Paul Yang
daba6653f1
Fix python_cpp test on Mac. Link staticly when building extension, so that the extension doesn't require installing protobuf library. ( #2232 )
2016-10-10 11:44:54 -07:00
Josh Haberman
e891c29f9b
Allow conformance test runner to tolerate crashes, and re-enable conformance tests.
2016-01-11 16:15:46 -08:00
Feng Xiao
283c40c897
Require six>=1.9 for Python.
...
We use six sub-modules that aren't available in old versions. Not specifying
this requirement in the setup will lead to much less readable runtime errors.
It's particuarlly problematic for Mac OSX users because the system comes with
an old six version 1.4.1 by default.
[skip ci]
2015-12-29 14:36:46 -08:00
Feng Xiao
27b2423d6a
Disable python conformnace tests as well.
...
The testee program crashes on some inputs.
Change-Id: Iab27b80e29b7a56c5bd7cb4724531ecf9bb2823a
2015-12-21 13:45:55 -08:00
Josh Haberman
325392dd61
Conformance test implementation for Python.
2015-12-02 12:53:42 -08:00
Josh Haberman
c3ca920509
Pass $CC environment variable through tox.
2015-10-28 17:07:02 -07:00
Josh Haberman
d8814ed59e
Special-case Clang-only warning flags to Clang.
2015-10-28 17:07:02 -07:00
Josh Haberman
00700b7219
Removed all warnings from the Python/C++ build.
...
Also made the Travis build ensure that no warnings
are present.
These builds were previously spewing many warnings,
which was hiding warnings for important things like
accidentally using C++11-only features.
Change-Id: I56caeee9db48bc78756a3e8d7c14874630627037
2015-10-28 17:05:47 -07:00
Jie Luo
2850a98275
fix json_format for python2.6:
...
1, objcect_pair_hook is not supported in python2.6, so duplicated key check is removed in 2.6
2, total_seconds is not suppoted in python2.6, changed to compute seconds directly
2015-10-19 16:25:54 -07:00
Jisi Liu
72bd9c959a
disable tests for python-cpp under py26 as well.
2015-10-06 10:48:57 -07:00
Jisi Liu
f509c7b2f5
disable py2.6 tests for json_format_test
2015-10-05 16:14:50 -07:00
Dan O'Reilly
d9598ca55d
Fix Python 3.4 cpp implementation
...
Fixes the ScalarMapContainer/MessageMapContainer implementations on
Python 3.4, by dynamically allocating their PyTypeObjects using
PyType_FromSpecWithBases, instead of statically allocating them. This is
necessary because Python 3.4+ disallows statically allocating a class
with a dynamically allocated parent.
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
2015-08-31 16:42:31 -04:00
Dan O'Reilly
38eef02aab
Fix metaclass issue on Python 3. Get text handling tests passing on Python 3.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
2015-08-22 13:07:12 -04:00
Dan O'Reilly
46969b99ca
Set DYLD_LIBRARY_PATH for OSX
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
2015-08-21 19:28:18 -04:00
Dan O'Reilly
3791c8051a
Fix travis build
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
2015-08-20 20:49:45 -04:00
Dan O'Reilly
5de2a81b01
Improve tox.ini, install py26 for travis.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
2015-08-20 18:19:56 -04:00
Dan O'Reilly
416f001adc
Use tox in travis build. Tweak tox.ini
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
2015-08-20 15:29:10 -04:00
Dan O'Reilly
3bdfb4b695
Add some clarifying comments. Remove ez_setup.py.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
2015-08-20 13:52:19 -04:00
Dan O'Reilly
9d689692d3
Make testing cpp implementation optional
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
2015-08-16 13:56:25 -04:00
Dan O'Reilly
3083d8cee7
Fix --cpp_implementation test failure. Test both pure Python and cpp implementation in tox.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
2015-08-15 10:07:38 -04:00
Dan O'Reilly
7013a75b90
Disable py3* in tox
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
2015-08-14 23:09:29 -04:00
Dan O'Reilly
981d6bf2f7
Build protobuf files in as part of tox runs.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
2015-08-13 01:24:05 -04:00
Tres Seaver
f1eae1a168
Test under tox: Python 2.6, 2.7, 3.3, 3.4.
2015-01-13 15:58:31 -05:00