Skip to content

Commit

Permalink
pants: Shift requirements -> deps/requirements (#94)
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Northey <[email protected]>
  • Loading branch information
phlax authored Sep 14, 2021
1 parent 56e7735 commit e21724f
Show file tree
Hide file tree
Showing 58 changed files with 180 additions and 125 deletions.
2 changes: 0 additions & 2 deletions BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +0,0 @@

python_requirements()
2 changes: 1 addition & 1 deletion abstracts/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="abstracts")
pytooling_package("abstracts")
2 changes: 1 addition & 1 deletion aio.functional/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="aio.functional")
pytooling_package("aio.functional")
4 changes: 2 additions & 2 deletions aio.functional/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pytooling_tests(
"aio.functional",
dependencies=[
"//:abstracts",
"//:pytest-asyncio",
"//deps:abstracts",
"//deps:pytest-asyncio",
],
)
2 changes: 1 addition & 1 deletion aio.stream/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="aio.stream")
pytooling_package("aio.stream")
6 changes: 3 additions & 3 deletions aio.stream/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
pytooling_tests(
"aio.stream",
dependencies=[
"//:aiofiles",
"//:aiohttp",
"//:pytest-asyncio",
"//deps:aiofiles",
"//deps:aiohttp",
"//deps:pytest-asyncio",
],
)
2 changes: 1 addition & 1 deletion aio.subprocess/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="aio.subprocess")
pytooling_package("aio.subprocess")
2 changes: 1 addition & 1 deletion aio.subprocess/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
pytooling_tests(
"aio.subprocess",
dependencies=[
"//:pytest-asyncio",
"//deps:pytest-asyncio",
],
)
2 changes: 1 addition & 1 deletion aio.tasks/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="aio.tasks")
pytooling_package("aio.tasks")
7 changes: 6 additions & 1 deletion aio.tasks/aio/tasks/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@

pytooling_library("aio.tasks")
pytooling_library(
"aio.tasks",
dependencies=[
"//deps:aio.functional",
],
)
2 changes: 1 addition & 1 deletion aio.tasks/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
pytooling_tests(
"aio.tasks",
dependencies=[
"//:pytest-asyncio",
"//deps:pytest-asyncio",
],
)
2 changes: 2 additions & 0 deletions deps/BUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@

