#12 Image_spec migration to Image
Pull request opened by
yuhuan130
COMPATIBLE
Name: [str] -> Name: [str]
python_version: [str] -> python_version: Tuple[int, int]
base_image: [str, "ImageSpec"] -> base_image: [str]
registry: [str] -> registry: [str]
platform -> This is a bit sketchy, since we can't modify the platform directly.
apt_packages: List[str] -> AptPackages(*packages: str)
packages: List[str] -> PipPackages(*packages: str)
pip_index: [str] -> PipPackages(index_url: [str])
pip_extra_index_url: List[str] -> PipPackages(extra_index_urls: [str, List[str], Tuple[str]]
pip_secret_mounts: List[Tuple[str, str]] -> PipPackages(secret_mounts: [SecretRequest]), *first argument in secret_request could have had a better replacement
pip_extra_args: [str] -> PipPackages(extra_args: [str])
env: Dict[str, str] -> Env(env_vars: Dict[str, str])
commands: List[str] -> Command(commands: List[str])
requirements: [str] -> Requirements(file: str | Path)
copy: List[str] -> CopyConfig(path_type=[0, 1])
source_root: [str] -> CopyConfig(path_type=1, copy_contents_only=True))
NOT COMPATIBLE
conda_packages
conda_channels
cuda
cudnn
registry_config
entrypoint
tag_format
source_copy_mode
python_exec
runtime_packages
builder -> local | remote
builder_options
builder_config
YOU ARE VERY WELCOME TO HELP OUT
Screenshot 2025-11-27 at 19 34 05
flyteorg/flyte-migrate