Skip to content

Commit bf69889

Browse files
committed
DOC: Clarify Python 3.9 compatibility by adding comments to from __future__ import annotations in all scripts
1 parent fa51e45 commit bf69889

9 files changed

Lines changed: 9 additions & 9 deletions

‎scripts/BuildManager.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from __future__ import annotations
1+
from __future__ import annotations # Needed for python 3.9 to support python 3.10 style typehints
22

33
import json
44
import time

‎scripts/build_python_instance_base.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from __future__ import annotations
1+
from __future__ import annotations # Needed for python 3.9 to support python 3.10 style typehints
22

33
import os
44
import sys

‎scripts/build_wheels.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python3
2-
from __future__ import annotations
2+
from __future__ import annotations # Needed for python 3.9 to support python 3.10 style typehints
33

44
import os
55
import sys

‎scripts/cmake_argument_builder.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from __future__ import annotations
1+
from __future__ import annotations # Needed for python 3.9 to support python 3.10 style typehints
22

33
from typing import Dict, Iterable, Iterator, Mapping, MutableMapping, Tuple
44

‎scripts/linux_build_python_instance.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from __future__ import annotations
1+
from __future__ import annotations # Needed for python 3.9 to support python 3.10 style typehints
22

33
import copy
44
import os

‎scripts/macos_build_python_instance.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from __future__ import annotations
1+
from __future__ import annotations # Needed for python 3.9 to support python 3.10 style typehints
22

33
import copy
44
import os

‎scripts/pyproject_configure.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
from __future__ import annotations
2+
from __future__ import annotations # Needed for python 3.9 to support python 3.10 style typehints
33

44
import argparse
55
import os

‎scripts/wheel_builder_utils.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
See https://github.com/scikit-build/scikit-build
55
"""
66

7-
from __future__ import annotations
7+
from __future__ import annotations # Needed for python 3.9 to support python 3.10 style typehints
88

99
import os
1010
import shutil

‎scripts/windows_build_python_instance.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from __future__ import annotations
1+
from __future__ import annotations # Needed for python 3.9 to support python 3.10 style typehints
22

33
import copy
44
import os

0 commit comments

Comments
 (0)