-
Notifications
You must be signed in to change notification settings - Fork 8
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 warning for /usr/sbin/bdii-update #53
Comments
Does this affect only that one os or can it be applied across the board? |
I believe this is a python issue. 'warn' has been deprecated since 3.3 and 'warning' seems to exist even in 3.0, I think it's save to assume no-one is running python2 any longer. |
Awesome, thanks. Would you like to work on a PR for this? If not, we can do it. |
I'll have a go |
Thanks @marianne013 -- could you put the PR in draft at first, since I would like to add a test case for this to ensure that we actually do eliminate the warning. I will put it on the same PR you work on so we can merge together. |
Why would you need a draft (instead of a standard) pull request for testing ? I mean I can make a draft, but I can't quite see the difference. |
Here's the draft: |
Just to avoid automerging if tests pass. Thanks for the PR! Will be in touch soon. |
# Summary Replaces log.warn with the python standard log.warning --- **Related issue :** fixes #53
Dear @marianne013, a new version for AlmaLinux 9 got released, would be great if you could give it a test and report: https://github.com/EGI-Federation/bdii/releases/tag/v6.0.2 |
Short Description of the issue
This is on a Rocky Linux release 9.4 (Blue Onyx) site bdii installed from epel. The bdii-update.log is filled with depreciation warnings, making it hard to see any real errors. The actual running of the bdii is unaffected.
Summary of proposed changes
The fix (replace 'warn' by 'warning') is straight forward and gets rid of this spurious error message.
The text was updated successfully, but these errors were encountered: