Adam Cozzette
0400cca323
Integrated internal changes from Google
7 years ago
Bo Yang
b5fbb742af
Bump version number to 3.5.2
7 years ago
Bo Yang
2ea2ad2089
Fix setup.py for windows build.
7 years ago
Jie Luo
e34ec6077a
Only check filenames when end with .py in _CalledFromGeneratedFile() ( #4262 )
...
* Cython's stack does not have .py file name. Only check filenames when end with .py for _CalledFromGeneratedFile()
7 years ago
Yilun Chong
aca6c15598
Fix some bug
7 years ago
Jisi Liu
8fc40b5502
Fix uploading binary wheel.
...
The script now takes two prompt for user name and password. One single
input redirection no longer works.
7 years ago
Jisi Liu
7ad8e7ad59
Disable pip cache when testing uploaded packages
...
Otherwise, pip complains "cannot find a version satisfies the
requirement." I suspect it was due to caching issues. I usued to
manually add a `sleep 30` between the upload and the installation test
which is quite unstable.
7 years ago
Jisi Liu
050fc9a437
Update version number to 3.5.1
7 years ago
Feng Xiao
3a06fe1fc9
Fix file permission for python package.
...
`umask 0022` makes sure the created package will be accessible by all users.
7 years ago
Feng Xiao
0fc85acdf2
Fix file permission for python package.
...
`umask 0022` makes sure the created package will be accessible by all users.
7 years ago
cyyber
0e2089c775
Calling Keychecker before checking key in MessageMap
7 years ago
Jisi Liu
acadade56e
Remove py2.6 support.
7 years ago
Jisi Liu
594ec2262c
Fix python descriptor test.
7 years ago
Yilun Chong
75523ec086
fix bugs
7 years ago
Adam Cozzette
92a7e778e7
Integrated internal changes from Google
7 years ago
Jisi Liu
cf65a7946f
Update version for 3.5.0.post1
7 years ago
Jie Luo
45d99a15f3
Add _file_desc_by_toplevel_extension back
...
Add _file_desc_by_toplevel_extension back for compatibility issue with 3.4.1.
_file_desc_by_toplevel_extension is a temporary solution for FieldDescriptor.file.
FieldDescriptor.file was added in code gen. However, we need to keep it for some time for compatibility reason (with 3.4.1 only). May try to remove it after 2 years.
7 years ago
Paul Kilgo
9935829a66
Include .cc and .h files in source distribution
7 years ago
Jisi Liu
97dd175a91
Update version number to 3.5.0
7 years ago
Roman Nekhoroshev
da3bfa693a
Fix a typo in WKT's test suite
...
Hi!
Sorry for bothering with such a minor thing, but I just noticed and fixed one annoying typo in WKT's test suite:
`"accpets" -> "accepts"`
Thanks!
7 years ago
Jisi Liu
1a7a7fca80
Merge from google internal
7 years ago
Juan Leni
08334f0908
Converting to immutable hashable types
7 years ago
Jisi Liu
dba647a6b2
Bump version for minor release
7 years ago
Adam Cozzette
13fd045dbb
Integrated internal changes from Google
7 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
cclauss
472f700884
remove the parens from the cmp() lambda definition ( #3526 )
...
* remove the parens from the cmp() lambda definition
https://github.com/PythonCharmers/python-future/pull/298
* remove the parens from the cmp() lambda definition
https://github.com/PythonCharmers/python-future/pull/298
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
cclauss
a04eb8c191
Define cmp() for Python 3 ( #3517 )
...
* Define cmp() for Python 3
http://python-future.org/compatible_idioms.html?highlight=cmp#cmp
* Define cmp() for Python 3
http://python-future.org/compatible_idioms.html?highlight=cmp#cmp
7 years ago
cclauss
dded80f924
define long() for Python 3
7 years ago
cclauss
958412e2e6
Old style exception --> new style exception
7 years ago
Jisi Liu
98c6d04df4
Prefer system distributed binaries/libraries.
...
It seems like the image has a /usr/local/bin/autoconf installed, which
doesn't recognize/work with the yum installed libtools. Putting
distributed binaries/libraries first solves the problem
7 years ago
Jisi Liu
5d5df84913
clean up
7 years ago
Jisi Liu
19a7e2099b
Update testpypi addresses.
...
The old one is deprecated and no longer working.
7 years ago
Jie Luo
f5817b3056
PY26 tests compatibility
...
1, Some tests in reflection_test PY26 raise TypeError but other versions raise ValueError for convert negative long to unsigned
2, Change compare exception type to compare exception str for testDuplicateExtensionNumber. Original code raise 'Double registration of Extensions' is not an instance of (<type 'exceptions.AssertionError'>, <type 'exceptions.ValueError'>) for PY26 cpp implementation
t
7 years ago
Jie Luo
9150cd8603
Skip setUpClass which is newly added in python2.7 for python2.6
7 years ago
Jisi Liu
759245a49a
Merge from master
7 years ago
Jie Luo
9c012ed07d
Add __bool__ as well as __nonzero__ for python3
7 years ago
Jisi Liu
7bb39bef1a
Update version number for 3.4.0
7 years ago
Jie Luo
a484794820
Use keys() instead of iterkeys() to be python3 compatbile.
7 years ago
Jisi Liu
dd091aad48
Fix code to use values() instead
7 years ago
Jisi Liu
b07cdb6e8e
Use itmes() instead of itervalues() to be python3 compatbile.
7 years ago
Jisi Liu
09354db143
Merge from Google internal for 3.4 release
7 years ago
Jie Luo
b764e67812
Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION for pure python comformance test
7 years ago
Paul Yang
176bac6dac
Add scripts to build python wheel for linux. ( #2693 )
...
* Add scripts to build python wheel for linux.
Followed PEP513.
* Fix dist check for new added files.
* Update README for usage example.
8 years ago
Yilun Chong
18a0c2c4d2
add proto2 supported for cpp,python,nodejs,ruby,php
8 years ago
Changming Sun
4987ddac75
Fix a bazel build error on Windows
8 years ago
Brian J. Watson
5555d3b078
Fix typos in comment
8 years ago
Bo Yang
e7bcfc4241
Update version number to 3.3.2
8 years ago