python_requirements()
37 changes: 37 additions & 0 deletions deps/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
aio.functional>=0.0.9
aio.stream>=0.0.2
aio.subprocess>=0.0.4
aio.tasks>=0.0.4
aiodocker
aiofiles
aiohttp
abstracts>=0.0.12
coloredlogs
envoy.abstract.command>=0.0.3
envoy.base.checker>=0.0.2
envoy.base.runner>=0.0.4
envoy.base.utils>=0.0.8
envoy.code_format.python_check>=0.0.4
envoy.dependency.pip_check>=0.0.4
envoy.distribution.distrotest>=0.0.3
envoy.distribution.release>=0.0.4
envoy.distribution.repo>=0.0.2
envoy.distribution.verify>=0.0.2
envoy.docker.utils>=0.0.2
envoy.github.abstract>=0.0.16
envoy.github.release>=0.0.8
envoy.gpg.identity>=0.0.2
envoy.gpg.sign>=0.0.3
flake8
frozendict
gidgethub
mypy
mypy-abstracts
pytest-patches
pytest-asyncio
python-gnupg
pyyaml
trycast
verboselogs
wheel-inspect
yapf
2 changes: 1 addition & 1 deletion envoy.abstract.command/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="envoy.abstract.command")
pytooling_package("envoy.abstract.command")
3 changes: 2 additions & 1 deletion envoy.abstract.command/envoy/abstract/command/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
pytooling_library(
"envoy.abstract.command",
dependencies=[
"//:abstracts",
"//deps:abstracts",
"//deps:aio.functional",
],
)
4 changes: 2 additions & 2 deletions envoy.abstract.command/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pytooling_tests(
"envoy.abstract.command",
dependencies=[
"//:abstracts",
"//:pytest-asyncio",
"//deps:abstracts",
"//deps:pytest-asyncio",
],
)
2 changes: 1 addition & 1 deletion envoy.base.checker/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="envoy.base.checker")
pytooling_package("envoy.base.checker")
4 changes: 2 additions & 2 deletions envoy.base.checker/envoy/base/checker/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pytooling_library(
"envoy.base.checker",
dependencies=[
"//:envoy.base.runner",
"//:abstracts",
"//deps:envoy.base.runner",
"//deps:abstracts",
],
)
4 changes: 2 additions & 2 deletions envoy.base.checker/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pytooling_tests(
"envoy.base.checker",
dependencies=[
"//:envoy.base.runner",
"//:pytest-asyncio",
"//deps:envoy.base.runner",
"//deps:pytest-asyncio",
],
)
2 changes: 1 addition & 1 deletion envoy.base.runner/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="envoy.base.runner")
pytooling_package("envoy.base.runner")
4 changes: 2 additions & 2 deletions envoy.base.runner/envoy/base/runner/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pytooling_library(
"envoy.base.runner",
dependencies=[
"//:envoy.abstract.command",
"//:abstracts",
"//deps:envoy.abstract.command",
"//deps:abstracts",
],
)
4 changes: 2 additions & 2 deletions envoy.base.runner/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pytooling_tests(
"envoy.base.runner",
dependencies=[
"//:abstracts",
"//:pytest-asyncio",
"//deps:abstracts",
"//deps:pytest-asyncio",
],
)
2 changes: 1 addition & 1 deletion envoy.base.utils/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="envoy.base.utils")
pytooling_package("envoy.base.utils")
2 changes: 1 addition & 1 deletion envoy.base.utils/envoy/base/utils/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
pytooling_library(
"envoy.base.utils",
dependencies=[
"//:abstracts",
"//deps:abstracts",
],
)
4 changes: 2 additions & 2 deletions envoy.base.utils/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
pytooling_tests(
"envoy.base.utils",
dependencies=[
"//:abstracts",
"//:pytest-asyncio",
"//deps:abstracts",
"//deps:pytest-asyncio",
],
)
2 changes: 1 addition & 1 deletion envoy.code_format.python_check/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="envoy.code_format.python_check")
pytooling_package("envoy.code_format.python_check")
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@

