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

@@ -1,7 +1,6 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
from dataclasses import dataclass, field
from typing import Optional
from tagging.manifests import (
AptPackagesManifest,
@@ -32,7 +31,7 @@ from tagging.taggers import (
@dataclass
class ImageDescription:
parent_image: Optional[str]
parent_image: str | None
taggers: list[TaggerInterface] = field(default_factory=list)
manifests: list[ManifestInterface] = field(default_factory=list)