Permalink
Browse files

fix (#933)

* fix

* pin pytest version to < 3.3.0

* 2nd try

* 3rd try
  • Loading branch information...
oberstet committed Dec 9, 2017
1 parent 08ec987 commit d47af8412ec065aaba47639b0f819882429ebb33
Showing with 11 additions and 6 deletions.
  1. +1 −1 autobahn/asyncio/rawsocket.py
  2. +1 −1 examples/run-all-examples.py
  3. +7 −3 setup.py
  4. +2 −1 tox.ini
@@ -497,7 +497,7 @@ def __init__(self, factory, serializer=None):
if serializer is None:
serializers = get_serializers()
if serializers:
serializer = serializers[0]
serializer = serializers[0]()
if serializer is None:
raise Exception("could not import any WAMP serializer")
@@ -96,7 +96,7 @@ def start_crossbar():
launched = Deferred()
protocol = CrossbarProcessProtocol(finished, launched, Fore.YELLOW)
exe = 'crossbar'
args = [exe, 'start', '--cbdir', './router/.crossbar']
args = [exe, 'start', '--personality', 'community', '--cbdir', './router/.crossbar']
env = environ.copy()
env["PYTHONUNBUFFERED"] = "1"
View
@@ -127,7 +127,11 @@
"flake8>=2.5.1", # MIT license
"pyflakes>=1.0.0", # MIT license
"mock>=1.3.0", # BSD license
"pytest>=2.8.6", # MIT license
# pytest 3.3.0 has dropped support for Python 3.3
# https://docs.pytest.org/en/latest/changelog.html#pytest-3-3-0-2017-11-23
"pytest>=2.8.6,<3.3.0", # MIT license
"unittest2>=1.1.0", # BSD license
"twine>=1.6.5", # Apache 2.0
'sphinx>=1.2.3', # BSD
@@ -146,8 +150,8 @@
# for testing by users with "python setup.py test" (not Tox, which we use)
test_requirements = [
"pytest>=2.8.6", # MIT license
"mock>=1.3.0", # BSD license
"pytest>=2.8.6,<3.3.0", # MIT license
"mock>=1.3.0", # BSD license
]
View
@@ -19,6 +19,7 @@ deps =
mock
unittest2
coverage
pytest<3.3.0
; WAMP serializers
msgpack-python
@@ -43,7 +44,7 @@ deps =
py27-asyncio: trollius>=2.0
pypy-asyncio: trollius>=2.0
py33-asyncio: asyncio>=3.4.3
asyncio: pytest
py33-asyncio: pytest_asyncio<0.6
py34-asyncio: pytest_asyncio<0.6
py35-asyncio: pytest_asyncio<0.6

0 comments on commit d47af84

Please sign in to comment.