-
-
Notifications
You must be signed in to change notification settings - Fork 334
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
fix to conda install instructions in readme #610
Conversation
Thanks for submitting your first pull request! You are awesome! 🤗 |
Can you define wrong? Did it throw an error when you run it? Maybe it should be using dash rather than underscore. I am not very familiar with the new syntax that you propose, do you know which conda versions is it compatible with? |
I do see the I haven't used this syntax for installing packages, though. |
Hi! So theres two changes here, one being the syntax and the other being the dash when you install with the underscore it fails, it needs to be referenced as the second change was made to be more indicitive of how the jupyter stacks team formats their conda installs for standard jupyterlab images! |
see this jupyter/docker-stacks Dockerfile where they install many packages at once on line 30. https://github.com/jupyter/docker-stacks/blob/main/images/scipy-notebook/Dockerfile |
I tried doing some research on this. I cant find exactly when this syntax was introduced, but its used commonly in the documentation now. https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-channels.html And yeah, the only thing explicitly wrong is the jupyter_ai instead of jupyter-ai. I can change this PR to only introduce that change if you like. this syntax change is just more friendly for when you're building jupyter-ai into a jupyterlab image to be served. |
I just ran As for the syntax, it looks like both the old ( |
@meeseeksdev please backport to 1.x |
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulations — you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove the If these instructions are inaccurate, feel free to suggest an improvement. |
(cherry picked from commit fb77735)
* Base chat handler refactor for custom slash commands (#398) * Adds attributes, starts adding to subclasses * Consistent syntax * Help for all handlers * Fix slash ID error * Iterate through entry points * Fix typo in call to select() * Moves config to magics, modifies extensions to attempt to load classes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Moves config to proper location, improves error logging * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * WIP: Updates per feedback, adds custom handler * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Removes redundant code, style fixes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Removes unnecessary custom message * Instantiates class * Validates slash ID * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Consistent arguments to chat handlers * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Refactors to avoid intentionally unused params * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Updates docs, removes custom handler from source and config * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Renames process_message to match base class * Adds needed parameter that had been deleted * Joins lines in contributor doc * Removes natural language routing type, which is not yet used * Update docs/source/developers/index.md Co-authored-by: Piyush Jain <[email protected]> * Update docs/source/developers/index.md Co-authored-by: Piyush Jain <[email protected]> * Update docs/source/developers/index.md Co-authored-by: Piyush Jain <[email protected]> * Revises per @3coins, avoids Latinism * Removes Configurable, since we do not yet have configurable traits * Uses Literal for validation * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Piyush Jain <[email protected]> (cherry picked from commit 64e6daf) * Removes redundant pydantic import * fix to conda install instructions in readme (#610) (cherry picked from commit fb77735) --------- Co-authored-by: Tom Lynch <[email protected]>
What I was hinting at is that there might be older versions which do not support the new syntax. It would be easier to say if conda documentation included "version added" comment; from the release notes I can only infer it was already present in January last year (2023) since these mention a documentation for this feature being added. |
Both the "old" and "new" syntax will be in the full docs once #611 is merged (thanks @krassowski for your feedback on that PR, too!). We can revise the README and docs if one syntax or the other gets deleted. |
The current instructions for installing jupyter-ai with conda/mamba are wrong.
This is a simple change to the readme to bring it inline with instructions found on conda-forge