File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -720,7 +720,7 @@ def __init__(
720720 self ._meson_cross_file .write_text (cross_file_data , encoding = 'utf-8' )
721721 self ._meson_args ['setup' ].extend (('--cross-file' , os .fspath (self ._meson_cross_file )))
722722 elif sysconfig .get_platform ().startswith ('ios-' ):
723- ios_ver = platform .ios_ver ()
723+ ios_ver = platform .ios_ver () # type: ignore[attr-defined]
724724
725725 arch = platform .machine ()
726726 family = 'aarch64' if arch == 'arm64' else arch
Original file line number Diff line number Diff line change @@ -166,7 +166,7 @@ def _get_ios_platform_tag() -> str:
166166 try :
167167 version = tuple (map (int , os .environ .get ('IPHONEOS_DEPLOYMENT_TARGET' , '' ).split ('.' )))[:2 ]
168168 except ValueError :
169- version = tuple (map (int , platform .ios_ver ().release .split ('.' )))[:2 ]
169+ version = tuple (map (int , platform .ios_ver ().release .split ('.' )))[:2 ] # type: ignore[attr-defined]
170170
171171 # Although _multiarch is an internal implementation detail, it's a core part
172172 # of how CPython is implemented on iOS; this attribute is also relied upon
You can’t perform that action at this time.
0 commit comments