Skip to content

Commit

Permalink
fix: pin 'aoihttp < 3.7.0dev' (#634)
Browse files Browse the repository at this point in the history
Working around breaking change in 3.7.0.  See:

pnuckowski/aioresponses#173
  • Loading branch information
tseaver authored Oct 27, 2020
1 parent 5906c85 commit 05f9524
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 6 additions & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@
"grpcio",
]

ASYNC_DEPENDENCIES = ["pytest-asyncio", "aioresponses", "asynctest"]
ASYNC_DEPENDENCIES = [
"pytest-asyncio",
"aiohttp < 3.7.0dev",
"aioresponses",
"asynctest",
]

BLACK_VERSION = "black==19.3b0"
BLACK_PATHS = [
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"six>=1.9.0",
)

extras = {"aiohttp": "aiohttp >= 3.6.2, < 4.0.0dev; python_version>='3.6'"}
extras = {"aiohttp": "aiohttp >= 3.6.2, < 3.7.0dev; python_version>='3.6'"}

with io.open("README.rst", "r") as fh:
long_description = fh.read()
Expand Down
2 changes: 1 addition & 1 deletion system_tests/noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def configure_cloud_sdk(session, application_default_credentials, project=False)

# Test sesssions

TEST_DEPENDENCIES_ASYNC = ["aiohttp", "pytest-asyncio", "nest-asyncio"]
TEST_DEPENDENCIES_ASYNC = ["aiohttp < 3.7.0dev", "pytest-asyncio", "nest-asyncio"]
TEST_DEPENDENCIES_SYNC = ["pytest", "requests"]
PYTHON_VERSIONS_ASYNC = ["3.7"]
PYTHON_VERSIONS_SYNC = ["2.7", "3.7"]
Expand Down

0 comments on commit 05f9524

Please sign in to comment.