Backport v2024 <- v2025dev2: Release apertis-dev-tools version 0.2024.2
Compare changes
- Dylan Aïssi authored
pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13. Some warnings are generated with Python 3.11: import-debian-package:281: DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op with Path(".git/info/attributes") as f: import-debian-package:225: DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op with Path('debian/apertis/component') as f: import-debian-package:169: DeprecationWarning: pathlib.Path.__enter__() is deprecated and scheduled for removal in Python 3.13; Path objects as a context manager is a no-op with Path("debian/changelog") as f: Signed-off-by:
Dylan Aïssi <dylan.aissi@collabora.com>
+ 28
− 28
@@ -166,23 +166,23 @@ def ensure_dir_or_none(path: Optional[str]):
@@ -222,10 +222,10 @@ def import_debian_dsc(args, dsc_file: Path, upstream: str, downstream: str, vers
@@ -278,9 +278,9 @@ def do_import(args):
@@ -355,10 +355,10 @@ def do_import(args):