Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Fixing ResourceWarnings

    • ResourceWarnings occur when any resource has been allocated but isn’t completely unallocated/removed. https://2u-internal.atlassian.net/browse/BOM-3346 documents an initial effort on fixing such warnings.

      • Use tracemalloc() to find the point of allocation of any unallocated resource in the code.

      • Update/Refactor the code to properly un-allocate the resource after usage by using either try/catch or preferably using with context manager.

  • Fixing DeprecationWarnings

    • DeprecationWarnings occur when the deprecated code is still being used anywhere in the code. https://github.com/openedx/edx-platform/pull/30398 is an initial attempt to fix some of the DeprecationWarnings occurring due to the opaque-keys package.

      • This PR fixes one type of warnings and resolves around ~1000 deprecation warnings.

How to engage Open Source Community on this?

...