Skip to content
Snippets Groups Projects
  1. Mar 07, 2025
  2. Mar 04, 2025
  3. Jan 22, 2025
  4. Jan 16, 2025
  5. Feb 06, 2024
  6. Jan 03, 2024
  7. Dec 16, 2023
  8. Dec 05, 2023
  9. Nov 16, 2023
  10. Nov 14, 2023
  11. Aug 09, 2023
    • Laurent Peuch's avatar
      refactor(modutils)!: remove all unused code by our main core projects · 1c11f393ed40
      Laurent Peuch authored
      modutils code is very old and hard to evolved and maintained and it also
      depends of both imp and pkg_resources which are deprecated old modules that
      will be removed in the future from the core python libraby.
      
      So starting by removing everything that is not needed is a first step to get
      ride of those problems.
      
      This cleanup is based on this analysis:
      
      List of used symbols
      --------------------
      * LazyObject
      * load_module_from_name
      * clean_sys_modules
      * cleanup_sys_modules
      * load_module_from_file
      * modpath_from_file
      
      Internal symbols needed by the used symbols
      -------------------------------------------
      LazyObject
          load_module_from_name
              load_module_from_modpath
                  find_module[imp]
                  load_module[imp]
                  _is_namespace <- pkg_resources
      
      load_module_from_file
          modpath_from_file (deprecated)
              _canonicalize_path
              _check_init
      
          load_module_from_modpath
              find_module[imp]
              load_module[imp]
              _is_namespace <- pkg_resources
      1c11f393ed40
  12. Nov 29, 2023
  13. Oct 26, 2023
  14. Oct 31, 2023
  15. Apr 13, 2023
  16. Oct 26, 2023
Loading