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

fix: fix deprecation warning on using ABCs from 'collections' #1997

Merged
merged 1 commit into from
Feb 25, 2021

Conversation

ryantd
Copy link
Contributor

@ryantd ryantd commented Feb 20, 2021

Description

There are 2 deprecated warnings in determined-common:

DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc'
is deprecated since Python 3.3, and in 3.9 it will stop working

Solution: Need use collections.abc. instead of collections.

Test Plan

make -C common test without any deprecated warnings on collections.abc

Commentary (optional)

Checklist

  • User-facing API changes need the "User-facing API Change" label.
  • Release notes should be added as a separate file under docs/release-notes/.
    See Release Note for details.

@cla-bot
Copy link

cla-bot bot commented Feb 20, 2021

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have the users @ryantd on file. In order for us to review and merge your code, please start the CLA process at https://determined.ai/cla.

@ryantd
Copy link
Contributor Author

ryantd commented Feb 21, 2021

CLA file sent, please check

@neilconway
Copy link
Contributor

@cla-bot[bot] check

@cla-bot cla-bot bot added the cla-signed label Feb 25, 2021
@cla-bot
Copy link

cla-bot bot commented Feb 25, 2021

The cla-bot has been summoned, and re-checked this pull request!

Copy link
Contributor

@dzhu dzhu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch, thank you!

@dzhu dzhu merged commit f5ca28b into determined-ai:master Feb 25, 2021
@dannysauer dannysauer added this to the 0.14.3 milestone Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants