1. 21 May, 2019 3 commits
  2. 23 Apr, 2019 2 commits
  3. 17 Apr, 2019 1 commit
  4. 10 Apr, 2019 1 commit
  5. 09 Apr, 2019 1 commit
  6. 06 Apr, 2019 1 commit
  7. 05 Apr, 2019 1 commit
  8. 26 Mar, 2019 1 commit
  9. 21 Mar, 2019 1 commit
  10. 20 Mar, 2019 2 commits
  11. 06 Mar, 2019 1 commit
  12. 28 Feb, 2019 3 commits
  13. 26 Feb, 2019 3 commits
  14. 22 Feb, 2019 2 commits
  15. 21 Feb, 2019 1 commit
  16. 19 Feb, 2019 1 commit
  17. 02 Feb, 2019 1 commit
    • Paul Yang's avatar
      Add several fixes for python toolchain (#5667) · 5b4ac53c
      Paul Yang authored
      * Add several fixes for python toolchain
      
      * Fix versin regex
      
      * Make script exit on error
      
      * Fix version regex
      
      * Fix version regex
      
      * Fix version regex
      
      * Fix version regex
      
      * Make test run on the current commit
      
      * Fix test
      
      * Fix test
      
      * Use git to retrieve current commit
      
      * Fix tests
      
      * Fix tests
      
      * Also make linux and mac work on the current commit
      
      * Fix test
      5b4ac53c
  18. 31 Jan, 2019 2 commits
  19. 24 Jan, 2019 1 commit
  20. 08 Jan, 2019 1 commit
  21. 20 Dec, 2018 1 commit
  22. 19 Dec, 2018 1 commit
    • Paul Yang's avatar
      Rebuild python docker image (#5475) · 4dec4f93
      Paul Yang authored
      * Rebuild python docker image
      
      * Update docker image
      
      * Change call to build_and_run_docker.sh
      
      * Set up python tests for different versions
      
      * Fix comments
      4dec4f93
  23. 06 Dec, 2018 1 commit
  24. 29 Nov, 2018 1 commit
    • Paul Yang's avatar
      Change MACOSX_DEPLOYMENT_TARGET to 10.9 (#5406) · 704037f2
      Paul Yang authored
      * Add kokoro build for python source package
      
      * Use libc++ for xcode 10 (#5303)
      
      The xcode 10 removes the deprecated libstdc++ library. We could set
      "MACOSX_DEPLOYMENT_TARGET" to "10.9" to use libc++ instead.
      
      * Add python 3.7 build
      
      * Add build for python 3.7 on linux and windows
      
      * Remove unused source build
      
      * Add comment
      
      * Fix $MACOSX_DEPLOYMENT_TARGET mismatch
      
      * Fix MACOSX_DEPLOYMENT_TARGET mismatch
      
      * Add missing import for sysconfig
      
      * Add missing imports
      704037f2
  25. 26 Nov, 2018 1 commit
  26. 09 Nov, 2018 1 commit
  27. 05 Oct, 2018 2 commits
    • Leon Barrett's avatar
      Fix parsing empty Struct Values from Json (#5211) · 9e69594a
      Leon Barrett authored
      * Fix parsing empty Struct Values from Json
      
      This fixes a bug. When parsing a struct from JSON like
          struct = json_format.Parse('{"k": {}}', Struct())
      then the struct's "k" value would end up not initialized, and accessing
      the value would raise an error.
          In[1]: struct['k']
          ValueError: Value not set
      That seems to be because the Struct field of the Value was not set.
          In[2]: struct
          Out[2]:
          fields {
            key: "k"
            value {
            }
          }
      
      This commit makes sure that the Value's Struct field is initialized even
      if the Struct has no values itself.
      
      This commit also extends a test to cover this case.
      
      * Additionally test for empty list
      9e69594a
    • Josh Kelley's avatar
      ParseFromString returns bytes parsed (#5166) · 8d6f8df1
      Josh Kelley authored
      * ParseFromString returns bytes parsed
      
      ParseFromString is documented as returning the number of bytes parsed,
      and the C++ implementation does this, so the Python implementation
      should too.
      
      See #5165.
      
      * Fix docstring
      
      * Add a test for ParseFromString length behavior
      8d6f8df1
  28. 04 Oct, 2018 1 commit
    • Kevin James's avatar
      fix(python): fix deprecated collections.abc usage (#5195) · f50a1f84
      Kevin James authored
      Many classes within collections were moved to collections.abc in Python
      3.3 -- their usage as imported directly from collections is now
      deprecated as of Python 3.7 and will be removed soon.
      
      The fallback import added in this PR can be removed entirely when
      support for versions of Python prior to 3.3 is dropped.
      f50a1f84
  29. 10 Sep, 2018 1 commit