Skip to content

Commit 1e950f9

Browse files
committed
chore(python): Add benchmark requirements
1 parent ef75792 commit 1e950f9

File tree

9 files changed

+103
-25
lines changed

9 files changed

+103
-25
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ jobs:
149149
cache: 'pip'
150150
cache-dependency-path: '**/requirements-*.txt'
151151

152-
- run: python -m pip install -r requirements-dev.txt
152+
- run: python -m pip install -r requirements/dev.txt
153153
working-directory: ./bindings/python
154154

155155
- name: Run ${{ matrix.python }} tox job

bindings/python/requirements/bench.in

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
pytest-benchmark
2+
premailer
3+
toronado
4+
inlinestyler
5+
pynliner
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.9
3+
# by the following command:
4+
#
5+
# pip-compile --resolver=backtracking requirements/bench.in
6+
#
7+
beautifulsoup4==4.12.2
8+
# via pynliner
9+
cachetools==5.3.1
10+
# via premailer
11+
certifi==2023.5.7
12+
# via requests
13+
charset-normalizer==3.1.0
14+
# via requests
15+
cssselect==1.2.0
16+
# via
17+
# premailer
18+
# toronado
19+
cssutils==2.7.1
20+
# via
21+
# inlinestyler
22+
# premailer
23+
# pynliner
24+
# toronado
25+
exceptiongroup==1.1.1
26+
# via pytest
27+
idna==3.4
28+
# via requests
29+
iniconfig==2.0.0
30+
# via pytest
31+
inlinestyler==0.2.5
32+
# via -r requirements/bench.in
33+
lxml==4.9.2
34+
# via
35+
# inlinestyler
36+
# premailer
37+
# toronado
38+
packaging==23.1
39+
# via pytest
40+
pluggy==1.0.0
41+
# via pytest
42+
premailer==3.10.0
43+
# via -r requirements/bench.in
44+
py-cpuinfo==9.0.0
45+
# via pytest-benchmark
46+
pynliner==0.8.0
47+
# via -r requirements/bench.in
48+
pytest==7.3.2
49+
# via pytest-benchmark
50+
pytest-benchmark==4.0.0
51+
# via -r requirements/bench.in
52+
requests==2.31.0
53+
# via
54+
# inlinestyler
55+
# premailer
56+
soupsieve==2.4.1
57+
# via beautifulsoup4
58+
tomli==2.0.1
59+
# via pytest
60+
toronado==0.1.0
61+
# via -r requirements/bench.in
62+
urllib3==2.0.3
63+
# via requests

bindings/python/requirements/requirements-dev.txt renamed to bindings/python/requirements/dev.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.11
2+
# This file is autogenerated by pip-compile with Python 3.9
33
# by the following command:
44
#
5-
# pip-compile --resolver=backtracking requirements-dev.in
5+
# pip-compile --resolver=backtracking requirements/dev.in
66
#
77
cachetools==5.3.1
88
# via tox
@@ -28,7 +28,11 @@ pluggy==1.0.0
2828
# via tox
2929
pyproject-api==1.5.2
3030
# via tox
31+
tomli==2.0.1
32+
# via
33+
# pyproject-api
34+
# tox
3135
tox==4.6.0
32-
# via -r requirements-dev.in
36+
# via -r requirements/dev.in
3337
virtualenv==20.23.0
3438
# via tox

bindings/python/requirements/requirements-test.txt

Lines changed: 0 additions & 20 deletions
This file was deleted.

bindings/python/requirements/test.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
#
2+
# This file is autogenerated by pip-compile with Python 3.9
3+
# by the following command:
4+
#
5+
# pip-compile --resolver=backtracking requirements/test.in
6+
#
7+
attrs==23.1.0
8+
# via hypothesis
9+
exceptiongroup==1.1.1
10+
# via
11+
# hypothesis
12+
# pytest
13+
hypothesis==6.78.2
14+
# via -r requirements/test.in
15+
iniconfig==2.0.0
16+
# via pytest
17+
packaging==23.1
18+
# via pytest
19+
pluggy==1.0.0
20+
# via pytest
21+
pytest==7.3.2
22+
# via -r requirements/test.in
23+
sortedcontainers==2.4.0
24+
# via hypothesis
25+
tomli==2.0.1
26+
# via pytest

bindings/python/tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ skipsdist = True
33
envlist = py{37,38,39,310,311}
44

55
[testenv]
6-
deps = -rrequirements-test.txt
6+
deps = -rrequirements/test.txt
77
commands =
88
pip install .
99
python -m pytest tests-py {posargs:}

0 commit comments

Comments
 (0)