Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
forked fromscrapy/scrapy

Commiteb49647

Browse files
authored
Add missing doc deps for new examples (scrapy#7116)
1 parenta5bbeb2 commiteb49647

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

‎docs/requirements.txt‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
pydantic==2.12.3
2+
scrapy-spider-metadata==0.2.0
13
sphinx==8.1.3
24
sphinx-notfound-page==1.0.4
35
sphinx-rtd-theme==3.0.2

‎tox.ini‎

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ passenv =
4040
#allow tox virtualenv to upgrade pip/wheel/setuptools
4141
download = true
4242
commands =
43-
pytest {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report= --cov-report=term-missing --cov-report=xml --junitxml=testenv.junit.xml -ojunit_family=legacy --durations=10docsscrapy tests --doctest-modules}
43+
pytest {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report= --cov-report=term-missing --cov-report=xml --junitxml=testenv.junit.xml -ojunit_family=legacy --durations=10 scrapy tests --doctest-modules}
4444

4545
[testenv:typing]
4646
basepython = python3.9
@@ -120,7 +120,6 @@ deps =
120120
setenv =
121121
_SCRAPY_PINNED=true
122122
commands =
123-
; tests for docs fail with parsel < 1.8.0
124123
pytest {posargs:--cov-config=pyproject.toml --cov=scrapy --cov-report=xml --cov-report= --junitxml=pinned.junit.xml -ojunit_family=legacy --durations=10 scrapy tests}
125124

126125
[testenv:pinned]
@@ -182,7 +181,7 @@ setenv =
182181
basepython = pypy3
183182
commands =
184183
; not enabling coverage as it significantly increases the run time
185-
pytest {posargs:--durations=10docsscrapy tests}
184+
pytest {posargs:--durations=10 scrapy tests}
186185

187186
[testenv:pypy3-extra-deps]
188187
basepython = pypy3
@@ -209,7 +208,7 @@ deps =
209208
w3lib==1.20.0
210209
zope.interface==5.1.0
211210
commands =
212-
; disablingbothcoverage and docs tests
211+
; disabling coverage
213212
pytest {posargs:--durations=10 scrapy tests}
214213
setenv =
215214
{[pinned]setenv}
@@ -225,10 +224,13 @@ setenv =
225224
[testenv:docs]
226225
basepython = python3
227226
changedir = {[docs]changedir}
228-
deps = {[docs]deps}
227+
deps =
228+
{[test-requirements]deps}
229+
{[docs]deps}
229230
setenv = {[docs]setenv}
230231
commands =
231232
sphinx-build -W -b html . {envtmpdir}/html
233+
pytest
232234

233235
[testenv:docs-coverage]
234236
basepython = python3

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp