Skip to content

Commit

Permalink
[py] delete unneeded wheel files and clean up bazel around this.
Browse files Browse the repository at this point in the history
Everything now uses requirements files now so they are no longer being used.
  • Loading branch information
AutomatedTester committed Nov 13, 2020
1 parent 9d6c5f7 commit c8a7cb1
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 102 deletions.
26 changes: 4 additions & 22 deletions py/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,10 @@ py_library(
imports = ["."],
visibility = ["//visibility:public"],
deps = [
"//third_party/py:certifi",
"//third_party/py:urllib3",
requirement("trio"),
requirement("trio_websocket"),
requirement("urllib3"),
requirement("certifi"),
],
)

Expand Down Expand Up @@ -188,8 +190,6 @@ py_test_suite(
requirement("pytest-trio"),
requirement("sortedcontainers"),
requirement("sniffio"),
requirement("trio"),
requirement("trio_websocket"),
requirement("zipp"),
],
)
Expand Down Expand Up @@ -241,8 +241,6 @@ py_test_suite(
requirement("pytest-trio"),
requirement("sortedcontainers"),
requirement("sniffio"),
requirement("trio"),
requirement("trio_websocket"),
requirement("zipp"),
],
)
Expand Down Expand Up @@ -281,8 +279,6 @@ py_test_suite(
requirement("pytest-trio"),
requirement("sortedcontainers"),
requirement("sniffio"),
requirement("trio"),
requirement("trio_websocket"),
requirement("zipp"),
],
)
Expand Down Expand Up @@ -321,8 +317,6 @@ py_test_suite(
requirement("pytest-trio"),
requirement("sortedcontainers"),
requirement("sniffio"),
requirement("trio"),
requirement("trio_websocket"),
requirement("zipp"),
],
)
Expand Down Expand Up @@ -361,8 +355,6 @@ py_test_suite(
requirement("pytest-trio"),
requirement("sortedcontainers"),
requirement("sniffio"),
requirement("trio"),
requirement("trio_websocket"),
requirement("zipp"),
],
)
Expand Down Expand Up @@ -403,8 +395,6 @@ py_test_suite(
requirement("pytest-trio"),
requirement("sortedcontainers"),
requirement("sniffio"),
requirement("trio"),
requirement("trio_websocket"),
requirement("zipp"),
],
)
Expand Down Expand Up @@ -443,8 +433,6 @@ py_test_suite(
requirement("pytest-trio"),
requirement("sortedcontainers"),
requirement("sniffio"),
requirement("trio"),
requirement("trio_websocket"),
requirement("zipp"),
],
)
Expand Down Expand Up @@ -484,8 +472,6 @@ py_test_suite(
requirement("pytest-trio"),
requirement("sortedcontainers"),
requirement("sniffio"),
requirement("trio"),
requirement("trio_websocket"),
requirement("zipp"),
],
)
Expand Down Expand Up @@ -526,8 +512,6 @@ py_test_suite(
requirement("pytest-trio"),
requirement("sortedcontainers"),
requirement("sniffio"),
requirement("trio"),
requirement("trio_websocket"),
requirement("zipp"),
],
)
Expand Down Expand Up @@ -568,8 +552,6 @@ py_test_suite(
requirement("pytest-trio"),
requirement("sortedcontainers"),
requirement("sniffio"),
requirement("trio"),
requirement("trio_websocket"),
requirement("zipp"),
],
)
2 changes: 2 additions & 0 deletions py/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
attrs
certifi
dataclasses
debugpy
h11
Expand All @@ -19,4 +20,5 @@ sortedcontainers
sniffio
trio
trio_websocket
urllib3
zipp
80 changes: 0 additions & 80 deletions third_party/py/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,83 +13,3 @@ py_import(
],
)

py_import(
name = "mock",
wheel = "mock-2.0.0-py2.py3-none-any.whl",
deps = [
":pbr",
":six",
],
)

py_import(
name = "pbr",
wheel = "pbr-2.0.0-py2.py3-none-any.whl",
)

py_import(
name = "py",
wheel = "py-1.4.32-py2.py3-none-any.whl",
)

py_import(
name = "pytest",
visibility = [
"//visibility:public",
],
wheel = "pytest-3.0.3-py2.py3-none-any.whl",
deps = [
":py",
":pytest-instafail",
":pytest-mock",
# ":pytest-timeout",
":pytest-xdist",
],
)

py_import(
name = "pytest-mock",
wheel = "pytest_mock-1.5.0-py2.py3-none-any.whl",
deps = [
"mock",
],
)

py_import(
name = "pytest-instafail",
wheel = "pytest-instafail-0.3.0.tar.gz",
)

py_import(
name = "pytest-timeout",
wheel = "pytest_timeout-1.2.0-py2.py3-none-any.whl",
)

py_import(
name = "pytest-xdist",
wheel = "pytest-xdist-1.15.0.tar.gz",
deps = [
":execnet",
],
)

py_import(
name = "six",
wheel = "six-1.11.0.tar.gz",
)

py_import(
name = "urllib3",
visibility = [
"//visibility:public",
],
wheel = "urllib3-1.23-py2.py3-none-any.whl",
)

py_import(
name = "certifi",
visibility = [
"//visibility:public",
],
wheel = "certifi-2018.8.24-py2.py3-none-any.whl",
)
Binary file removed third_party/py/certifi-2018.11.29.tar.gz
Binary file not shown.
Binary file not shown.
Binary file removed third_party/py/pytest-3.0.3-py2.py3-none-any.whl
Binary file not shown.
Binary file removed third_party/py/pytest-instafail-0.3.0.tar.gz
Binary file not shown.
Binary file removed third_party/py/pytest-xdist-1.15.0.tar.gz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed third_party/py/urllib3-1.23-py2.py3-none-any.whl
Binary file not shown.
Binary file removed third_party/py/urllib3-1.24.1.tar.gz
Binary file not shown.

0 comments on commit c8a7cb1

Please sign in to comment.