-
Notifications
You must be signed in to change notification settings - Fork 2
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
[DEPR]: Complete removal of EdxRestApiClient #189
Comments
I support this deprecation! 😉 |
me too ))) |
This snuck back into edx-platform: openedx/edx-platform@a35176e |
Note that I have questions about some of the replacement work from the original DEPR ticket, but I have created the following ticket to address that: openedx/edx-rest-api-client#277 |
assign me |
@dianakhuang @feanil: At some point we had discussed removing EdxRestApiClient from the library, and updating edx-platform's lone usage (that snuck back in) by making a local copy, renamed to DeprecatedEdxRestApiClient, so hopefully no ohter usages would crop up. @Yagnesh1998 was working on that, and it struck me that:
I've asked @Yagnesh1998 to look into that based on PRs from the original DEPR work. |
@dianakhuang, @robrap, Yes, I will start working on it. And let me know if there is any update or any change, thanks. |
I have since learned more about the final fix that is needed. We will continue with the plan to merge a refactor to The new The initial attempt to remove the client failed with a bug in Production. Here is the PR with the (partial) revert: openedx/edx-platform#30792. Note that there were many changes in the original PR, so this PR just reverts the broken change. Also, the revert PR refers to a private ticket in a code comment, and here are its contents:
|
I believe this only needs to be reviewed and merged: openedx/edx-rest-api-client#303 |
Basically, I'm wondering how to get these related DEPR tickets closed. |
|
The ecommerce code will be removed within the next year anyway from edx-platform and the DEPR work for cleaning up DeprecatedRestApiClient will go with it, so we aren't making a separate ticket. |
Proposal Date
11 April 2023
Target Ticket Acceptance Date
11 April 2023
Earliest Open edX Named Release Without This Functionality
Q - 2023-10
Rationale
Note that this is not a new proposal, but is a ticket to track completion of the original DEPR documented here: #37.
This ticket is to clean-up some small remaining usages, and ultimately to remove the deprecated
EdxRestApiClient
so the code no longer lives in the platform.Removal
Here is a general search for uses of
EdxRestApiClient
: https://github.com/search?q=org%3Aopenedx%20EdxRestApiClient&type=codeEdxRestApiClient
: https://github.com/openedx/edx-analytics-data-api/blob/6916f071301c57457cad668ac1c33ae702b061fa/analyticsdataserver/settings/base.py#L325slumber
library, since we will no longer need this outdated library. See https://github.com/openedx/edx-rest-api-client/blob/8eb8837c2d5e94ef2cc809124ed371ef12509f50/edx_rest_api_client/client.py#L288DeprecatedEdxRestApiClient
in edx-platform will need to be removed, in addition toslumber
. This requires fixing the past bug found during the first attempt. See [DEPR]: Complete removal of EdxRestApiClient #189 (comment) for details. (This may die with ecommerce code in edx-platform. This should probably just get its own edx-platform ticket rather than trying to complete as part of this DEPR.)Replacement
See original DEPR for details: #37
Deprecation
No response
Migration
No response
Additional Info
No response
The text was updated successfully, but these errors were encountered: