Skip to content

Commit ea32115

Browse files
author
Goran Pavlovic
committed
Updated package version to 1.0.15
1 parent aaea290 commit ea32115

File tree

4 files changed

+15
-2
lines changed

4 files changed

+15
-2
lines changed

CHANGELOG

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Version 1.0.15
2+
- Fixes a bug in setup.py where the distribution exports the package tests along with the actual library.
3+
- Latest js-yaml fixes security issue related to https://www.npmjs.com/advisories/813
4+
- Added logic that checks whether the route.method is * or contains a single method. When the latter is the case only the method that is specified will be added to the Swagger UI.
5+
- In the tests I replaced test_clientby aiohttp_client, as the test_client is deprecated since python 3.8.
6+
17
Version 1.0.13
28
=============
39
- Updated swagger ui version to 3.24.3

requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
pyYAML>=5.1
2-
jinja2~=2.8
2+
markupsafe~=1.1.1
3+
jinja2~=2.11.2
34
aiohttp>=2.3.10

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ def run(self):
5555

5656
setup(
5757
name='aiohttp-swagger',
58-
version='1.0.14',
58+
version='1.0.15',
5959
install_requires=required,
6060
url='https://github.com/cr0hn/aiohttp-swagger',
6161
license='BSD',

tests/conftest.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
import pytest
2+
3+
# TODO This fixture is depricated and should be removed. It is used to support tests for aiohttp 2.3.x
4+
@pytest.fixture
5+
def aiohttp_client(test_client):
6+
return test_client

0 commit comments

Comments
 (0)