listonjesse
2ae7cf0e03
Auxillary -> Auxiliary
5 years ago
Xiang Dai
e479410564
delete all duplicate empty blanks ( #5758 )
...
Signed-off-by: Xiang Dai <764524258@qq.com>
6 years ago
Yilun Chong
359889bafd
fix python cpp kokoro build
6 years ago
Yilun Chong
14bc658175
fix python cpp kokoro build
6 years ago
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/
7 years ago
Jie Luo
028d6f13ee
Add Python 3.5 3.6
7 years ago
Jie Luo
c2aa26e507
Revert "Drop Python 3.3 from testing & add Python 3.5, 3.6 ( #3512 )" ( #3524 )
...
This reverts commit 703f414ca6
.
7 years ago
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
7 years ago
Jie Luo
b764e67812
Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION for pure python comformance test
8 years ago
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 )
8 years ago
Paul Yang
bc3bff165f
Fix python_cpp test on Mac. Link staticly when building extension, so that the extension doesn't require installing protobuf library. ( #2232 )
8 years ago
Josh Haberman
38bc15552d
Added code to generate XML output file for more granular results.
9 years ago
Josh Haberman
f6153b540a
Work around tox bug.
9 years ago
Josh Haberman
e891c29f9b
Allow conformance test runner to tolerate crashes, and re-enable conformance tests.
9 years ago
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]
9 years ago
Feng Xiao
27b2423d6a
Disable python conformnace tests as well.
...
The testee program crashes on some inputs.
Change-Id: Iab27b80e29b7a56c5bd7cb4724531ecf9bb2823a
9 years ago
Josh Haberman
325392dd61
Conformance test implementation for Python.
9 years ago
Josh Haberman
c3ca920509
Pass $CC environment variable through tox.
9 years ago
Josh Haberman
d8814ed59e
Special-case Clang-only warning flags to Clang.
9 years ago
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
9 years ago
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
9 years ago
Jisi Liu
72bd9c959a
disable tests for python-cpp under py26 as well.
9 years ago
Jisi Liu
f509c7b2f5
disable py2.6 tests for json_format_test
9 years ago
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>
9 years ago
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>
9 years ago
Dan O'Reilly
46969b99ca
Set DYLD_LIBRARY_PATH for OSX
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
3791c8051a
Fix travis build
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
5de2a81b01
Improve tox.ini, install py26 for travis.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
416f001adc
Use tox in travis build. Tweak tox.ini
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
3bdfb4b695
Add some clarifying comments. Remove ez_setup.py.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
9d689692d3
Make testing cpp implementation optional
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
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>
9 years ago
Dan O'Reilly
7013a75b90
Disable py3* in tox
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Dan O'Reilly
981d6bf2f7
Build protobuf files in as part of tox runs.
...
Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
9 years ago
Tres Seaver
f1eae1a168
Test under tox: Python 2.6, 2.7, 3.3, 3.4.
10 years ago