pytooling_library(
"envoy.code_format.python_check",
dependencies=[
"//:abstracts",
"//:aio.subprocess",
"//:envoy.base.checker",
"//:envoy.base.utils",
"//deps:abstracts",
"//deps:aio.subprocess",
"//deps:aio.tasks",
"//deps:envoy.base.checker",
"//deps:envoy.base.utils",
],
tags=["abstract-types"],
)
2 changes: 1 addition & 1 deletion envoy.code_format.python_check/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
pytooling_tests(
"envoy.code_format.python_check",
dependencies=[
"//:pytest-asyncio",
"//deps:pytest-asyncio",
],
)
2 changes: 1 addition & 1 deletion envoy.dependency.pip_check/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="envoy.dependency.pip_check")
pytooling_package("envoy.dependency.pip_check")
7 changes: 3 additions & 4 deletions envoy.dependency.pip_check/envoy/dependency/pip_check/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
pytooling_library(
"envoy.dependency.pip_check",
dependencies=[
"//:abstracts",
"//:envoy.base.checker",
"//:envoy.base.utils",
"//deps:abstracts",
"//deps:envoy.base.checker",
"//deps:envoy.base.utils",
],
tags=["abstract-types"],
)
2 changes: 1 addition & 1 deletion envoy.distribution.distrotest/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="envoy.distribution.distrotest")
pytooling_package("envoy.distribution.distrotest")
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
pytooling_library(
"envoy.distribution.distrotest",
dependencies=[
"//:envoy.base.checker",
"//:envoy.base.utils",
"//:envoy.docker.utils",
"//deps:envoy.base.checker",
"//deps:envoy.base.utils",
"//deps:envoy.docker.utils",
],
)
6 changes: 3 additions & 3 deletions envoy.distribution.distrotest/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
pytooling_tests(
"envoy.distribution.distrotest",
dependencies=[
"//:envoy.base.checker",
"//:envoy.docker.utils",
"//:pytest-asyncio",
"//deps:envoy.base.checker",
"//deps:envoy.docker.utils",
"//deps:pytest-asyncio",
],
)
2 changes: 1 addition & 1 deletion envoy.distribution.release/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="envoy.distribution.release")
pytooling_package("envoy.distribution.release")
13 changes: 7 additions & 6 deletions envoy.distribution.release/envoy/distribution/release/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
pytooling_library(
"envoy.distribution.release",
dependencies=[
"//:abstracts",
"//:envoy.abstract.command",
"//:envoy.base.runner",
"//:envoy.base.utils",
"//:envoy.github.abstract",
"//:envoy.github.release",
"//deps:abstracts",
"//deps:aio.functional",
"//deps:envoy.abstract.command",
"//deps:envoy.base.runner",
"//deps:envoy.base.utils",
"//deps:envoy.github.abstract",
"//deps:envoy.github.release",
],
tags=["abstract-types"],
)
8 changes: 4 additions & 4 deletions envoy.distribution.release/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
pytooling_tests(
"envoy.distribution.release",
dependencies=[
"//:abstracts",
"//:envoy.github.abstract",
"//:envoy.github.release",
"//:pytest-asyncio",
"//deps:abstracts",
"//deps:envoy.github.abstract",
"//deps:envoy.github.release",
"//deps:pytest-asyncio",
],
)
2 changes: 1 addition & 1 deletion envoy.distribution.repo/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="envoy.distribution.repo")
pytooling_package("envoy.distribution.repo")
10 changes: 5 additions & 5 deletions envoy.distribution.repo/envoy/distribution/repo/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
pytooling_library(
"envoy.distribution.repo",
dependencies=[
"//:abstracts",
"//:aio.subprocess",
"//:envoy.base.runner",
"//:envoy.base.utils",
"//deps:abstracts",
"//deps:aio.functional",
"//deps:aio.subprocess",
"//deps:envoy.base.runner",
"//deps:envoy.base.utils",
],
tags=["abstract-types"],
)
8 changes: 4 additions & 4 deletions envoy.distribution.repo/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
pytooling_tests(
"envoy.distribution.repo",
dependencies=[
"//:abstracts",
"//:envoy.base.runner",
"//:envoy.base.utils",
"//:pytest-asyncio",
"//deps:abstracts",
"//deps:envoy.base.runner",
"//deps:envoy.base.utils",
"//deps:pytest-asyncio",
],
)
2 changes: 1 addition & 1 deletion envoy.distribution.verify/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="envoy.distribution.verify")
pytooling_package("envoy.distribution.verify")
7 changes: 3 additions & 4 deletions envoy.distribution.verify/envoy/distribution/verify/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
pytooling_library(
"envoy.distribution.verify",
dependencies=[
"//:envoy.base.checker",
"//:envoy.base.utils",
"//:envoy.distribution.distrotest",
"//deps:envoy.base.checker",
"//deps:envoy.base.utils",
"//deps:envoy.distribution.distrotest",
],
tags=["abstract-types"],
)
8 changes: 4 additions & 4 deletions envoy.distribution.verify/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
pytooling_tests(
"envoy.distribution.verify",
dependencies=[
"//:envoy.base.checker",
"//:envoy.base.utils",
"//:envoy.distribution.distrotest",
"//:pytest-asyncio",
"//deps:envoy.base.checker",
"//deps:envoy.base.utils",
"//deps:envoy.distribution.distrotest",
"//deps:pytest-asyncio",
],
)
2 changes: 1 addition & 1 deletion envoy.docker.utils/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@

pytooling_package(name="envoy.docker.utils")
pytooling_package("envoy.docker.utils")
2 changes: 1 addition & 1 deletion envoy.docker.utils/tests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
pytooling_tests(
"envoy.docker.utils",
dependencies=[
"//:pytest-asyncio",
"//deps:pytest-asyncio",
],
)
4 changes: 3 additions & 1 deletion envoy.github.abstract/BUILD
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@

pytooling_package(name="envoy.github.abstract")
pytooling_package(
"envoy.github.abstract")
# install_requires=["abstracts>0.0.12"])
Loading

0 comments on commit e21724f

Please sign in to comment.