-
Notifications
You must be signed in to change notification settings - Fork 51
Actually deprecate the Chado Query API in favour of Tripal DBX. #2294
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
Conversation
…hado_db_select().
4 new issues
|
|
Diff Coverage: The code coverage on the diff in this pull request is 69.8%. Total Coverage: This PR will decrease coverage by 0.06%. File Coverage Changes
🛟 Help
|
…ng so in the tests that check old deprecated functions directly.
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.
A few changes, mainly the script for entity mapping is designed to be run on a Tripal 3 site so no updates there!
I ran all the importers and no problems there.
Co-authored-by: Douglas Senalik <[email protected]>
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.
Approved when tests complete!
Tripal 4 Core Dev Task
Issue #1341
Description
We need to actually deprecate this very old API as mentioned in tripal/tripal_doc#109. This PR will accomplish this.
More specifically, this PR
IgnoreDeprecationsto API specific tests so that they don't fail due to the deprecations which we expect. This allows us to continue testing these until we remove them in Tripal 4.1.0IgnoreDeprecationsis not available in that version. This seems ok since we will see the deprecations in Drupal 11+NOTE: PHPUnit 11.5 is still configured not to fail on deprecations. I did not fix this in this PR because there are remaining deprecations triggered by this PR that will be fixed in #2297. We should make sure to fix this in that PR to ensure that deprecations triggered in tests outside of those specifically testing the deprecated API get caught and cause failure.
Testing?
I'm not sure how to test this. There are automated tests that check this functionality. Since the importers have not yet been updated in this PR one way to test may be run the importers and make sure they haven't broken in this PR.