-
Notifications
You must be signed in to change notification settings - Fork 445
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: fruffy <[email protected]>
- Loading branch information
Showing
19 changed files
with
344 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,3 +52,6 @@ docs/doxygen/awesome_css/ | |
|
||
# thirdparty | ||
backends/tofino/third_party/ | ||
|
||
# Poetry | ||
poetry.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,3 +51,52 @@ disable = [ | |
"missing-function-docstring", | ||
"too-few-public-methods", | ||
] | ||
|
||
[tool.poetry] | ||
name = "p4c" | ||
version = "1.2.5.1" | ||
description = "" | ||
authors = ["Your Name <[email protected]>"] | ||
license = "Apache" | ||
readme = "README.md" | ||
package-mode = false | ||
|
||
[tool.poetry.dependencies] | ||
# Fixme: This restriction is because of pyinstaller | ||
python = "<3.14,>=3.8" | ||
# General testing utilties. | ||
pyroute2 = "0.7.3" | ||
ply = "3.11" | ||
scapy = "2.5.0" | ||
# Utilities for BMv2 and PTF tests. | ||
ptf = "0.10.0" | ||
googleapis-common-protos = "1.53.0" | ||
grpcio = [ | ||
{version = "1.67.0", python = ">3.6"}, | ||
{version = "1.48.2", python = "<=3.6"} | ||
] | ||
thrift = "0.21.0 " | ||
protobuf = [ | ||
{version = "3.20.2", python = ">3.6"}, | ||
{version = "3.19.2", python = "<=3.6"} | ||
] | ||
# Linters and formatters. | ||
clang-format = "18.1.0" | ||
black = [ | ||
{version = "24.3.0", python = ">3.6"}, | ||
{version = "22.8.0", python = "<=3.6"} | ||
] | ||
isort = [ | ||
{version = "5.13.2", python = ">3.6"}, | ||
{version = "5.10.1", python = "<=3.6"} | ||
] | ||
# FIXME: Remove and replace with local FetchContent version. | ||
p4runtime = "1.4.1" | ||
# FIXME: The Tofino back end should vendor these tools or use them locally. | ||
jsl= "0.2.4" | ||
pyinstaller= "6.11.0" | ||
jsonschema= "4.23.0" | ||
|
||
[build-system] | ||
requires = ["poetry-core"] | ||
build-backend = "poetry.core.masonry.api" |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.