mirror of https://github.com/scrapy/scrapy.git
Drop PyPy 3.10 support, restore coverage for subprocesses (#7050)
This commit is contained in:
parent
d239fcf936
commit
393d715205
|
|
@ -35,9 +35,6 @@ jobs:
|
||||||
- python-version: "3.13"
|
- python-version: "3.13"
|
||||||
env:
|
env:
|
||||||
TOXENV: default-reactor
|
TOXENV: default-reactor
|
||||||
- python-version: pypy3.10
|
|
||||||
env:
|
|
||||||
TOXENV: pypy3
|
|
||||||
- python-version: pypy3.11
|
- python-version: pypy3.11
|
||||||
env:
|
env:
|
||||||
TOXENV: pypy3
|
TOXENV: pypy3
|
||||||
|
|
@ -49,7 +46,7 @@ jobs:
|
||||||
- python-version: "3.9.21"
|
- python-version: "3.9.21"
|
||||||
env:
|
env:
|
||||||
TOXENV: default-reactor-pinned
|
TOXENV: default-reactor-pinned
|
||||||
- python-version: pypy3.10
|
- python-version: pypy3.11
|
||||||
env:
|
env:
|
||||||
TOXENV: pypy3-pinned
|
TOXENV: pypy3-pinned
|
||||||
- python-version: "3.9.21"
|
- python-version: "3.9.21"
|
||||||
|
|
|
||||||
|
|
@ -135,6 +135,9 @@ branch = true
|
||||||
include = ["scrapy/*"]
|
include = ["scrapy/*"]
|
||||||
omit = ["tests/*"]
|
omit = ["tests/*"]
|
||||||
disable_warnings = ["include-ignored"]
|
disable_warnings = ["include-ignored"]
|
||||||
|
patch = [
|
||||||
|
"subprocess",
|
||||||
|
]
|
||||||
|
|
||||||
[tool.coverage.paths]
|
[tool.coverage.paths]
|
||||||
source = [
|
source = [
|
||||||
|
|
|
||||||
14
tox.ini
14
tox.ini
|
|
@ -10,12 +10,12 @@ minversion = 1.7.0
|
||||||
[test-requirements]
|
[test-requirements]
|
||||||
deps =
|
deps =
|
||||||
attrs
|
attrs
|
||||||
coverage >= 7.4.0
|
coverage >= 7.10.6
|
||||||
pexpect >= 4.8.0
|
pexpect >= 4.8.0
|
||||||
pyftpdlib >= 2.0.1
|
pyftpdlib >= 2.0.1
|
||||||
pygments
|
pygments
|
||||||
pytest
|
pytest
|
||||||
pytest-cov >= 4.0.0
|
pytest-cov >= 7.0.0
|
||||||
pytest-xdist
|
pytest-xdist
|
||||||
sybil >= 1.3.0 # https://github.com/cjw296/sybil/issues/20#issuecomment-605433422
|
sybil >= 1.3.0 # https://github.com/cjw296/sybil/issues/20#issuecomment-605433422
|
||||||
testfixtures
|
testfixtures
|
||||||
|
|
@ -198,22 +198,22 @@ deps =
|
||||||
commands = {[testenv:pypy3]commands}
|
commands = {[testenv:pypy3]commands}
|
||||||
|
|
||||||
[testenv:pypy3-pinned]
|
[testenv:pypy3-pinned]
|
||||||
basepython = pypy3.10
|
basepython = pypy3.11
|
||||||
deps =
|
deps =
|
||||||
PyPyDispatcher==2.1.0
|
PyPyDispatcher==2.1.0
|
||||||
{[test-requirements]deps}
|
{[test-requirements]deps}
|
||||||
pytest==8.4.0
|
pytest==8.4.0
|
||||||
Protego==0.1.15
|
Protego==0.1.15
|
||||||
Twisted==21.7.0
|
Twisted==21.7.0
|
||||||
cryptography==41.0.5
|
cryptography==44.0.2
|
||||||
cssselect==0.9.1
|
cssselect==0.9.1
|
||||||
itemadapter==0.1.0
|
itemadapter==0.1.0
|
||||||
lxml==4.6.0
|
lxml==5.3.2
|
||||||
parsel==1.5.0
|
parsel==1.5.0
|
||||||
pyOpenSSL==23.3.0
|
pyOpenSSL==24.3.0
|
||||||
queuelib==1.4.2
|
queuelib==1.4.2
|
||||||
service_identity==18.1.0
|
service_identity==18.1.0
|
||||||
w3lib==1.17.0
|
w3lib==1.20.0
|
||||||
zope.interface==5.1.0
|
zope.interface==5.1.0
|
||||||
commands =
|
commands =
|
||||||
; disabling both coverage and docs tests
|
; disabling both coverage and docs tests
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue