Skip to content

Conversation

@stefanvanburen
Copy link
Member

Using FieldDescriptor.label is now deprecated, with some new properties to replace these usages.

Unfortunately, the new types aren't in typeshed yet, so we have to ignore the types until the properties are released upstream.

Using FieldDescriptor.label is [now deprecated][1], with some new
properties to replace these usages.

Unfortunately, the [new types aren't in typeshed yet][2], so we have to
ignore the types until the properties are released upstream.

[1]: protocolbuffers/protobuf@64a76e6
[2]: python/typeshed#14702
@stefanvanburen
Copy link
Member Author

ah, nevermind. these won't work with our earliest supported version of protobuf, obviously.

@stefanvanburen stefanvanburen deleted the svanburen/remove-deprecated-label-access branch September 12, 2025 14:14
stefanvanburen added a commit that referenced this pull request Sep 12, 2025
We'll still test with highest (i.e., newest) dependencies in CI, but to
avoid thinking things like #371 will work.
stefanvanburen added a commit that referenced this pull request Sep 12, 2025
We'll still test with highest (i.e., newest) dependencies in CI, but to
avoid thinking things like #371 will work.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants