Use Python 3.12 for internal code (#2222)

* Use Python 3.12 for internal code

* Add changelog entry
This commit is contained in:
Ayaz Salikhov
2025-02-18 15:26:06 +00:00
committed by GitHub
parent e57047801c
commit 80b71625f0
15 changed files with 33 additions and 39 deletions

View File

@@ -27,7 +27,7 @@ import logging
import re
from collections import defaultdict
from itertools import chain
from typing import Any, Optional
from typing import Any
from docker.models.containers import Container
from tabulate import tabulate
@@ -44,9 +44,9 @@ class CondaPackageHelper:
self.running_container: Container = CondaPackageHelper.start_container(
container
)
self.requested: Optional[dict[str, set[str]]] = None
self.installed: Optional[dict[str, set[str]]] = None
self.available: Optional[dict[str, set[str]]] = None
self.requested: dict[str, set[str]] | None = None
self.installed: dict[str, set[str]] | None = None
self.available: dict[str, set[str]] | None = None
self.comparison: list[dict[str, str]] = []
@staticmethod