Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dependencies: Temporarily pin old version of jupyter-client. #1445

Merged
merged 2 commits into from
Apr 18, 2021

Conversation

carlosperate
Copy link
Member

As a workaround for #1444.

@tjguk
Copy link
Collaborator

tjguk commented Apr 15, 2021

LGTM; we obviously need to dive further into the issue, but this works for now

…ity.

- There was an issue in jupyter-client v6.1.13 that broke qtconsole
- Next jupyter-client release will be v6.2 and won't support Python 3.5
- We are currently using qtconsole v4, which does supports Python 3.5
- qtconsole v5 drops Python 3.5
- We should stay with jupyter-client<6.2 & qtconsole v4 for Mu v1.1 release
    - This would be mostly to support Debian (and specifically Raspbian)
      Stretch and Ubuntu 16.04 users, both still supported, but not for long
    - After v1.1 is release we should finally drop Python 3.5
- I hope, but don't know yet, that jupyter-client v6.2 will fix the issues
  with qtconsole without qtconsole having to create a new release
    - If it does, then we wouldn't need to pin jupyter-client, as pip should
      detect the `python_requires` and install the last compatible version
    - If it doesn't, there might be a qtconsole release for compatibility
      with the latest jupyter-client, but neither will be Python 3.6+

So, itprobably safer to lock jupyter-client < v6.2 & qtconsole to v4. The
jupyter-client min version comes from qtconsole v4 (checked their setup.py)

More info: #1444 (comment)
@carlosperate
Copy link
Member Author

I've rebased to fix the conflict in setup.py from the latest merge, and refined the comment. I'm not totally sure we'll need this PR, I guess that'll depend on the next jupyter-client and qtconsole release.

@ntoll
Copy link
Member

ntoll commented Apr 18, 2021

I had to resolve a conflict introduced by the recent Adafruit update... but that was simple to do. Merging.

@ntoll ntoll merged commit bcb5853 into master Apr 18, 2021
@carlosperate carlosperate deleted the jupyter-client branch April 19, 2021 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants