-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
epicLarge unit of work, consisting of multiple tasksLarge unit of work, consisting of multiple taskshelp wantedReady to be picked up by anyone in the communityReady to be picked up by anyone in the communitymaintenanceRoutine upkeep necessary for the health of the platformRoutine upkeep necessary for the health of the platform
Description
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:
- Enumerate all the warnings that appear when provisioning lms & cms in devstack (ideally also noting the number of times each one appears).
- Logs from recent provisioning runs can be found at https://github.com/openedx/devstack/actions/workflows/provisioning-tests.yml .
- While we also want to fix warnings that show up for other services, the scope of this issues is the ones generated from edx-platform.
- Create a separate GitHub Issue in this repository to resolve each warning. They should get the "maintenance" and "help wanted" labels.
- Create a tasklist in this issue collecting all the created issues.
Tasks
- Fix/Ignore: [Bourbon] [Deprecation] rem is deprecated and will be removed in 5.0.0. #33571
- fix: Django now detects this configuration automatically. You can remove default_app_config. #33572
- Switch off of deprecated
pkg_resources
library XBlock#641 - noisy warning: Flag "[name]" accessed without a request, which is likely in the context of a celery task. edx-toggles#320
- fix/ignore: Replace Bourbon mixins with Autoprefixer warnings #33573
- Remove
xblock-utils
dependency open-craft/xblock-poll#114 - fix: edX Studio doesn't support third-party handler urls for XBlock <class 'xblock.internal.VideoBlockWithMixins'> #33581
- Fix: DeprecationWarning: XBlocks should not instantiate their own field_data store during parse_xml() #33582
- fix: please use ModelBase.available_objects to continue excluding soft-deleted objects. edx-enterprise#1927
- Fix: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0 #33583
- fix python deprecation warnings: collections.abc , HTTPResponse.getheaders(), add_custom_parameter #33584
- fix: Flags not at the start of the expression #33585
- fix: Cannot inherit metadata to {block_type} block with KVS #33586
- Fix: runtime.user_id is deprecated. Use block.scope_ids.user_id or the user service instead. #33587
- Fix: XBlock <class 'xblock.internal.DiscussionXBlockWithMixins'> does not contain field url_name #33588
- fix/ignore: DeprecationWarning: Deprecated call to
pkg_resources.declare_namespace
. #33592 - Remove boto, upgrade boto3 & botocore #31175
- Fix: Use of runtime.render_template is deprecated. Use MakoService.render_template or a JavaScript-based template instead. #33589
- fix DeprecationWarning: defusedxml.lxml is no longer supported and will be removed in a future release. from defusedxml.lxml import DTDForbidden, EntitiesForbidden, NotSupportedError #33621
- fix RemovedInDjango40Warning: The DEFAULT_HASHING_ALGORITHM transitional setting is deprecated. #33622
- RemovedInDjango51Warning: django.core.files.storage.get_storage_class is deprecated in favor of using django.core.files.storage.storages. #35023
- DeprecationWarning: .text & .listdir are deprecated #35044
- DeprecationWarning: The 'type' attribute is deprecated in Shapely. #35176
- DeprecationWarning: assertDictContainsSubset is deprecated #35175
Metadata
Metadata
Assignees
Labels
epicLarge unit of work, consisting of multiple tasksLarge unit of work, consisting of multiple taskshelp wantedReady to be picked up by anyone in the communityReady to be picked up by anyone in the communitymaintenanceRoutine upkeep necessary for the health of the platformRoutine upkeep necessary for the health of the platform
Type
Projects
Status
🆕 New