Skip to content
Snippets Groups Projects
  1. Feb 25, 2025
    • Dylan Aïssi's avatar
      import-debian-package: stop using a PosixPath object as context manager · 90900ab6
      Dylan Aïssi authored
      
      This is no longer supported since Python 3.13 and leads
      to the following error:
      
      Traceback (most recent call last):
        File "/builds/pkg/apertis-dev-tools/tests/import-debian-package/../../tools/import-debian-package", line 681, in <module>
          main(sys.argv)
          ~~~~^^^^^^^^^^
        File "/builds/pkg/apertis-dev-tools/tests/import-debian-package/../../tools/import-debian-package", line 666, in main
          do_import(args)
          ~~~~~~~~~^^^^^^
        File "/builds/pkg/apertis-dev-tools/tests/import-debian-package/../../tools/import-debian-package", line 396, in do_import
          with ensure_dir_or_none(args.cache_dir) or TemporaryDirectory() as downloaddir:
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      TypeError: 'PosixPath' object does not support the context manager protocol
      
      Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
      90900ab6
  2. Feb 20, 2025
  3. Jan 17, 2025
  4. Jan 15, 2025
  5. Jan 14, 2025
  6. Jan 07, 2025
  7. Oct 08, 2024
  8. Oct 07, 2024
  9. Oct 03, 2024
  10. Oct 02, 2024
Loading