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

Isolate Naas install from other python libraries #301

Open
jravenel opened this issue Mar 21, 2022 · 4 comments
Open

Isolate Naas install from other python libraries #301

jravenel opened this issue Mar 21, 2022 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@jravenel
Copy link

We need to isolate Naas install from other python libraries to enable jupyter-naas/awesome-notebooks#209 for example.

People could install python lib different from the one installed in Naas.

FYI @riderx

@jravenel jravenel added the enhancement New feature or request label Mar 21, 2022
@jravenel jravenel added this to the Better user experience milestone Mar 21, 2022
@riderx
Copy link
Contributor

riderx commented Mar 21, 2022

yes same issue i got for Supabase, the goto seems to use virtual env :
https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/

@Dr0p42
Copy link
Collaborator

Dr0p42 commented Mar 21, 2022

yes same issue i got for Supabase, the goto seems to use virtual env : https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/

Yes @riderx we need to implement this it's in the roadmap. It will be easier for everyone I think 👍

@riderx
Copy link
Contributor

riderx commented Mar 21, 2022

Somthing like that python -m pip install --upgrade pip virtualenv should be added there

@Dr0p42
Copy link
Collaborator

Dr0p42 commented Mar 21, 2022

Somthing like that python -m pip install --upgrade pip virtualenv

The thing is that we will install naas + naas dependencies in its own virtualenv, then before running naas we will activate that venv. It will then be isolated.

I already have a branch on that which I need to push.

It's mostly happening in the Dockerfile. I will check about the CI as well.

@jravenel jravenel added this to In Progress in Community Roadmap Mar 21, 2022
@Dr0p42 Dr0p42 moved this from In Progress to To Do in Community Roadmap May 11, 2022
@Dr0p42 Dr0p42 moved this from To Do to Backlog in Community Roadmap May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

No branches or pull requests

3 participants