Deanna Garcia
5b8208ecea
Update protobuf version
4 years ago
Adam Cozzette
52784ced2f
Update protobuf version ( #8633 )
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
Yuriy Chernyshov
c8389f8ed5
Fix constness issue detected by MSVC standard conforming mode ( #8568 )
...
This is the continuation of #8344
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
Yuriy Chernyshov
c784b65b2a
Remove unused python_protobuf.{cc,h} ( #8513 )
...
* Remove unused python_protobuf.{cc,h} #8513
* Fix automake input
4 years ago
Joshua Haberman
ba3836703b
Sync from Piper @368866736
...
PROTOBUF_SYNC_PIPER
4 years ago
Joshua Haberman
ce560630bf
Sync from Piper @368734211
...
PROTOBUF_SYNC_PIPER
4 years ago
Adam Cozzette
436bd7880e
Updated version to 3.15.8 ( #8463 )
...
* Update protobuf version
* Updated CHANGES.txt and package.xml for 3.15.8
4 years ago
Alexander Reynolds
3c782fc3d6
Remove py impl skip for method desc CopyToProto test
4 years ago
Adam Cozzette
878be3569e
Update protobuf version
4 years ago
Jan Tattermusch
0ebbd7d7c3
Enable crosscompiling aarch64 python wheels under dockcross manylinux docker image ( #8280 )
...
This uses the dockcross manylinux docker image to enable crosscompiling aarch64 python wheels. The wheels built for aarch64 linux are excluded from the release for now, pending testing (pending, in PR#8392).
4 years ago
Joshua Haberman
96307d28f6
Sync from Piper @364389596
...
PROTOBUF_SYNC_PIPER
4 years ago
Adam Cozzette
6aa539bf01
Update protobuf version
4 years ago
Adam Cozzette
4fff47a418
Update protobuf version
4 years ago
Alexander Shadchin
87dd07b436
Switch on "new" buffer API ( #8339 )
...
"Old" buffer API will removed in Python 3.10. This is also fix #7930 .
4 years ago
Adam Cozzette
fd8aabf32d
Update protobuf version
4 years ago
Yuriy Chernyshov
e9091e6d8c
Fix some constness / char literal issues being found by MSVC standard conforming mode ( #8344 )
...
* Fix some constness / char literal issues being found by MSVC standard conforming mode
* Switch to const_cast from C-style casts
4 years ago
Adam Cozzette
983d115bd9
Update protobuf version
4 years ago
Adam Cozzette
d7e943b8d2
Update protobuf version
4 years ago
Alexander Reynolds
393e453033
Add MethodDescriptor.CopyToProto()
4 years ago
Adam Cozzette
052dc799d2
Update protobuf version
4 years ago
Adam Cozzette
133e5e7526
Update protobuf version
4 years ago
Adam Cozzette
de701c660b
Update protobuf version
4 years ago
Adam Cozzette
ac9218c5d9
Update protobuf version
4 years ago
Adam Cozzette
ae50d9b990
Update protobuf version
4 years ago
Adam Cozzette
8260126500
Update protobuf version
4 years ago
Adam Cozzette
e9f2ef308c
Update protobuf version
4 years ago
Jan Tattermusch
aa13fde017
remove obsolete scripts for python wheels ( #8250 )
...
Nowadays, this seems to be script where python wheels are being built:
https://github.com/protocolbuffers/protobuf/blob/ac63e80/kokoro/release/python/linux/build_artifacts.sh
Removing the obsolete scripts to avoid confusion.
4 years ago
deannagarcia
c89cb8a57d
Reverse unintentional change
4 years ago
deannagarcia
37e88c474e
Change install_requires
4 years ago
Thomas BACCELLI
26c0fbc15b
Add macOS big sur compatibility
4 years ago
Bu Sun Kim
51c80ce1d5
add python 3.9
4 years ago
Joshua Haberman
c2c13a558a
Fixed Python C++ extension for Python 3.8.
...
Python 3.8 changed the meaning and type of the tp_print slot.
4 years ago
Joshua Haberman
9be042029b
Reverted unintentional change.
4 years ago
Adam Cozzette
f3192d6128
Update protobuf version
4 years ago
Adam Cozzette
1b851b3fe6
Update protobuf version
4 years ago
Aurélien Grenotton
99149badc0
Fix PyUnknownFields memory leak ( #7928 )
...
Properly release internal data structure on deallocation.
Fix #7301
4 years ago
Adam Cozzette
a8ab1fade9
Update protobuf version
4 years ago
Adam Cozzette
b45ce5eee5
Updated python/release.sh to use Python 3 for setup.py
...
This fixed an error I was getting about bdist_wheel not being found.
4 years ago
Aurélien Grenotton
5f7f389a8a
Fix PyUnknownFields memory leak ( #7928 )
...
Properly release internal data structure on deallocation.
Fix #7301
4 years ago
Adam Cozzette
27100b40fd
Update protobuf version
4 years ago
Joshua Haberman
b70695dd68
Sync from Piper @338707351
...
PROTOBUF_SYNC_PIPER
4 years ago
Joshua Haberman
de371235c9
Sync from Piper @338284531
...
PROTOBUF_SYNC_PIPER
4 years ago
Misha Seltzer
7daf0aa7b0
Removed the unnecessary setuptools package dependency for Python package.
...
The setuptools package was added to allow definition of namespaces using
the now outdated (and discouraged from use) pkg_resources-style.
The code here, for a long while now, uses a try/except (`ImportError`)
protection around the setuptools code, and falls back to the more
encoraged pkgutil-style.
Removing this library won't affect any current workflow, and in the case
of setuptools not found, it'll actually use a more modern (and
encouraged) flow.
4 years ago
David L. Jones
ad29d402c4
Enhance documentation for `generate_py_protobufs`. ( #7937 )
...
This change updates the README.md to describe the order of resolution
between `options['generate_py_protobufs']`, `--protoc`, and the `PROTOC`
env var.
Since the `setup.py` script is not the main way to find docs, this change
deletes the parts of the docstring that are redundant with `README.md`.
4 years ago