-
Notifications
You must be signed in to change notification settings - Fork 4
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
Rc june 2024 #92
Rc june 2024 #92
Conversation
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.
Besides the comment left in the changed files, as discussed in Slack I think we should just ignore Pyright errors for now (by setting # pyright: ignore [reportCallIssue]
on both exec_diagnose
lines) so we unblock the release for now.
Ideally that should've been implemented in a different way, so we wouldn't need to silence pyright. I mean, by using logic which depends on the Barman module version instead of on an AttributeError
Exception. But changing that now would require some time to change the code, change the tests, perform tests again, ...
0e47f3c
to
20fa7e7
Compare
20fa7e7
to
7526606
Compare
7526606
to
80217f6
Compare
`pyright` was complaining about the `exec_diagnose`. That issue occurs because based on the Barman module version that is installed in the virtual environemnt, the signature of that method would have either 2 or 4 parameters. We had 2 options to handle that issue: * Add `pyright: ignore` directives to the source code where `exec_diagnose` is called; or * Change the implementation so instead of relying on `AttributeError` exception, it would handle the version for the Barman module. We chose the first option for now, so we unblock the release. The code with `AttributeError` exception has already been tested. If we were to go with the second option now, that would require changing the code, changing the unit tests and performing more tests, thus dealying the release. Signed-off-by: Israel Barth Rubio <[email protected]>
c7c1602
to
9efe476
Compare
No description provided.