This commit is contained in:
Andrey Rakhmatullin 2026-08-15 11:16:48 -05:00 committed by GitHub
commit da979e8af5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 35 additions and 4 deletions

View File

@ -38,6 +38,14 @@ jobs:
env:
TOXENV: no-reactor
# 3.15 pre-release
- python-version: "3.15.0-beta.2"
env:
TOXENV: py
- python-version: "3.15.0-beta.2"
env:
TOXENV: no-reactor
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:

View File

@ -92,6 +92,17 @@ jobs:
TOXENV: botocore
coverage: true
# 3.15 pre-release
- python-version: "3.15.0-beta.2"
env:
TOXENV: py
- python-version: "3.15.0-beta.2"
env:
TOXENV: default-reactor
- python-version: "3.15.0-beta.2"
env:
TOXENV: no-reactor
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
@ -103,7 +114,7 @@ jobs:
python-version: ${{ matrix.python-version }}
- name: Install system libraries
if: contains(matrix.python-version, 'pypy') || contains(matrix.env.TOXENV, 'min')
if: contains(matrix.python-version, 'pypy') || contains(matrix.env.TOXENV, 'min') || contains(matrix.python-version, '3.15')
run: |
sudo apt-get update
sudo apt-get install libxml2-dev libxslt-dev

View File

@ -50,6 +50,17 @@ jobs:
env:
TOXENV: extra-deps
# 3.15 pre-release
- python-version: "3.15.0-beta.2"
env:
TOXENV: py
- python-version: "3.15.0-beta.2"
env:
TOXENV: default-reactor
- python-version: "3.15.0-beta.2"
env:
TOXENV: no-reactor
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:

View File

@ -42,6 +42,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet :: WWW/HTTP",

View File

@ -104,10 +104,10 @@ def walk_modules_iter(path: str) -> Iterable[ModuleType]:
>>> list(walk_modules_iter('scrapy.utils'))
[<module 'scrapy.utils' from '...'>, ...]
>>> gen = walk_modules_iter('scrapy.utils.nonexistent') # error not raised until the generator is consumed
>>> list(gen)
>>> list(gen) # doctest: +ELLIPSIS
Traceback (most recent call last):
...
ModuleNotFoundError: No module named 'scrapy.utils.nonexistent'
ModuleNotFoundError: No module named 'scrapy.utils.nonexistent'...
"""
mod = import_module(path)

View File

@ -23,7 +23,7 @@ envlist =
min-no-reactor
min-botocore
min-pypy3
py{310,311,312,313,314}
py{310,311,312,313,314,315}
extra-deps
default-reactor
no-reactor