ethereum / web3.py

A python interface for interacting with the Ethereum blockchain and ecosystem.
http://web3py.readthedocs.io
MIT License
4.96k stars 1.69k forks source link

DeprecationWarning: Call to deprecated create function *Descriptor #1777

Closed jayvdb closed 2 years ago

jayvdb commented 3 years ago
/usr/lib/python3.8/site-packages/ethpm/_utils/protobuf/ipfs_file_pb2.py:21: DeprecationWarning: Call to deprecated create function FileDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
  DESCRIPTOR = _descriptor.FileDescriptor(
/usr/lib/python3.8/site-packages/ethpm/_utils/protobuf/ipfs_file_pb2.py:38: DeprecationWarning: Call to deprecated create function EnumValueDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
  _descriptor.EnumValueDescriptor(
/usr/lib/python3.8/site-packages/ethpm/_utils/protobuf/ipfs_file_pb2.py:32: DeprecationWarning: Call to deprecated create function EnumDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
  _DATA_DATATYPE = _descriptor.EnumDescriptor(
/usr/lib/python3.8/site-packages/ethpm/_utils/protobuf/ipfs_file_pb2.py:69: DeprecationWarning: Call to deprecated create function FieldDescriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
  _descriptor.FieldDescriptor(
/usr/lib/python3.8/site-packages/ethpm/_utils/protobuf/ipfs_file_pb2.py:62: DeprecationWarning: Call to deprecated create function Descriptor(). Note: Create unlinked descriptors is going to go away. Please use get/find descriptors from generated code or query the descriptor_pool.
  _DATA = _descriptor.Descriptor(
kclowes commented 3 years ago

Thanks for this report @jayvdb!

@njgheorghita do you have any time to take a look at this warning?

njgheorghita commented 3 years ago

@kclowes Sure! I'll take a look at it tomorrow

njgheorghita commented 3 years ago

@jayvdb I'm fairly certain that this will disappear with a version update - but I'm unable to reproduce this warning to confirm that it disappears. Do you remember how you triggered these warnings?

fselmo commented 2 years ago

stale