Update proto dep and setup.py

pull/13171/head
Deanna Garcia 2 years ago
parent 52f21e30f8
commit c740802bcb
  1. 4
      bazel/workspace_deps.bzl
  2. 2
      python/dist/setup.py

@ -23,8 +23,8 @@ def upb_deps():
_github_archive, _github_archive,
name = "com_google_protobuf", name = "com_google_protobuf",
repo = "https://github.com/protocolbuffers/protobuf", repo = "https://github.com/protocolbuffers/protobuf",
commit = "d0169ff9d167ff9109c591cf83655f4c906e712d", sha256 = "bc4add2a4bf70d6db89ddde404264cbf5586ecf99c0bc8d4f1828eb016e4731e",
sha256 = "957019f9d116764d7ac248f81a92e49d7ed41b5892e7f15074da5cfba0af46d1", commit = "761492746a64cd5ea7a53f3028e42452ca74ff71",
patches = ["@upb//bazel:protobuf.patch"], patches = ["@upb//bazel:protobuf.patch"],
) )

@ -79,6 +79,6 @@ setup(
namespace_packages=['google'], namespace_packages=['google'],
packages=find_packages(), packages=find_packages(),
install_requires=install_requires, install_requires=install_requires,
ext_modules= [Extension('google.protobuf.pyext._message', glob.glob('google/protobuf/pyext/*.c'))], ext_modules= [Extension('google._upb._message', glob.glob('python/*.c'))],
python_requires='>=3.7', python_requires='>=3.7',
) )

Loading…
Cancel
Save