@@ -12,7 +12,7 @@ packages = [
12
12
]
13
13
14
14
[tool .poetry .dependencies ]
15
- python = " ^3.8 "
15
+ python = " ^3.10 "
16
16
# The Ruff version is pinned. To update it, also update it in .pre-commit-config.yaml
17
17
ruff = " ~0.7.4"
18
18
grpclib = " ^0.4.1"
@@ -21,13 +21,9 @@ python-dateutil = "^2.8"
21
21
typing-extensions = " ^4.7.1"
22
22
23
23
[tool .poetry .group .dev .dependencies ]
24
- asv = " ^0.4.2"
25
- bpython = " ^0.19"
26
24
jinja2 = " >=3.0.3"
27
25
mypy = " ^1.11.2"
28
26
pre-commit = " ^2.17.0"
29
- grpcio-tools = " ^1.54.2"
30
- tox = " ^4.0.0"
31
27
mkdocs-material = {version = " ^9.5.49" , python = " >=3.10" }
32
28
mkdocstrings = {version = " ^0.27.0" , python = " >=3.10" , extras = [" python" ]}
33
29
@@ -46,7 +42,6 @@ tomlkit = ">=0.7.0"
46
42
protoc-gen-python_betterproto = " betterproto.plugin:main"
47
43
48
44
[tool .poetry .extras ]
49
- compiler = [" ruff" , " jinja2" ]
50
45
rust-codec = [" betterproto-rust-codec" ]
51
46
52
47
[tool .ruff ]
@@ -78,10 +73,6 @@ combine-as-imports = true
78
73
script = " tests.generate:main"
79
74
help = " Generate test cases (do this once before running test)"
80
75
81
- [tool .poe .tasks .test ]
82
- cmd = " pytest"
83
- help = " Run tests"
84
-
85
76
[tool .poe .tasks .types ]
86
77
cmd = " mypy src --ignore-missing-imports"
87
78
help = " Check types with mypy"
@@ -114,18 +105,6 @@ help = "Check that the imports are sorted"
114
105
cmd = " sphinx-build docs docs/build"
115
106
help = " Build the sphinx docs"
116
107
117
- [tool .poe .tasks .bench ]
118
- shell = " asv run master^! && asv run HEAD^! && asv compare master HEAD"
119
- help = " Benchmark current commit vs. master branch"
120
-
121
- [tool .poe .tasks .clean ]
122
- cmd = """
123
- rm -rf .asv .coverage .mypy_cache .pytest_cache
124
- dist betterproto.egg-info **/__pycache__
125
- testsoutput_*
126
- """
127
- help = " Clean out generated files from the workspace"
128
-
129
108
[tool .poe .tasks .generate_lib ]
130
109
cmd = """
131
110
protoc
0 commit comments