Skip to content

Commit 4b8d086

Browse files
committed
Merge from 4.x: PR spyder-ide#11517
Fixes spyder-ide#11497
2 parents a4212d8 + bc4108b commit 4b8d086

7 files changed

Lines changed: 396 additions & 148 deletions

File tree

binder/environment.yml

Lines changed: 25 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,32 +7,35 @@ dependencies:
77
# the contents of this requirements/conda.txt to this file.yml.
88
# Please *DO NOT* make changes directly just to here - make changes
99
# to requirements/conda.txt, and copy it here.
10-
- applaunchservices
11-
- atomicwrites
10+
- applaunchservices >=0.1.7
11+
- atomicwrites >=1.2.0
1212
- chardet >=2.0.0
13-
- cloudpickle
14-
- diff-match-patch
13+
- cloudpickle >=0.5.0
14+
- diff-match-patch >=20181111
1515
- intervaltree
16+
- ipython >=4.0
1617
- jedi =0.14.1
1718
- keyring
18-
- nbconvert
19-
- numpydoc
19+
- nbconvert >=4.0
20+
- numpydoc >=0.6.0
21+
- paramiko >=2.4.0
2022
- parso =0.5.2
21-
- pexpect
22-
- pickleshare
23-
- psutil
23+
- pexpect >=4.4.0
24+
- pickleshare >=0.4
25+
- psutil >=5.3
2426
- pygments >=2.0
25-
- pylint
27+
- pylint >=0.25
2628
- pyqt <5.13
29+
- pyyaml
2730
- python-language-server >=0.31.2,<0.32.0
28-
- pyxdg
29-
- pyzmq
31+
- pyxdg >=0.26
32+
- pyzmq >=17
3033
- qdarkstyle >=2.7
3134
- qtawesome >=0.5.7
3235
- qtconsole >=4.6.0
3336
- qtpy >=1.5.0
34-
- rtree
35-
- sphinx
37+
- rtree >=0.8.3
38+
- sphinx >=0.6.6
3639
- spyder-kernels >=1.8.1,<2.0.0
3740
- watchdog
3841

@@ -41,22 +44,23 @@ dependencies:
4144
# the contents of this requirements/tests.txt to this file.yml.
4245
# Please *DO NOT* make changes directly just to here - make changes
4346
# to requirements/tests.txt, and copy it here.
47+
- coverage <5.0
48+
- cython
49+
- flaky
50+
- matplotlib
51+
- mock
52+
- pandas
53+
- pillow
4454
- pytest <5.0
4555
- pytest-mock
4656
- pytest-cov
4757
- pytest-qt
4858
- pytest-ordering
4959
- pytest-lazy-fixture
5060
- pytest-faulthandler <2.0
51-
- mock
52-
- pandas
61+
- pytest-xvfb
5362
- scipy
5463
- sympy
55-
- pillow
56-
- matplotlib
57-
- cython
58-
- flaky
59-
- coverage <5.0
6064

6165
# Required for jupyter-desktop-server
6266
- websockify

requirements/conda.txt

Lines changed: 15 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,31 +2,32 @@
22
# So to get performant launches on mybinder.org, we have copied
33
# the contents of this file to binder/environment.yml. If you
44
# make changes here, please copy them over there too.
5-
applaunchservices
6-
atomicwrites
5+
applaunchservices >=0.1.7
6+
atomicwrites >=1.2.0
77
chardet >=2.0.0
8-
cloudpickle
9-
diff-match-patch
8+
cloudpickle >=0.5.0
9+
diff-match-patch >=20181111
1010
intervaltree
11+
IPython >=4.0
1112
jedi =0.14.1
1213
keyring
13-
nbconvert
14-
numpydoc
14+
nbconvert >=4.0
15+
numpydoc >=0.6.0
16+
Paramiko >=2.4.0
1517
parso =0.5.2
16-
pexpect
17-
pickleshare
18-
psutil
18+
pexpect >=4.4.0
19+
pickleshare >=0.4
20+
psutil >=5.3
1921
pygments >=2.0
20-
pylint
22+
pylint >=0.25
2123
pyqt <5.13
2224
python-language-server >=0.31.2,<0.32.0
23-
pyxdg
24-
pyzmq
25+
pyxdg >=0.26
26+
pyzmq >=17
2527
qdarkstyle >=2.7
2628
qtawesome >=0.5.7
2729
qtconsole >=4.6.0
2830
qtpy >=1.5.0
29-
rtree
30-
sphinx
31+
sphinx >=0.6.6
3132
spyder-kernels >=1.8.1,<2.0.0
3233
watchdog

