Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pytest from 6.1.2 to 6.2.1 #197

Closed
wants to merge 2 commits into from
Closed
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
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ python:
install:
- pip install -r requirements.txt
- pip install -e .[test]
- python setup.py build_ext --inplace
script:
- pytest --cov=aiosonic
after_success:
Expand Down
2 changes: 1 addition & 1 deletion aiosonic/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ async def _do_request(urlparsed: ParseResult,
else:
connection.writer.write(body)

response = HttpResponse(timeouts=timeouts)
response = HttpResponse()

# get response code and version
try:
Expand Down
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ steps:
pip install --upgrade pip setuptools wheel
pip install -r requirements.txt
pip install -e ".[test]"
python setup.py build_ext --inplace
pytest --cov=aiosonic --doctest-modules --junitxml=junit/test-results.xml --cov-report=xml --cov-report=html
timeoutInMinutes: 5
displayName: 'Run tests'
Expand Down
1 change: 1 addition & 0 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
chardet
h2
Cython
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
#
chardet==3.0.4
# via -r requirements.in
cython==0.29.21
# via -r requirements.in
h2==4.0.0
# via -r requirements.in
hpack==4.0.0
Expand Down
2 changes: 2 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import re
from setuptools import setup
from Cython.Build import cythonize


RGX = re.compile(r'([\w-]+[<>=]{1}=[\d.\w]+)')
Expand Down Expand Up @@ -69,6 +70,7 @@ def _map_func(dependency):
'Programming Language :: Python :: 3.7',
],
setup_requires=['pytest-runner'],
ext_modules = cythonize("aiosonic/*.pyx"),
install_requires=requirements('./requirements.txt'),
extras_require={
'test': add_marks(
Expand Down
173 changes: 125 additions & 48 deletions test-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,51 +4,128 @@
#
# pip-compile test-requirements.in
#
aiohttp==3.7.3 # via -r test-requirements.in, pytest-aiohttp
asgiref==3.3.1 # via django
async-timeout==3.0.1 # via aiohttp
attrs==20.3.0 # via aiohttp, pytest, pytest-mypy
certifi==2020.11.8 # via httpx, requests
chardet==3.0.4 # via aiohttp, requests
click==7.1.2 # via uvicorn
coverage==5.3 # via coveralls, pytest-cov
coveralls==2.2.0 # via -r test-requirements.in
django==3.1.3 # via -r test-requirements.in
docopt==0.6.2 # via coveralls
filelock==3.0.12 # via pytest-mypy
h11==0.11.0 # via httpcore, uvicorn
httpcore==0.12.2 # via httpx
httpx==0.16.1 # via -r test-requirements.in
idna==2.10 # via requests, rfc3986, yarl
importlib-metadata==2.0.0 # via pluggy, pytest
iniconfig==1.1.1 # via pytest
multidict==5.0.2 # via aiohttp, yarl
mypy-extensions==0.4.3 # via mypy
mypy==0.790 # via pytest-mypy
packaging==20.4 # via pytest, pytest-sugar
pluggy==0.13.1 # via pytest
py==1.9.0 # via pytest
pyparsing==2.4.7 # via packaging
pytest-aiohttp==0.3.0 # via -r test-requirements.in
pytest-asyncio==0.14.0 # via -r test-requirements.in
pytest-cov==2.10.1 # via -r test-requirements.in
pytest-django==4.1.0 # via -r test-requirements.in
pytest-mock==3.3.1 # via -r test-requirements.in
pytest-mypy==0.8.0 # via -r test-requirements.in
pytest-sugar==0.9.4 # via -r test-requirements.in
pytest-timeout==1.4.2 # via -r test-requirements.in
pytest==6.1.2 # via -r test-requirements.in, pytest-aiohttp, pytest-asyncio, pytest-cov, pytest-django, pytest-mock, pytest-mypy, pytest-sugar, pytest-timeout
pytz==2020.4 # via django
requests==2.25.0 # via coveralls
rfc3986[idna2008]==1.4.0 # via httpx
six==1.15.0 # via packaging
sniffio==1.2.0 # via httpcore, httpx
sqlparse==0.4.1 # via django
termcolor==1.1.0 # via pytest-sugar
toml==0.10.2 # via pytest
typed-ast==1.4.1 # via mypy
typing-extensions==3.7.4.3 # via aiohttp, mypy, uvicorn, yarl
urllib3==1.26.2 # via requests
uvicorn==0.12.2 # via -r test-requirements.in
yarl==1.6.3 # via aiohttp
zipp==3.4.0 # via importlib-metadata
aiohttp==3.7.3
# via
# -r test-requirements.in
# pytest-aiohttp
asgiref==3.3.1
# via django
async-timeout==3.0.1
# via aiohttp
attrs==20.3.0
# via
# aiohttp
# pytest
# pytest-mypy
certifi==2020.11.8
# via
# httpx
# requests
chardet==3.0.4
# via
# aiohttp
# requests
click==7.1.2
# via uvicorn
coverage==5.3
# via
# coveralls
# pytest-cov
coveralls==2.2.0
# via -r test-requirements.in
django==3.1.3
# via -r test-requirements.in
docopt==0.6.2
# via coveralls
filelock==3.0.12
# via pytest-mypy
h11==0.11.0
# via
# httpcore
# uvicorn
httpcore==0.12.2
# via httpx
httpx==0.16.1
# via -r test-requirements.in
idna==2.10
# via
# requests
# rfc3986
# yarl
iniconfig==1.1.1
# via pytest
multidict==5.0.2
# via
# aiohttp
# yarl
mypy-extensions==0.4.3
# via mypy
mypy==0.790
# via pytest-mypy
packaging==20.4
# via
# pytest
# pytest-sugar
pluggy==0.13.1
# via pytest
py==1.9.0
# via pytest
pyparsing==2.4.7
# via packaging
pytest-aiohttp==0.3.0
# via -r test-requirements.in
pytest-asyncio==0.14.0
# via -r test-requirements.in
pytest-cov==2.10.1
# via -r test-requirements.in
pytest-django==4.1.0
# via -r test-requirements.in
pytest-mock==3.3.1
# via -r test-requirements.in
pytest-mypy==0.8.0
# via -r test-requirements.in
pytest-sugar==0.9.4
# via -r test-requirements.in
pytest-timeout==1.4.2
# via -r test-requirements.in
pytest==6.2.1
# via
# -r test-requirements.in
# pytest-aiohttp
# pytest-asyncio
# pytest-cov
# pytest-django
# pytest-mock
# pytest-mypy
# pytest-sugar
# pytest-timeout
pytz==2020.4
# via django
requests==2.25.0
# via coveralls
rfc3986[idna2008]==1.4.0
# via httpx
six==1.15.0
# via packaging
sniffio==1.2.0
# via
# httpcore
# httpx
sqlparse==0.4.1
# via django
termcolor==1.1.0
# via pytest-sugar
toml==0.10.2
# via pytest
typed-ast==1.4.1
# via mypy
typing-extensions==3.7.4.3
# via
# aiohttp
# mypy
urllib3==1.26.2
# via requests
uvicorn==0.12.2
# via -r test-requirements.in
yarl==1.6.3
# via aiohttp