Skip to content

Commit bb718b3

Browse files
Copilotphlax
andauthored
refactor macros to derive runtime test deps from setup.cfg
Agent-Logs-Url: https://github.com/envoyproxy/toolshed/sessions/2c4bea7b-f6c0-4322-8f6e-b4f7e4d7190b Co-authored-by: phlax <454682+phlax@users.noreply.github.com>
1 parent 4e4e75d commit bb718b3

37 files changed

Lines changed: 38 additions & 232 deletions

File tree

  • py

py/_test_publish_pkg/_test_publish_pkg/BUILD

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,6 @@
88

99
target(
1010
name="dev_deps",
11-
dependencies=[
12-
"//py/deps:reqs#aiohttp",
13-
"//py/deps:reqs#packaging",
14-
"//py/deps:reqs#pyyaml",
15-
],
1611
)
1712

1813
toolshed_library(

py/aio.api.bazel/aio/api/bazel/BUILD

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11

22
toolshed_library(
33
"aio.api.bazel",
4-
dependencies=[
5-
"//py/deps:reqs#abstracts",
6-
"//py/deps:reqs#aio-core",
7-
"//py/deps:reqs#aio-run-runner",
8-
],
94
sources=[
105
"abstract/__init__.py",
116
"abstract/base.py",

py/aio.api.bazel/tests/BUILD

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
11

2-
toolshed_tests(
3-
"aio.api.bazel",
4-
dependencies=[
5-
"//py/deps:reqs#abstracts",
6-
"//py/deps:reqs#aio-core",
7-
"//py/deps:reqs#aio-run-runner",
8-
],
9-
)
2+
toolshed_tests("aio.api.bazel")

py/aio.api.github/aio/api/github/BUILD

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11

22
toolshed_library(
33
"aio.api.github",
4-
dependencies=[
5-
"//py/deps:reqs#abstracts",
6-
"//py/deps:reqs#aio-core",
7-
"//py/deps:reqs#aiohttp",
8-
"//py/deps:reqs#gidgethub",
9-
"//py/deps:reqs#packaging",
10-
],
114
sources=[
125
"abstract/__init__.py",
136
"abstract/actions/__init__.py",

py/aio.api.github/tests/BUILD

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,6 @@
22
toolshed_tests(
33
"aio.api.github",
44
dependencies=[
5-
"//py/deps:reqs#abstracts",
6-
"//py/deps:reqs#aio-core",
7-
"//py/deps:reqs#aiohttp",
8-
"//py/deps:reqs#gidgethub",
9-
"//py/deps:reqs#packaging",
105
"//py/deps:reqs#pytest-asyncio",
116
],
127
)

py/aio.api.nist/aio/api/nist/BUILD

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,6 @@
11

22
toolshed_library(
33
"aio.api.nist",
4-
dependencies=[
5-
"//py/deps:reqs#abstracts",
6-
"//py/deps:reqs#aio-core",
7-
"//py/deps:reqs#aiohttp",
8-
"//py/deps:reqs#packaging",
9-
],
104
sources=[
115
"abstract/__init__.py",
126
"abstract/cpe.py",

py/aio.api.nist/tests/BUILD

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
11

2-
toolshed_tests(
3-
"aio.api.nist",
4-
dependencies=[
5-
"//py/deps:reqs#abstracts",
6-
],
7-
)
2+
toolshed_tests("aio.api.nist")

py/aio.core/tests/BUILD

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,2 @@
11

2-
toolshed_tests(
3-
"aio.core",
4-
dependencies=[
5-
"//py/deps:reqs#abstracts",
6-
"//py/deps:reqs#pyyaml",
7-
"//py/deps:reqs#trycast",
8-
],
9-
)
2+
toolshed_tests("aio.core")
Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,4 @@
11

22
toolshed_library(
33
"aio.run.checker",
4-
dependencies=[
5-
"//py/deps:reqs#aio-run-runner",
6-
],
74
)

py/aio.run.checker/tests/BUILD

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,2 @@
11

2-
toolshed_tests(
3-
"aio.run.checker",
4-
dependencies=[
5-
"//py/deps:reqs#aio-run-runner",
6-
],
7-
)
2+
toolshed_tests("aio.run.checker")

0 commit comments

Comments
 (0)