mirror of https://github.com/scrapy/scrapy.git
Remove Reppy from CI
This commit is contained in:
parent
e47ada2c7c
commit
016d1de64e
|
|
@ -14,12 +14,8 @@ jobs:
|
|||
- python-version: "3.11"
|
||||
env:
|
||||
TOXENV: flake8
|
||||
# Pylint requires installing reppy, which:
|
||||
# - Does not support Python 3.9: https://github.com/seomoz/reppy/issues/122
|
||||
# - Requires CLang to build https://github.com/seomoz/reppy/issues/132
|
||||
- python-version: 3.8
|
||||
- python-version: "3.11"
|
||||
env:
|
||||
CC: clang
|
||||
TOXENV: pylint
|
||||
- python-version: 3.7
|
||||
env:
|
||||
|
|
@ -39,12 +35,6 @@ jobs:
|
|||
with:
|
||||
python-version: ${{ matrix.python-version }}
|
||||
|
||||
- name: Set up Clang
|
||||
uses: egor-tensin/setup-clang@v1
|
||||
with:
|
||||
version: latest
|
||||
platform: x64
|
||||
|
||||
- name: Run check
|
||||
env: ${{ matrix.env }}
|
||||
run: |
|
||||
|
|
|
|||
|
|
@ -38,12 +38,8 @@ jobs:
|
|||
env:
|
||||
TOXENV: pypy3-pinned
|
||||
|
||||
# extra-deps includes reppy, which:
|
||||
# - Does not support Python 3.9: https://github.com/seomoz/reppy/issues/122
|
||||
# - Requires CLang to build https://github.com/seomoz/reppy/issues/132
|
||||
- python-version: 3.8
|
||||
- python-version: "3.11"
|
||||
env:
|
||||
CC: clang
|
||||
TOXENV: extra-deps
|
||||
|
||||
steps:
|
||||
|
|
@ -60,12 +56,6 @@ jobs:
|
|||
sudo apt-get update
|
||||
sudo apt-get install libxml2-dev libxslt-dev
|
||||
|
||||
- name: Set up Clang
|
||||
uses: egor-tensin/setup-clang@v1
|
||||
with:
|
||||
version: latest
|
||||
platform: x64
|
||||
|
||||
- name: Run tests
|
||||
env: ${{ matrix.env }}
|
||||
run: |
|
||||
|
|
|
|||
8
tox.ini
8
tox.ini
|
|
@ -21,7 +21,6 @@ deps =
|
|||
# Extras
|
||||
botocore>=1.4.87
|
||||
passenv =
|
||||
CC
|
||||
S3_TEST_FILE_URI
|
||||
AWS_ACCESS_KEY_ID
|
||||
AWS_SECRET_ACCESS_KEY
|
||||
|
|
@ -64,8 +63,7 @@ commands =
|
|||
flake8 {posargs:docs scrapy tests}
|
||||
|
||||
[testenv:pylint]
|
||||
# reppy does not support Python 3.9+
|
||||
basepython = python3.8
|
||||
basepython = python3
|
||||
deps =
|
||||
{[testenv:extra-deps]deps}
|
||||
pylint==2.15.6
|
||||
|
|
@ -128,8 +126,7 @@ setenv =
|
|||
{[pinned]setenv}
|
||||
|
||||
[testenv:extra-deps]
|
||||
# reppy does not support Python 3.9+
|
||||
basepython = python3.8
|
||||
basepython = python3
|
||||
deps =
|
||||
{[testenv]deps}
|
||||
boto
|
||||
|
|
@ -137,7 +134,6 @@ deps =
|
|||
# Twisted[http2] currently forces old mitmproxy because of h2 version
|
||||
# restrictions in their deps, so we need to pin old markupsafe here too.
|
||||
markupsafe < 2.1.0
|
||||
reppy
|
||||
robotexclusionrulesparser
|
||||
Pillow>=4.0.0
|
||||
Twisted[http2]>=17.9.0
|
||||
|
|
|
|||
Loading…
Reference in New Issue