Skip to content

Commit 8297511

Browse files
committed
cleanup(pycross): remove the partially migrated code
The migration effort has stalled and we closed the initiative. #1360
1 parent d6af2b7 commit 8297511

12 files changed

+1
-834
lines changed

WORKSPACE

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ python_register_multi_toolchains(
7878
python_versions = PYTHON_VERSIONS,
7979
)
8080

81-
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive", "http_file")
81+
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
8282

8383
# Used for Bazel CI
8484
http_archive(
@@ -155,14 +155,3 @@ pip_parse(
155155
load("@dev_pip//:requirements.bzl", docs_install_deps = "install_deps")
156156

157157
docs_install_deps()
158-
159-
# This wheel is purely here to validate the wheel extraction code. It's not
160-
# intended for anything else.
161-
http_file(
162-
name = "wheel_for_testing",
163-
downloaded_file_path = "numpy-1.25.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
164-
sha256 = "0d60fbae8e0019865fc4784745814cff1c421df5afee233db6d88ab4f14655a2",
165-
urls = [
166-
"https://files.pythonhosted.org/packages/50/67/3e966d99a07d60a21a21d7ec016e9e4c2642a86fea251ec68677daf71d4d/numpy-1.25.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
167-
],
168-
)

python/private/internal_dev_deps.bzl

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,23 +14,11 @@
1414
"""Module extension for internal dev_dependency=True setup."""
1515

1616
load("@bazel_ci_rules//:rbe_repo.bzl", "rbe_preconfig")
17-
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_file")
1817
load(":runtime_env_repo.bzl", "runtime_env_repo")
1918

2019
def _internal_dev_deps_impl(mctx):
2120
_ = mctx # @unused
2221

23-
# This wheel is purely here to validate the wheel extraction code. It's not
24-
# intended for anything else.
25-
http_file(
26-
name = "wheel_for_testing",
27-
downloaded_file_path = "numpy-1.25.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
28-
sha256 = "0d60fbae8e0019865fc4784745814cff1c421df5afee233db6d88ab4f14655a2",
29-
urls = [
30-
"https://files.pythonhosted.org/packages/50/67/3e966d99a07d60a21a21d7ec016e9e4c2642a86fea251ec68677daf71d4d/numpy-1.25.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl",
31-
],
32-
)
33-
3422
# Creates a default toolchain config for RBE.
3523
# Use this as is if you are using the rbe_ubuntu16_04 container,
3624
# otherwise refer to RBE docs.

tests/pycross/0001-Add-new-file-for-testing-patch-support.patch

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

tests/pycross/BUILD.bazel

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

tests/pycross/patched_py_wheel_library_test.py

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

tests/pycross/py_wheel_library_test.py

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

0 commit comments

Comments
 (0)