Yilun Chong
14bc658175
fix python cpp kokoro build
6 years ago
Ben Webb
0a59054c30
Add Python 3.7 compatibility ( #4862 )
...
Compilation of Python wrappers fails with Python 3.7 because
the Python folks changed their C API such that
PyUnicode_AsUTF8AndSize() now returns a const char* rather
than a char*. Add a patch to work around. Relates #4086 .
6 years ago
Thomas Colthurst
79700b56b9
Update message_module.cc ( #4835 )
...
* Update message_module.cc
Add missing piece from pull request #4698 : actually initialize the new API object.
* Update message_module.cc
7 years ago
Thomas Colthurst
1ae2cc02b6
Fix capsule name. ( #4836 )
...
Internal convert file was broken. Change the capsule to the correct name
7 years ago
Yuchen Xie
595231dd5c
Update minimal Python version to 2.7 ( #4207 )
7 years ago
cclauss
35567c1668
global __version__ In setup.py ( #4753 )
...
This change helps both humans and linters to understand the unusual method of instantiating this global variable.
7 years ago
cclauss
35c6927cc1
import inspect ( #3507 )
...
Inspect is used five times on line 65-74 without being imported.
7 years ago
Thomas Colthurst
7c6514245b
Introduce Proto C API; based on cl/198113115 by amauryfa
7 years ago
Paul Yang
6f723a6624
Always add -std=c++11 for mac ( #4684 )
7 years ago
Jisi Liu
45eb28b588
Update version number to 3.6.0
7 years ago
Yilun Chong
4a09836e6c
Fix python ext build on kokoro ( #4527 )
7 years ago
Thomas Hisch
451e0446ab
Add __init__.py files to compiler and util subpackages ( #4117 )
...
The compiler and util subpackages are created by the build_py class in
setup.py. This has caused an issue in the protobuf package in
conda-forge (https://github.com/conda-forge/protobuf-feedstock/issues/40 ),
which is fixed by this commit.
7 years ago
Paul Yang
3b6d027ba2
For windows, all python version should use /MT ( #4468 )
7 years ago
Paul Yang
c931743461
Merge branch ( #4466 )
...
* Fix setup.py for windows build.
* Bump version number to 3.5.2
* Cat the test-suite.log on errors for presubits
7 years ago
Adam Cozzette
11d26ce24c
Removed unused variables in repeated_scalar_container.cc
7 years ago
Adam Cozzette
8b3a72f3e9
Removed unused code pertaining to shared_ptr
7 years ago
Adam Cozzette
c5fcce5f69
Added pyext/thread_unsafe_shared_ptr.h
7 years ago
Adam Cozzette
3fa5dadb61
Removed unrecognized option from no_package.proto
7 years ago
Adam Cozzette
837c94b86f
Include no_package.proto in Python test
7 years ago
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