Skip to content

Commit 4594fab

Browse files
Backport PR #544 on branch 3.x (PR: Add minimal required version of traitlets) (#545)
1 parent c76cdc9 commit 4594fab

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

requirements/posix.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ ipykernel>=6.29.3,<7
33
ipython>=8.12.2,<9
44
jupyter_client>=7.4.9,<9
55
pyzmq>=24.0.0
6-
wurlitzer>=1.0.3
76
pyxdg>=0.26
7+
traitlets>=5.14.3
8+
wurlitzer>=1.0.3
89
setuptools<71.0

requirements/windows.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ ipykernel>=6.29.3,<7
33
ipython>=8.12.2,<9
44
jupyter_client>=7.4.9,<9
55
pyzmq>=24.0.0
6+
traitlets>=5.14.3
67
setuptools<71.0

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,12 @@ def get_version(module='spyder_kernels'):
4242
'ipython>=8.13.0,<9,!=8.17.1; python_version>"3.8"',
4343
'jupyter-client>=7.4.9,<9',
4444
'pyzmq>=24.0.0',
45-
'wurlitzer>=1.0.3;platform_system!="Windows"',
4645
'pyxdg>=0.26;platform_system=="Linux"',
46+
# We need at least this version of traitlets to fix an error when setting
47+
# the Matplotlib inline backend formats.
48+
# Fixes spyder-ide/spyder#24390
49+
'traitlets>=5.14.3',
50+
'wurlitzer>=1.0.3;platform_system!="Windows"',
4751
]
4852

4953
TEST_REQUIREMENTS = [

0 commit comments

Comments
 (0)