Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

Merge branch 'master' into py313

Andrey Rakhmatullin1e68d3c0bf48
diff --cc .github/workflows/checks.yml
index d60e259ba,2be6a9502..224d5cbbe
--- a/.github/workflows/checks.yml
+++ b/.github/workflows/checks.yml
@@@ -21,10 -21,10 +21,10 @@@ jobs
- python-version: 3.8
env:
TOXENV: typing-tests
- - python-version: "3.11" # Keep in sync with .readthedocs.yml
+ - python-version: "3.12" # Keep in sync with .readthedocs.yml
env:
TOXENV: docs
- - python-version: "3.12"
+ - python-version: "3.13.0-beta.1"
env:
TOXENV: twinecheck
diff --cc .github/workflows/publish.yml
index ad94ae9cd,03e94f761..75a7479eb
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@@ -13,9 -13,9 +13,9 @@@ jobs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- - uses: actions/setup-python@v4
+ - uses: actions/setup-python@v5
with:
- python-version: 3.12
+ python-version: "3.13.0-beta.1"
- run: |
pip install --upgrade build twine
python -m build
diff --cc tox.ini
index 5c2f34c6e,e3dd96425..ee810eae3
--- a/tox.ini
+++ b/tox.ini
@@@ -147,17 -147,14 +149,14 @@@ deps
{[testenv]deps}
boto3
google-cloud-storage
- # 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
robotexclusionrulesparser
- Pillow
+ Pillow; python_version < '3.13'
Twisted[http2]
- uvloop; platform_system != "Windows"
- bpython # optional for shell wrapper tests
+ uvloop; platform_system != "Windows" and python_version < '3.13'
+ bpython; python_version < '3.13' # optional for shell wrapper tests
brotli; implementation_name != 'pypy' # optional for HTTP compress downloader middleware tests
brotlicffi; implementation_name == 'pypy' # optional for HTTP compress downloader middleware tests
- zstandard; implementation_name != 'pypy' # optional for HTTP compress downloader middleware tests
+ zstandard; implementation_name != 'pypy' and python_version < '3.13' # optional for HTTP compress downloader middleware tests
ipython
[testenv:extra-deps-pinned]