Skip to content

Upgrade type hint and others to Python 3.9 #4332

Upgrade type hint and others to Python 3.9

Upgrade type hint and others to Python 3.9 #4332

Re-run triggered January 9, 2025 17:15
Status Failure
Total duration 1m 14s
Artifacts

lint.yml

on: pull_request
python-source-and-configs  /  linux-job
0s
python-source-and-configs / linux-job
c-source  /  linux-job
0s
c-source / linux-job
python-types  /  linux-job
0s
python-types / linux-job
bc
1m 2s
bc
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
c-source / linux-job
This request has been automatically failed because it uses a deprecated version of `actions/download-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/. This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
python-types / linux-job
This request has been automatically failed because it uses a deprecated version of `actions/download-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/. This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
python-source-and-configs / linux-job
This request has been automatically failed because it uses a deprecated version of `actions/download-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/. This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/
bc
Process completed with exit code 1.
bc: torchvision/datasets/flickr.py#L29
Function Flickr8kParser.handle_starttag: attrs changed from List[Tuple[str, Optional[str]]] to list[tuple[str, Optional[str]]]
bc: torchvision/datasets/folder.py#L11
Function has_file_allowed_extension: extensions changed from Union[str, Tuple[str, Ellipsis]] to Union[str, tuple[str, Ellipsis]]
bc: torchvision/datasets/folder.py#L51
Function make_dataset: class_to_idx changed from Optional[Dict[str, int]] to Optional[dict[str, int]]
bc: torchvision/datasets/folder.py#L52
Function make_dataset: extensions changed from Optional[Union[str, Tuple[str, Ellipsis]]] to Optional[Union[str, tuple[str, Ellipsis]]]
bc: torchvision/datasets/folder.py#L169
Function DatasetFolder.make_dataset: class_to_idx changed from Dict[str, int] to dict[str, int]
bc: torchvision/datasets/folder.py#L170
Function DatasetFolder.make_dataset: extensions changed from Optional[Tuple[str, Ellipsis]] to Optional[tuple[str, Ellipsis]]
bc: torchvision/datasets/imagenet.py#L188
Function parse_val_archive: wnids changed from Optional[List[str]] to Optional[list[str]]
bc: torchvision/datasets/video_utils.py#L179
Function VideoClips.subset: indices changed from List[int] to list[int]
bc: torchvision/ops/boxes.py#L141
Function clip_boxes_to_image: size changed from Tuple[int, int] to tuple[int, int]
bc: torchvision/ops/deform_conv.py#L19
Function deform_conv2d: stride changed from Tuple[int, int] to tuple[int, int]