Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion dev-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ pytest
pytest-cov
pytest-sugar
pytest-aiohttp
pytest-asyncio
codecov
sphinx
sphinx_issues
sphinx_rtd_theme
isort
typed-ast
2 changes: 1 addition & 1 deletion readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ build:
image: latest

python:
version: 3.6
version: 3.11
setup_py_install: true

requirements_file: dev-requirements.txt
6 changes: 3 additions & 3 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
aiohttp>=3.0.1,<4.0
apispec>=5.1.1
webargs>=8.0.1
aiohttp>=3.12.2,<4.0
apispec>=6.8.3
webargs>=8.7.0
jinja2
12 changes: 7 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def read(file_name):

setup(
name='aiohttp-apispec',
version='3.0.0b2',
version='3.1.0b1',
description='Build and document REST APIs with aiohttp and apispec',
long_description=read('README.md'),
long_description_content_type="text/markdown",
Expand All @@ -23,15 +23,17 @@ def read(file_name):
url='https://github.com/maximdanilchenko/aiohttp-apispec',
zip_safe=False,
keywords='aiohttp marshmallow apispec swagger',
python_requires='>=3.6',
python_requires='>=3.9',
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'Natural Language :: English',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
'Programming Language :: Python :: 3.13',
],
test_suite='tests',
)
4 changes: 2 additions & 2 deletions tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def example_for_request_schema():
({"location": "querystring"}, False),
]
)
def aiohttp_app(loop, aiohttp_client, request, example_for_request_schema):
async def aiohttp_app(aiohttp_client, request, example_for_request_schema):
location, nested = request.param

@docs(
Expand Down Expand Up @@ -235,4 +235,4 @@ async def validated_view(request: web.Request):
)
app.middlewares.extend([intercept_error, validation_middleware])

return loop.run_until_complete(aiohttp_client(app))
return await aiohttp_client(app)
1 change: 1 addition & 0 deletions tests/pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[pytest]
addopts = -v --cov aiohttp_apispec
asyncio_mode = auto