Skip to content

Commit fd89d1a

Browse files
authored
Merge pull request #731 from mert-kirpici/gh/730
#731 According to the [websockets changelog](https://websockets.readthedocs.io/en/stable/project/changelog.html): - v8.0 requires python >= 3.6 - v8.1 adds support for python3.8 - v9.0 adds support for python3.9 - v10.0 adds support for python3.10 This change is attempting to cover all these scenarios. The previous behavior was allowing some unwanted scenarios, e.g. websockets==9.0 and python3.10 combination. Which is incompatible. Fixes: #730
2 parents fd2d8c4 + c0483ee commit fd89d1a

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

setup.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,10 @@
3636
'pyRFC3339>=1.0,<2.0',
3737
'pyyaml>=5.1.2,<=6.0',
3838
'theblues>=0.5.1,<1.0',
39-
'websockets>=7.0,<8.0 ; python_version<"3.9"',
40-
'websockets>=8.0,<9.0 ; python_version=="3.9"',
41-
'websockets>=9.0; python_version>"3.9"',
39+
'websockets>=7.0,<8.1 ; python_version<"3.8"',
40+
'websockets>=8.1,<9.0 ; python_version=="3.8"',
41+
'websockets>=9.0,<10.0 ; python_version=="3.9"',
42+
'websockets>=10.0; python_version>"3.9"',
4243
'paramiko>=2.4.0,<3.0.0',
4344
'pyasn1>=0.4.4',
4445
'toposort>=1.5,<2',

0 commit comments

Comments
 (0)