Skip to content

Commit 9f0e0a6

Browse files
committed
build: remove PythonKit integration
1 parent 771083a commit 9f0e0a6

File tree

6 files changed

+0
-130
lines changed

6 files changed

+0
-130
lines changed

utils/build-script

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,6 @@ def validate_arguments(toolchain, args):
219219
targets_needing_toolchain = [
220220
'build_indexstoredb',
221221
'build_playgroundsupport',
222-
'build_pythonkit',
223222
'build_sourcekitlsp',
224223
'build_tensorflow_swift_apis',
225224
'build_toolchainbenchmarks',
@@ -273,7 +272,6 @@ def apply_default_arguments(toolchain, args):
273272
ninja_required = (
274273
args.build_foundation or
275274
args.build_indexstoredb or
276-
args.build_pythonkit or
277275
args.build_sourcekitlsp or
278276
args.build_tensorflow_swift_apis or
279277
args.cmake_generator == 'Ninja'
@@ -891,8 +889,6 @@ class BuildScriptInvocation(object):
891889
product_classes.append(products.IndexStoreDB)
892890
if self.args.build_playgroundsupport:
893891
product_classes.append(products.PlaygroundSupport)
894-
if self.args.build_pythonkit:
895-
product_classes.append(products.PythonKit)
896892
if self.args.build_tensorflow_swift_apis:
897893
product_classes.append(products.TensorFlowSwiftAPIs)
898894
if self.args.build_sourcekitlsp:

utils/build_swift/build_swift/driver_arguments.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -598,8 +598,6 @@ def create_argument_parser():
598598
toggle_true('swiftsyntax_verify_generated_files'),
599599
help='set to verify that the generated files in the source tree '
600600
'match the ones that would be generated from current master')
601-
option(['--install-pythonkit'], toggle_true('install_pythonkit'),
602-
help='install PythonKit')
603601
option(['--install-sourcekit-lsp'], toggle_true('install_sourcekitlsp'),
604602
help='install SourceKitLSP')
605603
option(['--install-skstresstester'], toggle_true('install_skstresstester'),
@@ -635,9 +633,6 @@ def create_argument_parser():
635633
store_true('install_playgroundsupport'),
636634
help='install playground support')
637635

638-
option('--pythonkit', store_true('build_pythonkit'),
639-
help='build PythonKit')
640-
641636
option('--tensorflow-swift-apis', store_true('build_tensorflow_swift_apis'),
642637
help='build TensorFlow Swift APIs')
643638
option('--install-tensorflow-swift-apis',
@@ -895,9 +890,6 @@ def create_argument_parser():
895890
option('--skip-test-cygwin', toggle_false('test_cygwin'),
896891
help='skip testing Swift stdlibs for Cygwin')
897892

898-
option('--test-pythonkit', toggle_true('test_pythonkit'),
899-
help='skip testing PythonKit')
900-
901893
# -------------------------------------------------------------------------
902894
in_group('Run build')
903895

utils/build_swift/tests/expected_options.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,6 @@
7878
'build_ninja': False,
7979
'build_osx': True,
8080
'build_playgroundsupport': False,
81-
'build_pythonkit': False,
8281
'build_runtime_with_host_compiler': False,
8382
'build_stdlib_deployment_targets': ['all'],
8483
'build_subdir': None,
@@ -105,7 +104,6 @@
105104
'install_swiftsyntax': False,
106105
'swiftsyntax_verify_generated_files': False,
107106
'install_playgroundsupport': False,
108-
'install_pythonkit': False,
109107
'install_sourcekitlsp': False,
110108
'install_skstresstester': False,
111109
'install_swiftevolve': False,
@@ -223,7 +221,6 @@
223221
'test_optimized': None,
224222
'test_osx': False,
225223
'test_paths': [],
226-
'test_pythonkit': False,
227224
'test_swift_inspect': True,
228225
'test_tvos': False,
229226
'test_tvos_host': False,
@@ -468,11 +465,8 @@ class BuildScriptImplOption(_BaseOption):
468465
SetTrueOption('--maccatalyst', dest='maccatalyst'),
469466
SetTrueOption('--maccatalyst-ios-tests', dest='maccatalyst_ios_tests'),
470467
SetTrueOption('--playgroundsupport', dest='build_playgroundsupport'),
471-
SetTrueOption('--pythonkit', dest='build_pythonkit'),
472468
SetTrueOption('--install-playgroundsupport',
473469
dest='install_playgroundsupport'),
474-
SetTrueOption('--install-pythonkit', dest='install_pythonkit'),
475-
SetTrueOption('--test-pythonkit', dest='test_pythonkit'),
476470
SetTrueOption('--tensorflow-swift-apis', dest='build_tensorflow_swift_apis'),
477471
SetTrueOption('--install-tensorflow-swift-apis',
478472
dest='install_tensorflow_swift_apis'),

utils/swift_build_support/swift_build_support/products/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
from .llvm import LLVM
2323
from .ninja import Ninja
2424
from .playgroundsupport import PlaygroundSupport
25-
from .pythonkit import PythonKit
2625
from .skstresstester import SKStressTester
2726
from .sourcekitlsp import SourceKitLSP
2827
from .swift import Swift
@@ -48,7 +47,6 @@
4847
'LLVM',
4948
'Ninja',
5049
'PlaygroundSupport',
51-
'PythonKit',
5250
'Swift',
5351
'SwiftFormat',
5452
'SwiftInspect',

utils/swift_build_support/swift_build_support/products/pythonkit.py

Lines changed: 0 additions & 104 deletions
This file was deleted.

utils/update_checkout/update-checkout-config.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@
4343
"remote": { "id": "KitWare/CMake" },
4444
"platforms": [ "Linux" ]
4545
},
46-
"pythonkit": {
47-
"remote": { "id": "pvieito/PythonKit" }
48-
},
4946
"tensorflow-swift-apis": {
5047
"remote": { "id": "tensorflow/swift-apis" }
5148
},
@@ -85,7 +82,6 @@
8582
"indexstore-db": "master",
8683
"sourcekit-lsp": "master",
8784
"swift-format": "master",
88-
"pythonkit": "master",
8985
"tensorflow-swift-apis": "master"
9086
}
9187
},
@@ -117,7 +113,6 @@
117113
"indexstore-db": "master",
118114
"sourcekit-lsp": "master",
119115
"swift-format": "master",
120-
"pythonkit": "master",
121116
"tensorflow-swift-apis": "master"
122117
}
123118
},
@@ -315,7 +310,6 @@
315310
"indexstore-db": "release/5.3",
316311
"sourcekit-lsp": "release/5.3",
317312
"swift-format": "master",
318-
"pythonkit": "master",
319313
"tensorflow-swift-apis": "master"
320314
}
321315
},

0 commit comments

Comments
 (0)