-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Too many console warnings #32888
Comments
@jmbowman I made some rough counts for all warnings from the provision run. There are plenty that are not repeated, almost all of them being deprecation warnings, with a big majority being deprecated js packages. Given their frequencies, I'd summarize them in the following issues:
Note: I'll check if an issue is related to this repo before I create it, so the task list length may end up being less than the list above Counts
Other warningsPython:
JavaScript:
|
I can't create the tasklist myself, but here I'll keep track of the Issues I'm creating.
|
I suppose it comes from edx-enterprise. It can be triggered by running What about these?
I believe the last one comes from here. Removing it properly will be a significant task. |
(i think i accidentally deleted it in the table) it comes from using boto, probably here, and would need to update that code so it uses boto3
Then can i just create the issue for that one?
This should be safe to ignore |
We can link #31175. Looks like it should be handled by 2U.
Yep. |
@DanielVZ96, I'm seeing two more exceptions we didn't mention here: 2023-10-30 11:13:23,027 WARNING /edx/app/edxapp/edx-platform/openedx/core/lib/safe_lxml/xmlparser.py:11: DeprecationWarning: defusedxml.lxml is no longer supported and will be removed in a future release.
from defusedxml.lxml import DTDForbidden, EntitiesForbidden, NotSupportedError 2023-10-30 11:13:23,410 WARNING /edx/app/edxapp/venvs/edxapp/lib/python3.8/site-packages/django/conf/__init__.py:198: RemovedInDjango40Warning: The DEFAULT_HASHING_ALGORITHM transitional setting is deprecated. Support for it and tokens, cookies, sessions, and signatures that use SHA-1 hashing algorithm will be removed in Django 4.0.
warnings.warn(DEFAULT_HASHING_ALGORITHM_DEPRECATED_MSG, RemovedInDjango40Warning) These are coming directly from the |
Related issue: openedx#32888
I finally caught up on my GitHub notification emails...it's great to see all the progress on this! The DEFAULT_HASHING_ALGORITHM one should go away in a week or two once we wrap up the Django 4.2 upgrade. Anything else I can do to help move things along here? |
What's the current status of this? I can help if needed |
@devkhan, please feel free to pick any open task from the list in the first comment. |
warning count: 41. path: Warning Source: Issue already created on pgpy repo. Pull request already submitted. @farhan Let me know if more details are required. |
Many warnings routinely get logged when doing console operations in edx-platform. This is especially visible when provisioning a devstack installation (although the problem isn't limited to devstack). These warnings often indicate latent problems with the code that will cause headaches when attempting future upgrades, they distract developers when looking for the root cause of a problem, and some cause a disproportionate amount of log clutter because they reappear every time a management command is called. We should clean up as many of these as practical to improve the developer experience when working with the repository.
A/C:
Tasks
pkg_resources
library XBlock#641xblock-utils
dependency open-craft/xblock-poll#114pkg_resources.declare_namespace
. #33592The text was updated successfully, but these errors were encountered: