-
Notifications
You must be signed in to change notification settings - Fork 283
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
Unclear how to obtain jupyter_client version number #178
Comments
In general, the way to find a Python package version is via Each Jupyter entrypoint does expose the version of the package providing it, but I don't think we should add new entrypoints whose sole purpose is to report version numbers. The package managers already provide the entrypoint for this. |
I'd also rather not add subcommands like |
I think the pip/conda approach is complex as pip can shadow conda and it's anyway confusing for users to know in which environment they are. I see a few approaches: Have something in the Jupyter metapackage that list versions. And assume that people that do not install this meta-package know what they are doing. Have a thing that list version in jupyter_core. |
We do have the |
Well... I did not remember merging it, but indeed we do.. we need to document it more. |
Should it be documented in each of the jupyter projects since it could be On Fri, Jul 29, 2016 at 11:51 AM, Matthias Bussonnier <
|
Probably not in detail, because duplicating docs is a great way to make outdated docs in the future ;-). We could crosslink it, but it's not obvious to me where people will land when they have problems. The main reason for |
This came up again in a discussion with @jhamrick about people leaving useful info in the context of issues and bug reports. I think that having a global @Carreau is meseeksbot able to transfer issues between repos in different orgs? Because this would seem to be most appropriate for jupyter/jupyter_core now that this is the agreed upon solution. |
From a user perspective I like the idea of doing |
Yes that's one of the feature. If it's enabled on 2 repositories, and you have admin permission on both you should be able to ask him to migrate. I agree (in principle) with @takluyver, in this case I think that practicality beats purity. We can also add a |
We could, but then it requires a change and new release of all Jupyter packages before it's usable. And by the time extension authors are using it as well... I feel like we may as well just ask people to run Maybe we could add a feature so you could do |
@MeseeksDev migrate to jupyter/jupyter_core @Carreau I think MeseeksDev is not enabled on jupyter_client |
While I understand the principle you're talking about @takluyver, but I actually think a list of all the jupyter maintained python packages) is probably something worth doing independently. That will require solving a), b) and c), but I think that's reasonable. Can you give an example of edge cases that you think are going to be difficult to establish? At least at first, I was thinking that it would be good to have hard boundaries like "is it a package hosted on any of our official orgs?". So for example I'd think that'd be a subset of the packages living in the following orgs: That subset need not be (but probably should be) a proper subset of the packages on those repos. But if we make an assumption that we should include more rather than fewer things, just including everything from those orgs wouldn't be the worst first pass (& it would be greatly improved from a dump of everything from pip/conda). Also, it's worth noting that we kind of do this in an indirect way in the jupyter/help org: https://github.com/jupyter/help#reporting-a-bug-in-a-jupyter-project @takluyver What's the entrypoint pep? I'm intrigued! |
I think that @Carreau's warning message would also be a good touch, though with an additional pointer to say "If you see that a package is missing please let us know at https://github.com/jupyter/jupyter_core/issues " |
weird. Let me check, there is no error or refusal in the logs. |
I think you typoed. @meeseeksdev migrate to jupyter/jupyter_core |
Done as jupyter/jupyter_core#117. |
Yep you typoed. |
Oweee you missed an EEEE |
This arose in jupyter/nbconvert#328
I eventually noticed that jupyter-client manages jupyter kernelspec so I thought
jupyter kernelspec --version
might work, and it returned the value I expected so I think that is one way to do it…is that right?but we might want to put in some kind of a command for either dumping a lot of the relevant jupyter version numbers all at once (for debugging and error locating purposes), or include a
jupyter client --version
even if all it exists to do is to provide the version number in a more straightforward fashion.The text was updated successfully, but these errors were encountered: