Bu Sun Kim
c01cd6ec79
Add python 3.10 ( #9034 )
...
* Add python 3.10
* Update setup.py and tox.ini
* fix: fix 3.9 -> 3.10
* fix: py310-cpp
4 years ago
Peter Sobot
ef0bd1343b
Only run GetDebugString test with cpp impl.
4 years ago
Timo Röhling
5100be2b77
Prevent integer overflow for unknown fields
...
The PyInt_FromLong() conversion function will truncate 64 bit integer
values on 32 bit architectures. We will now use the PyLong_* functions
with the appropriate minimum size for each field.
Note that this commit also switches to the unsigned versions, since the
unknown integer fields have been declared unsigned anyway.
Fixes #6205
4 years ago
Peter Sobot
4e176f29b4
Added GetDebugString to Python FileDescriptor interface.
4 years ago
Raul Bocanegra Algarra
e47ed057a5
Make glob recursive if option is enabled ( #8783 )
4 years ago
Adam Cozzette
0dab03ba7b
Update protobuf version to 3.18.1 ( #9051 )
...
* Update protobuf version
* Update PHP release notes in package.xml
4 years ago
AN Long
2fffff8320
Add python-requires in setup.py ( #8989 )
...
* Add python-requires in setup.py
* Update setup.py
4 years ago
AN Long
b75bb09551
Add python-requires in setup.py ( #8989 )
...
* Add python-requires in setup.py
* Update setup.py
4 years ago
Vasily Fomin
8b59d5367c
Fix typo in Descriptor docstring ( #9001 )
4 years ago
Paul Yang
12fb2b7450
Update protobuf version ( #8973 )
...
* Update protobuf version
* Update php notes
4 years ago
Sandy Zhang
565294d79f
Remove duplicate build_ext class and get_ext_filename method
4 years ago
Jan Tattermusch
3efd68c793
Reintroduce setup.py changes from #8280 erased by piper import #8902
4 years ago
Joshua Haberman
359594f4bb
Removed Python 2.x support for Python.
4 years ago
Joshua Haberman
c70b4e570b
Removed remaining dependence on six for Python.
4 years ago
Joshua Haberman
a33aa736fc
Removed more testing of Python <3.5.
4 years ago
Joshua Haberman
e5c570bb57
Sync from Piper @395706834
...
PROTOBUF_SYNC_PIPER
4 years ago
Paul Yang
81771b9274
Add LICENSE to released python packages ( #8913 )
4 years ago
Bo Yang
d8f55782b0
Update protobuf version
4 years ago
Bo Yang
2fbc07b243
Stopping build wheel for python 2.7
4 years ago
Bo Yang
b84070eeaf
Stopping build wheel for python 2.7
4 years ago
Paul Yang
bcdb4ca4c7
No need to test python2.7 ( #8891 )
4 years ago
Joshua Haberman
7183780b60
Added a Valgrind test that works for Python!
4 years ago
Joshua Haberman
b66344a476
Fixed the GC object to use the appropriate GC functions.
4 years ago
Joshua Haberman
cdc9fcd93a
Addressed PR comments.
4 years ago
Paul Yang
3b0f10b936
No need to test python2.7 ( #8891 )
4 years ago
Joshua Haberman
98eab1c0c2
Fix the build on macos.
4 years ago
Paul Yang
7cbc08615f
Update protobuf version ( #8887 )
4 years ago
Joshua Haberman
da6475305b
Added missing license headers.
4 years ago
Joshua Haberman
eec1a45e02
Formatted files with clang-format.
4 years ago
Joshua Haberman
a086aafb6c
Added a minimal test and fixed some bugs.
4 years ago
Joshua Haberman
94ece04552
Initial commit of Python+upb.
4 years ago
Bo Yang
509aee4b8b
Sync from Piper @391414001
...
PROTOBUF_SYNC_PIPER
4 years ago
Adam Cozzette
562fc946c7
Sync from Piper @388508285
...
PROTOBUF_SYNC_PIPER
4 years ago
Matt Kulukundis
d835808b7a
remove various broken build status tags
4 years ago
Ilya Konstantinov
991bcada05
Raise ParseError when JSON string is expected and not given ( #7935 )
...
Raise ParseError when JSON string is expected and not given
4 years ago
Jan Tattermusch
f4360f0a89
reintroduce setup.py changes from #8280 erased by piper import #8617
4 years ago
Deanna Garcia
367851d124
Update protobuf version
4 years ago
Deanna Garcia
5b8208ecea
Update protobuf version
4 years ago
Joshua Haberman
9521803d40
Sync from Piper @375548932
...
PROTOBUF_SYNC_PIPER
4 years ago
Adam Cozzette
52784ced2f
Update protobuf version ( #8633 )
4 years ago
Deanna Garcia
cab253ec5e
Removing python_protobuf.h/cc
4 years ago
Adam Cozzette
652d99a8ee
Update protobuf version ( #8606 )
4 years ago
Adam Cozzette
f807c02226
Update protobuf version to 3.17.0-rc2 ( #8586 )
...
* Update protobuf version
* Updated Kotlin versions and updated script to handle them
4 years ago
Adam Cozzette
7025f37cde
Update protobuf version ( #8575 )
4 years ago
Adam Cozzette
2dc747c574
Update PHP release notes and update version to 3.16.0 ( #8573 )
...
* Updated PHP release notes in packages.xml
* Update protobuf version to 3.16.0
4 years ago
Yuriy Chernyshov
c8389f8ed5
Fix constness issue detected by MSVC standard conforming mode ( #8568 )
...
This is the continuation of #8344
4 years ago
Adam Cozzette
debc03dfc5
Update protobuf version to 3.16.0-rc2 ( #8556 )
...
* Update CHANGES.txt
* Update protobuf version
4 years ago
Adam Cozzette
f98b287125
Remove Python compatibility tests ( #8570 )
4 years ago
Joshua Haberman
67044a2820
Reinstate the Python change that was somehow reverted in the sync.
4 years ago
Roy Williams
7ad0fd4ed7
Make libprotobuf symbols local on OSX ( #8346 )
...
@gnossen gave a great overview in https://github.com/grpc/grpc/pull/24992 of the overall problem.
If a python process using both protobuf _and_ another native library linking in libprotobuf
frequently can cause crashes. This seems to frequently affect tensorflow as well:
tensorflow/tensorflow#8394 ,
tensorflow/tensorflow#9525 (comment)
tensorflow/tensorflow#24976 ,
tensorflow/tensorflow#35573 ,
https://github.com/tensorflow/tensorflow/blob/v2.0.0/tensorflow/contrib/makefile/rename_protobuf.sh ,
tensorflow/tensorflow#16104
Testing locally this fixes both crashes when linking in multiple versions of protobuf
and fixes `DescriptorPool` clashes as well (e.g. Python and Native code import different versions of the same message).
4 years ago