aboutsummaryrefslogtreecommitdiffhomepage
path: root/python/setup.py
Commit message (Collapse)AuthorAge
* Merge pull request #4827 from acozzette/merge-3-6-xGravatar Adam Cozzette2018-06-25
|\ | | | | Merge 3.6.x branch into master
* | Update minimal Python version to 2.7 (#4207)Gravatar Yuchen Xie2018-06-25
| |
| * Merge branch '3.6.x' into merge-3-6-xGravatar Adam Cozzette2018-06-25
|/|
* | global __version__ In setup.py (#4753)Gravatar cclauss2018-06-25
| | | | | | This change helps both humans and linters to understand the unusual method of instantiating this global variable.
| * Always add -std=c++11 for mac (#4684)Gravatar Paul Yang2018-05-25
|/
* Fix python ext build on kokoro (#4527)Gravatar Yilun Chong2018-05-03
|
* Add __init__.py files to compiler and util subpackages (#4117)Gravatar Thomas Hisch2018-04-09
| | | | | | 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.
* For windows, all python version should use /MT (#4468)Gravatar Paul Yang2018-04-06
|
* Merge branch (#4466)Gravatar Paul Yang2018-04-02
| | | | | | | | * Fix setup.py for windows build. * Bump version number to 3.5.2 * Cat the test-suite.log on errors for presubits
* Include no_package.proto in Python testGravatar Adam Cozzette2018-03-14
|
* Remove py2.6 support.Gravatar Jisi Liu2017-12-14
|
* Integrated internal changes from GoogleGravatar Adam Cozzette2017-09-14
|
* add proto2 supported for cpp,python,nodejs,ruby,phpGravatar Yilun Chong2017-06-27
|
* Prefer the term "3-Clause BSD License" over "New BSD License"Gravatar Sebastian Schuberth2017-02-28
| | | | The first is the newer name, which is also more telling.
* Merge 3.2.x branch into master (#2648)Gravatar Paul Yang2017-01-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Down-integrate internal changes to github. * Update conformance test failure list. * Explicitly import used class in nano test to avoid random test fail. * Update _GNUC_VER to use the correct implementation of atomic operation on Mac. * maps_test.js: check whether Symbol is defined before using it (#2524) Symbol is not yet available on older versions of Node.js and so this test fails with them. This change just directly checks whether Symbol is available before we try to use it. * Added well_known_types_embed.cc to CLEANFILES so that it gets cleaned up * Updated Makefile.am to fix out-of-tree builds * Added Bazel genrule for generating well_known_types_embed.cc In pull request #2517 I made this change for the CMake and autotools builds but forgot to do it for the Bazel build. * Update _GNUC_VER to use the correct implementation of atomic operation on Mac. * Add new js file in extra dist. * Bump version number to 3.2.0 * Fixed issue with autoloading - Invalid paths (#2538) * PHP fix int64 decoding (#2516) * fix int64 decoding * fix int64 decoding + tests * Fix int64 decoding on 32-bit machines. * Fix warning in compiler/js/embed.cc embed.cc: In function ‘std::string CEscape(const string&)’: embed.cc:51:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int i = 0; i < str.size(); ++i) { ^ * Fix include in auto-generated well_known_types_embed.cc Restore include style fix (e3da722) that has been trampled by auto-generation of well_known_types_embed.cc * Fixed cross compilations with the Autotools build Pull request #2517 caused cross compilations to start failing, because the js_embed binary was being built to run on the target platform instead of on the build machine. This change updates the Autotools build to use the AX_PROG_CXX_FOR_BUILD macro to find a suitable compiler for the build machine and always use that when building js_embed. * Minor fix for autocreated object repeated fields and maps. - If setting/clearing a repeated field/map that was objects, check the class before checking the autocreator. - Just to be paranoid, don’t mutate within copy/mutableCopy for the autocreated classes to ensure there is less chance of issues if someone does something really crazy threading wise. - Some more tests for the internal AutocreatedArray/AutocreatedDictionary classes to ensure things are working as expected. - Add Xcode 8.2 to the full_mac_build.sh supported list. * Fix generation of extending nested messages in JavaScript (#2439) * Fix generation of extending nested messages in JavaScript * Added missing test8.proto to build * Fix generated code when there is no namespace but there is enum definition. * Decoding unknown field should succeed. * Add embed.cc in src/Makefile.am to fix dist check. * Fixed "make distcheck" for the Autotools build To make the test pass I needed to fix out-of-tree builds and update EXTRA_DIST and CLEANFILES. * Remove redundent embed.cc from src/Makefile.am * Update version number to 3.2.0-rc.1 (#2578) * Change protoc-artifacts version to 3.2.0-rc.1 * Update version number to 3.2.0rc2 * Update change logs for 3.2.0 release. * Update php README * Update upb, fixes some bugs (including a hash table problem). (#2611) * Update upb, fixes some bugs (including a hash table problem). * Ruby: added a test for the previous hash table corruption. Verified that this triggers the bug in the currently released version. * Ruby: bugfix for SEGV. * Ruby: removed old code for dup'ing defs. * Reverting deployment target to 7.0 (#2618) The Protobuf library doesn’t require the 7.1 deployment target so reverting it back to 7.0 * Fix typo that breaks builds on big-endian (#2632) * Bump version number to 3.2.0
* Factored Conformance and Benchmark test messages into shared test schema. ↵Gravatar Joshua Haberman2016-12-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#1971) * Factored Conformance test messages into shared test schema. * Updated benchmarks to use new proto3 message locations. * Fixed include path. * Conformance: fixed include of Python test messages. * Make maven in Rakefile use --batch-mode. * Revert changes to benchmarks. On second thought I think a separate schema for CPU benchmarking makes sense. * Try regenerating C# protos for new test protos. * Removed benchmark messages from test proto. * Added Jon Skeet's fixes for C#. * Removed duplicate/old test messages C# file. * C# fixes for test schema move. * Fixed C# to use the correct TestAllTypes message. * Fixes for Objective C test schema move. * Added missing EXTRA_DIST file.
* Integrated internal changes from GoogleGravatar Adam Cozzette2016-06-29
| | | | This includes all internal changes from around May 20 to now.
* Added download_url to be able to upload to pypi.Gravatar Jisi Liu2016-05-17
|
* Merge branch 'master' of github.com:google/protobufGravatar Jisi Liu2016-04-01
|\
| * Linking the cpp implementation extension statically with libprotobufGravatar Manjunath Kudlur2016-04-01
| |
* | Disable sign-compare warning.Gravatar Jisi Liu2016-03-31
|/
* Add back the namespace_packages arg in setup.py.Gravatar Craig Citro2016-03-05
| | | | | | | | | | | | | | | | | | | Improves #1296. The problem: in the previous patch, we tweaked the __init__.py files to use namespaces, but no longer declared ourselves as a namespace package. The second half was unwise. Note that this only comes up when installing protobuf alongside another package that also installs into the google namespace; as of right now, the only PyPI package that does is googleapis-common-protos, though the GAE SDK also uses google.appengine. Installing either or both of those alongside this package now works. The case that still remains is the upgrade path, which is also what worried me in #713. It seems that if protobuf 2.6.1 is installed, there's no way to safely upgrade that to work with a newer protobuf. However, `pip uninstall` && `pip install` does the trick.
* Add a modified patch from craigcitro@ to handle namespace sharing.Gravatar Silviu Calinoiu2016-02-18
|
* Allow conformance test runner to tolerate crashes, and re-enable conformance ↵Gravatar Josh Haberman2016-01-11
| | | | tests.
* Fixed compile for Python 3. There are still some crashes though.Gravatar Josh Haberman2015-12-30
|
* Require six>=1.9 for Python.Gravatar Feng Xiao2015-12-29
| | | | | | | | | 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]
* Add missing files to EXTRA_DIST.Gravatar Feng Xiao2015-12-28
| | | | Also delete some unused files.
* Down-integrate from internal code base.Gravatar Feng Xiao2015-12-11
|
* Added Python failure lists, and fixes to make sure failure propagates.Gravatar Josh Haberman2015-12-03
|
* Conformance test implementation for Python.Gravatar Josh Haberman2015-12-02
|
* Special-case Clang-only warning flags to Clang.Gravatar Josh Haberman2015-10-28
|
* Disable some more warnings to be warnings-free.Gravatar Josh Haberman2015-10-28
|
* Removed all warnings from the Python/C++ build.Gravatar Josh Haberman2015-10-28
| | | | | | | | | | | 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
* add complete WKT for python.Gravatar Jisi Liu2015-10-06
|
* Generate well known types for python.Gravatar Jisi Liu2015-10-06
|
* Down-integrate from google internal.Gravatar Jisi Liu2015-10-05
|
* Merge remote-tracking branch 'origin/master' into beta-1Gravatar Feng Xiao2015-08-25
|\
* | Down-integrate from internal branch.Gravatar Jisi Liu2015-08-21
| | | | | | | | Change-Id: Ieb7a2c2fbf35bc2a8fa65b915a5ecb68c83863e4
| * Fix travis buildGravatar Dan O'Reilly2015-08-20
| | | | | | | | Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
| * Remove debug codeGravatar Dan O'Reilly2015-08-20
| | | | | | | | Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
| * Use tox in travis build. Tweak tox.iniGravatar Dan O'Reilly2015-08-20
| | | | | | | | Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
| * Add some clarifying comments. Remove ez_setup.py.Gravatar Dan O'Reilly2015-08-20
| | | | | | | | Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
| * Get Python 2.6 working.Gravatar Dan O'Reilly2015-08-14
| | | | | | | | Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
| * Fixing some testsGravatar Dan O'Reilly2015-08-13
| | | | | | | | Signed-off-by: Dan O'Reilly <oreilldf@gmail.com>
| * Merge remote-tracking branch 'upstream/master' into py2_py3_straddleGravatar Dan O'Reilly2015-08-12
| |\ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: python/google/protobuf/descriptor_pool.py python/google/protobuf/internal/api_implementation_default_test.py python/google/protobuf/internal/cpp_message.py python/google/protobuf/internal/descriptor_database_test.py python/google/protobuf/internal/descriptor_pool_test.py python/google/protobuf/internal/descriptor_python_test.py python/google/protobuf/internal/descriptor_test.py python/google/protobuf/internal/generator_test.py python/google/protobuf/internal/message_factory_python_test.py python/google/protobuf/internal/message_factory_test.py python/google/protobuf/internal/message_test.py python/google/protobuf/internal/proto_builder_test.py python/google/protobuf/internal/python_message.py python/google/protobuf/internal/reflection_test.py python/google/protobuf/internal/service_reflection_test.py python/google/protobuf/internal/symbol_database_test.py python/google/protobuf/internal/text_encoding_test.py python/google/protobuf/internal/text_format_test.py python/google/protobuf/internal/unknown_fields_test.py python/google/protobuf/internal/wire_format_test.py python/google/protobuf/pyext/descriptor_cpp2_test.py python/google/protobuf/pyext/message_factory_cpp2_test.py python/google/protobuf/pyext/reflection_cpp2_generated_test.py python/setup.py ruby/lib/google/protobuf/message_exts.rb
* | Replace the check of "../.git"Gravatar Feng Xiao2015-05-26
| | | | | | | | | | | | | | Checking the existence of ".git" is not the right way to check whether we are in develop environment because we distribute source tar-balls where such a ".git" directory does not exist. Replaced it with checking .proto files.
* | down-integrate internal changesGravatar Bo Yang2015-05-21
| |
* | Only generate protos in developmentGravatar Tamir Duberstein2015-05-15
| | | | | | | | Fixes #333.
* | Use glob to simplifyGravatar Tamir Duberstein2015-05-15
| |
* | Merge pull request #255 from btabibian/masterGravatar Joshua Haberman2015-05-07
|\ \ | | | | | | adding globals() to exec call for python3 compatibility