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

Deprecation Warnings #653

Closed
PhilipVinc opened this issue Jan 13, 2022 · 2 comments
Closed

Deprecation Warnings #653

PhilipVinc opened this issue Jan 13, 2022 · 2 comments

Comments

@PhilipVinc
Copy link

For a while now I've been seeing several deprecation warnings like (see here)[https://github.com/lanpa/tensorboardX/runs/4636642684?check_suite_focus=true#step:6:72])

tensorboardX/proto/resource_handle_pb2.py:57
  /home/runner/work/tensorboardX/tensorboardX/tensorboardX/proto/resource_handle_pb2.py:57: 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(

they heavily pollute reports by PyTest, so it would be nice if those could be addressed.

@lanpa lanpa closed this as completed in 9fe8b74 Jan 23, 2022
@adamjstewart
Copy link

#654 is not an appropriate fix for this. Everyone who uses tensorboardX as a dependency will also face this warning. The correct solution is to update tensorboardX so that it isn't using deprecated features.

@lanpa
Copy link
Owner

lanpa commented Jan 8, 2023

Hi @adamjstewart, this fix only suppress the message in pytest. Please open another issue for production use so I can track it, thanks! (I remember that the deprecation warning only show once per session?)

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

No branches or pull requests

3 participants