mirror of https://github.com/scrapy/scrapy.git
Add Python 3.13 alpha to CI
This commit is contained in:
parent
70ba3a0868
commit
c66b517706
|
|
@ -12,7 +12,7 @@ jobs:
|
|||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- python-version: "3.12"
|
||||
- python-version: "3.13.0-alpha.2"
|
||||
env:
|
||||
TOXENV: pylint
|
||||
- python-version: 3.8
|
||||
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
- python-version: "3.11" # Keep in sync with .readthedocs.yml
|
||||
env:
|
||||
TOXENV: docs
|
||||
- python-version: "3.12"
|
||||
- python-version: "3.13.0-alpha.2"
|
||||
env:
|
||||
TOXENV: twinecheck
|
||||
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: 3.12
|
||||
python-version: "3.13.0-alpha.2"
|
||||
- run: |
|
||||
pip install --upgrade build twine
|
||||
python -m build
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
|
||||
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13.0-alpha.2"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
|
|||
|
|
@ -24,7 +24,10 @@ jobs:
|
|||
- python-version: "3.12"
|
||||
env:
|
||||
TOXENV: py
|
||||
- python-version: "3.12"
|
||||
- python-version: "3.13.0-alpha.2"
|
||||
env:
|
||||
TOXENV: py
|
||||
- python-version: "3.13.0-alpha.2"
|
||||
env:
|
||||
TOXENV: asyncio
|
||||
- python-version: pypy3.9
|
||||
|
|
@ -51,10 +54,10 @@ jobs:
|
|||
env:
|
||||
TOXENV: botocore-pinned
|
||||
|
||||
- python-version: "3.12"
|
||||
- python-version: "3.13.0-alpha.2"
|
||||
env:
|
||||
TOXENV: extra-deps
|
||||
- python-version: "3.12"
|
||||
- python-version: "3.13.0-alpha.2"
|
||||
env:
|
||||
TOXENV: botocore
|
||||
|
||||
|
|
|
|||
|
|
@ -27,7 +27,10 @@ jobs:
|
|||
- python-version: "3.12"
|
||||
env:
|
||||
TOXENV: py
|
||||
- python-version: "3.12"
|
||||
- python-version: "3.13.0-alpha.2"
|
||||
env:
|
||||
TOXENV: py
|
||||
- python-version: "3.13.0-alpha.2"
|
||||
env:
|
||||
TOXENV: asyncio
|
||||
|
||||
|
|
|
|||
|
|
@ -91,8 +91,6 @@ def requires_uvloop(request):
|
|||
pytest.skip("uvloop does not support Windows")
|
||||
if twisted_version == Version("twisted", 21, 2, 0):
|
||||
pytest.skip("https://twistedmatrix.com/trac/ticket/10106")
|
||||
if sys.version_info >= (3, 12):
|
||||
pytest.skip("uvloop doesn't support Python 3.12 yet")
|
||||
|
||||
|
||||
def pytest_configure(config):
|
||||
|
|
|
|||
1
setup.py
1
setup.py
|
|
@ -63,6 +63,7 @@ setup(
|
|||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Programming Language :: Python :: Implementation :: CPython",
|
||||
"Programming Language :: Python :: Implementation :: PyPy",
|
||||
"Topic :: Internet :: WWW/HTTP",
|
||||
|
|
|
|||
Loading…
Reference in New Issue