Skip to content

Commit c0d5daa

Browse files
authored
Migrate to python3 (#5549)
Main swift project moved to python3, moving swiftpm build tools to python3 to match.
1 parent 53b33c4 commit c0d5daa

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

Utilities/Docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,6 @@ RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/nul
4040
RUN apt-add-repository "deb https://apt.kitware.com/ubuntu/ $ubuntu_version main"
4141

4242
RUN apt-get install -y \
43-
python \
43+
python3 \
4444
cmake \
4545
ninja-build

Utilities/bootstrap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
# encoding: utf-8
33

44
"""

Utilities/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
##===----------------------------------------------------------------------===##
33
##
44
## This source file is part of the Swift open source project

Utilities/soundness.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ EOF
8686
exceptions=( -path "./Examples/*" -o -path "./Fixtures/*" -o -path "./IntegrationTests/*" )
8787
matching_files=( -name '*.py' )
8888
cat > "$tmp" <<"EOF"
89-
#!/usr/bin/env python
89+
#!/usr/bin/env python3
9090
##===----------------------------------------------------------------------===##
9191
##
9292
## This source file is part of the Swift open source project

Utilities/test-toolchain

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/env python
1+
#!/usr/bin/env python3
22
##===----------------------------------------------------------------------===##
33
##
44
## This source file is part of the Swift open source project

0 commit comments

Comments
 (0)