requirements/tests.txt

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,20 @@
22
# So to get performant launches on mybinder.org, we have copied
33
# the contents of this file to binder/environment.yml. If you
44
# make changes here, please copy them over there too.
5+
coverage <5.0
6+
cython
7+
flaky
8+
matplotlib
9+
mock
10+
pandas
11+
pillow
512
pytest <5.0
6-
pytest-mock
713
pytest-cov
8-
pytest-qt
9-
pytest-ordering
10-
pytest-lazy-fixture
1114
pytest-faulthandler <2.0
12-
mock
13-
pandas
15+
pytest-lazy-fixture
16+
pytest-mock
17+
pytest-ordering
18+
pytest-qt
19+
pyyaml
1420
scipy
1521
sympy
16-
pillow
17-
matplotlib
18-
cython
19-
flaky
20-
coverage <5.0

setup.py

Lines changed: 34 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -200,61 +200,66 @@ def run(self):
200200
import setuptools # analysis:ignore
201201

202202
install_requires = [
203-
'applaunchservices;platform_system=="Darwin"',
204-
'atomicwrites',
203+
'applaunchservices>=0.1.7;platform_system=="Darwin"',
204+
'atomicwrites>=1.2.0',
205205
'chardet>=2.0.0',
206-
'cloudpickle',
207-
'diff-match-patch',
206+
'cloudpickle>=0.5.0',
207+
'diff-match-patch>=20181111',
208208
'intervaltree',
209+
'ipython>=4.0',
209210
# This is here until Jedi 0.15+ fixes completions for
210211
# Numpy and Pandas
211212
'jedi==0.14.1',
212213
# Don't require keyring for Python 2 and Linux
213214
# because it depends on system packages
214215
'keyring;sys_platform!="linux2"',
215-
'nbconvert',
216-
'numpydoc',
216+
'nbconvert>=4.0',
217+
'numpydoc>=0.6.0',
217218
# Required to get SSH connections to remote kernels
218-
'paramiko;platform_system=="Windows"',
219+
'paramiko>=2.4.0;platform_system=="Windows"',
219220
'parso==0.5.2',
220-
'pexpect',
221-
'pickleshare',
222-
'psutil',
221+
'pexpect>=4.4.0',
222+
'pickleshare>=0.4',
223+
'psutil>=5.3',
223224
'pygments>=2.0',
224-
'pylint',
225+
'pylint>=0.25',
225226
'pyqt5<5.13;python_version>="3"',
226227
'pyqtwebengine<5.13;python_version>="3"',
227228
'python-language-server[all]>=0.31.2,<0.32.0',
228229
'pyxdg>=0.26;platform_system=="Linux"',
229-
'pyzmq',
230+
'pyzmq>=17',
230231
'qdarkstyle>=2.7',
231232
'qtawesome>=0.5.7',
232233
'qtconsole>=4.6.0',
233234
'qtpy>=1.5.0',
234-
'sphinx',
235+
'sphinx>=0.6.6',
235236
'spyder-kernels>=1.8.1,<2.0.0',
236237
'watchdog',
237238
]
238239

239240
extras_require = {
240241
'test:python_version == "2.7"': ['mock'],
242+
'test:platform_system == "Linux"': ['pytest-xvfb'],
241243
'test:platform_system == "Windows"': ['pywin32'],
242-
'test': ['pytest<5.0',
243-
'pytest-qt',
244-
'pytest-mock',
245-
'pytest-cov',
246-
'pytest-xvfb;platform_system=="Linux"',
247-
'pytest-ordering',
248-
'pytest-lazy-fixture',
249-
'pytest-faulthandler',
250-
'mock',
251-
'flaky',
252-
'pandas',
253-
'scipy',
254-
'sympy',
255-
'pillow',
256-
'matplotlib',
257-
'cython'],
244+
'test': [
245+
'coverage<5.0',
246+
'cython',
247+
'flaky',
248+
'matplotlib',
249+
'mock',
250+
'pandas',
251+
'pillow',
252+
'pytest<5.0',
253+
'pytest-cov',
254+
'pytest-faulthandler<2.0',
255+
'pytest-lazy-fixture',
256+
'pytest-mock',
257+
'pytest-ordering',
258+
'pytest-qt',
259+
'pyyaml',
260+
'scipy',
261+
'sympy',
262+
],
258263
}
259264

260265
if 'setuptools' in sys.modules:

spyder/app/tests/test_mainwindow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2505,7 +2505,7 @@ def test_debug_unsaved_file(main_window, qtbot):
25052505

25062506

25072507
@pytest.mark.slow
2508-
@flaky(max_runs=1)
2508+
@flaky(max_runs=3)
25092509
@pytest.mark.parametrize(
25102510
"debug", [True, False])
25112511
def test_runcell(main_window, qtbot, tmpdir, debug):

0 commit comments

Comments
 (0)