Skip to content

Commit 79c1dc9

Browse files
committed
pypy support
* add to continuous build * exclude wsaccel dependency Closes python-trio#119.
1 parent 96d986f commit 79c1dc9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Diff for: .travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ matrix:
77
include:
88
- python: 3.6
99
- python: 3.7
10+
- python: pypy3.6
1011
dist: xenial
1112
sudo: true
1213

Diff for: setup.py

+5-1
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@
3131
'Programming Language :: Python :: 3.5',
3232
'Programming Language :: Python :: 3.6',
3333
'Programming Language :: Python :: 3.7',
34+
'Programming Language :: Python :: Implementation :: CPython',
35+
'Programming Language :: Python :: Implementation :: PyPy',
3436
],
3537
python_requires=">=3.5",
3638
keywords='websocket client server trio',
@@ -39,7 +41,9 @@
3941
'async_generator>=1.10,<2',
4042
'ipaddress>=1.0.22,<2',
4143
'trio>=0.11',
42-
'wsaccel>=0.6.2,<0.7',
44+
# TODO: confirm whether wsaccel is relevant to performance
45+
# Disabled on pypy: https://github.com/methane/wsaccel/issues/19
46+
'wsaccel>=0.6.2,<0.7;implementation_name!="pypy"',
4347
'wsproto>=0.14,<0.15',
4448
'yarl>=1.2.6,<2'
4549
],

0 commit comments

Comments
 (0)