mirror of https://github.com/scrapy/scrapy.git
Merge da7a6c8e29 into e28e56aa61
This commit is contained in:
commit
da979e8af5
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue