swiftlang / swift-docker

Docker Official Image packaging for Swift
https://swift.org
Apache License 2.0
1.35k stars 182 forks source link

Add support for Swift 5.10 Release #372

Closed shahmishal closed 5 months ago

shahmishal commented 5 months ago

@swift-ci test

brandonmaul commented 5 months ago

It looks like in Build 106 ci_test.py failed due to trying to import the whole of urllib2 with Python 3, which isn't supported by urllib2.

Recommend conditionally importing urllib2 in ci_test.py via something like...

try:
    from urllib2 import urlopen
except ImportError:
    from urllib.request import urlopen