-
-
Notifications
You must be signed in to change notification settings - Fork 644
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
drop py3.7 & fix CI #2854
drop py3.7 & fix CI #2854
Conversation
Previously, the `configen` utility had a vendored version of the `omegaconf._utils.type_str` function. Originally, the behavioral differences between the vendored `configen.utils.type_str` function and omegaconf's `type_str` were minimal, differing only on an ellipsis input `...`. Later, the two functions converged in this regard, as `omegaconf._utils.type_str` added support for ellipsis input. Given that the two functions converged, we can drop the vendored version of `type_str` from `configen` and instead use `omegaconf._utils.type_str` directly.
This PR supersedes PR #2853. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CodeQL found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome, thanks a lot for tackling this!
Just one comment besides the small ones below: would it be possible to use the same versions of the linter libraries as OmegaConf in requirements/dev.txt
, and use that for formatting? (if needed you can upgrade those in OmegaConf as well). This will make things easier and more consistent for developers.
Sure, I've updated pins on the linters in commit 08b6912 and have opened a corresponding OmegaConf PR omry/omegaconf#1159. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks!
Drop support for python3.7 and fix CI failures
This PR makes the following changes:
omegaconf._utils.type_str
directly instead of vendoringtype_str
Reviewers may wish to view commits one-by-one.
Closes #2852.