Skip to content

Commit 8335d33

Browse files
committed
chore: Refresh proj deps, use fixed vers for tox test
1 parent eafb9ca commit 8335d33

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

pyproject.toml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ readme = 'README.md'
1212
requires-python = '>=3.8'
1313
license = {text = 'Apache-2.0'}
1414
dependencies = [
15-
'types-beautifulsoup4',
15+
'types-beautifulsoup4 ~= 4.12',
1616
'typing_extensions ~= 4.5',
1717
'cssselect ~= 1.2' # cssselect uses inline annotation
1818
]
@@ -44,8 +44,9 @@ test = [
4444
'typeguard >= 3.0, < 5',
4545
'pytest >= 7.0, < 9',
4646
'html5lib == 1.1',
47-
'pytest-mypy-plugins ~= 1.10, != 1.10.0',
48-
'lxml == 5.1.*',
47+
'pytest-mypy-plugins == 1.11.1',
48+
'lxml >= 4.9',
49+
'beautifulsoup4 ~= 4.8'
4950
]
5051

5152
[tool.pdm.version]

tox.ini

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ python =
1313

1414
[common_dep]
1515
deps =
16-
types-beautifulsoup4
17-
typing_extensions ~= 4.5
18-
cssselect ~= 1.2
16+
types-beautifulsoup4 == 4.12.0.20240229
17+
typing_extensions == 4.11.0
18+
cssselect == 1.2.0
1919

2020
[stub_test_dep]
2121
deps =
2222
{[common_dep]deps}
23-
mypy == 1.9.*
24-
pytest-mypy-plugins ~= 1.10, != 1.10.0
23+
mypy == 1.9.0
24+
pytest-mypy-plugins == 1.11.1
2525

2626
[testenv:py{38,39,310,311,312}-stub]
2727
deps = {[stub_test_dep]deps}
@@ -31,14 +31,14 @@ commands =
3131
[testenv:py{310,311,312}-rt-lxml{49,50,51,52}]
3232
deps =
3333
{[testenv:pyright]deps}
34-
typeguard >= 3.0, < 5
35-
pytest >= 7.0, < 9
34+
typeguard == 4.2.1
35+
pytest == 8.1.1
3636
html5lib == 1.1
37-
beautifulsoup4 ~= 4.8 # or even earlier?
37+
beautifulsoup4 == 4.12.3
3838
py{310,311,312}-rt-lxml49: lxml == 4.9.4
3939
py{310,311,312}-rt-lxml50: lxml == 5.0.2
4040
py{310,311,312}-rt-lxml51: lxml == 5.1.1
41-
py{310,311,312}-rt-lxml52: lxml == 5.2.0
41+
py{310,311,312}-rt-lxml52: lxml == 5.2.1
4242
setenv =
4343
PYTHONUTF8 = 1
4444
commands =
@@ -48,14 +48,14 @@ commands =
4848
[testenv:mypy]
4949
deps =
5050
{[common_dep]deps}
51-
mypy == 1.9.*
51+
mypy == 1.9.0
5252
package = skip
5353
commands = mypy {posargs:lxml-stubs}
5454

5555
[testenv:pyright]
5656
deps =
5757
{[common_dep]deps}
58-
pyright >= 1.1.289
58+
pyright == 1.1.358
5959
package = skip
6060
commands = pyright {posargs:lxml-stubs}
6161

0 commit comments

Comments
 (0)