Skip to content

Commit c85f8ac

Browse files
authored
Merge pull request #325 from Carreau/fix-324
Parenthesize conditional requirement in setup.py
2 parents 4d1ee2a + 072a087 commit c85f8ac

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

docs/changelog.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@
44
Changes in Jupyter Client
55
=========================
66

7+
5.2.1
8+
=====
9+
10+
- Add parenthesis to conditional pytest requirement to work around a bug in the
11+
``wheel`` package, that generate a ``.whl`` which otherwise always depends on
12+
``pytest`` see :ghissue:`324` and :ghpull:`325`
13+
714
5.2
815
===
916

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ def run(self):
8888
extras_require = {
8989
'test': ['ipykernel', 'ipython', 'mock'],
9090
'test:python_version == "3.3"': ['pytest<3.3.0'],
91-
'test:python_version >= "3.4" or python_version == "2.7"': ['pytest'],
91+
'test:(python_version >= "3.4" or python_version == "2.7")': ['pytest'],
9292
},
9393
cmdclass = {
9494
'bdist_egg': bdist_egg if 'bdist_egg' in sys.argv else bdist_egg_disabled,

0 commit comments

Comments
 (0)