-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for Scrapy>=2.9, Python3.7+ (#13)
* Add support for Scrapy 2.9, Python 3.7+ * Add tox.ini * Update test matrix in test workflow * Loosen test requirements for different python version
- Loading branch information
1 parent
ff7ea2a
commit 57fbc92
Showing
12 changed files
with
97 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
-e . | ||
pytest>=8.3,<8.4 | ||
pytest>=7.4,<8.4 | ||
freezegun==1.5.1 | ||
mypy==1.11.2 | ||
mypy>=1.4,<1.12 | ||
ruff==0.6.8 | ||
pyfakefs==5.6.0 | ||
pyfakefs==5.6.0 | ||
tox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
from __future__ import annotations | ||
|
||
import socket | ||
import uuid | ||
from io import BytesIO | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[tox] | ||
skipsdist = True | ||
usedevelop = True | ||
|
||
envlist = | ||
py{37,38,39,310,311,312}-scrapy29, | ||
py{38,39,310,311,312}-scrapy{210,211}, | ||
py{39,310,311,312}-scrapymaster, | ||
|
||
[testenv] | ||
install_command = pip install -r requirements-tests.txt | ||
allowlist_externals = py.test | ||
commands = | ||
py.test tests/ | ||
basepython = | ||
py37: python3.7 | ||
py38: python3.8 | ||
py39: python3.9 | ||
py310: python3.10 | ||
py311: python3.11 | ||
py312: python3.12 | ||
|
||
deps = | ||
scrapy29: Scrapy~=2.9.0 | ||
scrapy210: Scrapy~=2.10.0 | ||
scrapy211: Scrapy~=2.11.0 | ||
scrapymaster: git+https://github.com/scrapy/scrapy.git@master#egg=Scrapy |