Skip to content

Commit

Permalink
Pin jupyter-core to < 5.0.0 (#9105)
Browse files Browse the repository at this point in the history
The recent release of jupyter-core 5.0.0 started emitting a deprecation
warning during the image comparison tests which is causing a failure
caused by usage in seasborn via ipywidgets. To workaround this in the
short term this commit set a constraint on the jupyter-core version. We
should remove this pin after seaborn and ipywidgets are updated, or we
add an explicit warning exclude to the test suite.
  • Loading branch information
mtreinish authored Nov 9, 2022
1 parent 39e33bb commit 29c56a3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions constraints.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# jsonschema pinning needed due nbformat==5.1.3 using deprecated behaviour in
# 4.0+. The pin can be removed after nbformat is updated.
jsonschema==3.2.0

# jupyter-core 5.0.0 started emitting deprecation warnings with ipywidgets via
# a seaborn import. This pin can be removed when compatibility with those
# packages is fixed
jupyter-core==4.11.2

0 comments on commit 29c56a3

Please sign in to comment.