Skip to content

Commit

Permalink
Updated package version to 1.0.15
Browse files Browse the repository at this point in the history
  • Loading branch information
Goran Pavlovic committed Jul 3, 2020
1 parent aaea290 commit ea32115
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG
@@ -1,3 +1,9 @@
Version 1.0.15
- Fixes a bug in setup.py where the distribution exports the package tests along with the actual library.
- Latest js-yaml fixes security issue related to https://www.npmjs.com/advisories/813
- 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.
- In the tests I replaced test_clientby aiohttp_client, as the test_client is deprecated since python 3.8.

Version 1.0.13
=============
- Updated swagger ui version to 3.24.3
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
@@ -1,3 +1,4 @@
pyYAML>=5.1
jinja2~=2.8
markupsafe~=1.1.1
jinja2~=2.11.2
aiohttp>=2.3.10
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -55,7 +55,7 @@ def run(self):

setup(
name='aiohttp-swagger',
version='1.0.14',
version='1.0.15',
install_requires=required,
url='https://github.com/cr0hn/aiohttp-swagger',
license='BSD',
Expand Down
6 changes: 6 additions & 0 deletions tests/conftest.py
@@ -0,0 +1,6 @@
import pytest

# TODO This fixture is depricated and should be removed. It is used to support tests for aiohttp 2.3.x
@pytest.fixture
def aiohttp_client(test_client):
return test_client

0 comments on commit ea32115

Please sign in to comment.