mirror of https://github.com/scrapy/scrapy.git
Merge da7a6c8e29 into c9446931a8
This commit is contained in:
commit
b9ef53cbbb
|
|
@ -26,6 +26,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@v6
|
||||
|
||||
|
|
|
|||
|
|
@ -80,6 +80,17 @@ jobs:
|
|||
env:
|
||||
TOXENV: botocore
|
||||
|
||||
# 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@v6
|
||||
|
||||
|
|
@ -89,7 +100,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
|
||||
|
|
|
|||
|
|
@ -53,6 +53,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@v6
|
||||
|
||||
|
|
|
|||
|
|
@ -40,6 +40,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",
|
||||
|
|
|
|||
|
|
@ -99,10 +99,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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue