Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump mypy-protobuf from 1.18 to 3.2.0 in /sdks/python #19

Closed

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Aug 16, 2022

Bumps mypy-protobuf from 1.18 to 3.2.0.

Changelog

Sourced from mypy-protobuf's changelog.

3.2.0

  • Remove unnecessary ... in generated files.
  • Reorder/reference enum classes to avoid forward references.
  • Support *_FIELD_NUMBER for extensions
  • Bump types-protobuf dependency to 3.19
  • Require protobuf 3.19.3
  • Support DESCRIPTOR: ServiceDescriptor in py generic services
  • More accurately represent method names in py generic services (done -> callback, self -> inst)
  • More accurately represent method names in grpc services (request -> request_iterator)
  • Internal: Get tests to pass on pure-python protobuf impl (minor semantic differences)
  • Internal: Bump pyright in testing to 1.1.206
  • Internal: Use stubtest to validate generated stubs match generated runtime

3.1.0

  • Require protobuf 3.19.1
  • Change EnumTypeWrapper.V to EnumTypeWrapper.ValueType per protocolbuffers/protobuf#8182. Will allow for unquoted annotations starting with protobuf 3.20.0. .V will continue to work for the foreseeable future for backward compatibility.
  • suppress pyright warning reportSelfClsParameterName when a proto field is named self
  • Allow optional constructor keywords for primitive field types in proto3, following this chart.
  • Reorder Enum helper classes to eliminate pycharm errors

3.0.0

  • Drop support for targeting python 2.7
  • Generate py3 specific syntax for unicode strings ("" rather than u"")
  • Now requires protobuf 3.18.0
  • Handle escaping properly in docstrings and attribute strings (#296)
  • Use three-digit version number 3.0.0 for minor and patch releases
  • Codify pyright support in README

2.10

  • Switch from setup.py to pyproject.toml and setup.cfg per https://packaging.python.org/tutorials/packaging-projects/
  • Remove dependency on grpcio-tools. mypy-protobuf doesn't need it to run. It's only needed to run mypy afterward.
  • Avoid relative imports in _grpc_pb2.pyi stubs. grpc stubs themselves don't use relative imports, nor __init__.py files
  • Use """ docstring style comments in generated code rather than # style so it shows up in IDEs.
  • Disambiguate messages from reserved python keywords (eg None) with prefix _r_ rather than __ - since __ is considered private.
  • Bump tests to use pyright 1.1.169, types-protobuf 3.17.4, pytest 6.2.5, grpc-stubs 1.24.7, grpcio-tools 1.40.0
  • Since upstream protobuf has dropped support with 3.18.0, 2.10 will be the last mypy-protobuf that supports targeting python 2.7. Updated docs for this.

2.9

2.8

... (truncated)

Commits
  • 985382c Bump to release 3.2.0 (#343)
  • 3c43008 Reference pyright version from a package.json to configure dependabot (#342)
  • e257eb5 Read protobuf version from test_requirements.txt in the CI (#341)
  • 6ae8101 Drop support for python 3.6. Add testing for 3.10 (#339)
  • e0f32df Bump dependency for protobuf and types-protobuf (#338)
  • cb90fcb More accurately represent request parameter in grpc functions (#336)
  • fcc5a49 Fix stubtest issues for py generic services (#333)
  • 7be917a Bump types-protobuf to 3.19.0 (#334)
  • d22e0ee Bump mypy from 0.930 to 0.931 (#332)
  • f8f1575 Bump pyright to 1.1.206 (#331)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mypy-protobuf](https://github.com/dropbox/mypy-protobuf) from 1.18 to 3.2.0.
- [Release notes](https://github.com/dropbox/mypy-protobuf/releases)
- [Changelog](https://github.com/nipunn1313/mypy-protobuf/blob/main/CHANGELOG.md)
- [Commits](nipunn1313/mypy-protobuf@v1.18...v3.2.0)

---
updated-dependencies:
- dependency-name: mypy-protobuf
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Aug 16, 2022
@dependabot @github
Copy link
Author

dependabot bot commented on behalf of github Aug 25, 2022

Superseded by #29.

@dependabot dependabot bot closed this Aug 25, 2022
@dependabot dependabot bot deleted the dependabot/pip/sdks/python/mypy-protobuf-3.2.0 branch August 25, 2022 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants