-
Notifications
You must be signed in to change notification settings - Fork 53
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
[ENH] - Safer pip
integrations
#661
Comments
CLI prototype at https://github.com/jaimergp/conda-pip You can try it out in your
And then run commands like: $ conda pip install scipy # should tell you it will get it from conda
$ conda pip install ragna
Analyzing dependencies: done
conda will install:
- aiofiles
- emoji
- fastapi
- huey
- httpx
- importlib-metadata[version='>=4.6']
- packaging
- panel[version='>=1.3,<1.4']
- pydantic[version='>=2']
- pydantic-core
- pydantic-settings[version='>=2']
- pyjwt
- python-multipart
- redis-py
- questionary
- rich
- sqlalchemy[version='>=2']
- tomlkit
- typer
- uvicorn
pip will install:
- ragna==0.1.1
Proceed ([y]/n)?
# will run 'conda install' and 'pip install --no-deps', respectively |
This is very promising. I like the direction. One longer term issue will be related to the UI. Whether we make pip packages easier to select and how we communicate what has been done under the hood. i.e. should we optionally spit out a new env.yaml with the packages moved to the conda section. |
Perhaps we will need a new yaml for visibility. |
@jaimergp What's the status here? I see this was marked as Ready before. |
See |
Current status:
I guess some documentation could be beneficial here, which I haven't added yet. I plan to do so after getting some consensus on the name of the project (see related issue), but I can do it already if someone on the team wants to test this locally? |
Renamed to Useful reads (this is not yet on GH Pages): |
Will close this as it is completed for the purpose of Challenges. And the project has now been moved to https://github.com/conda-incubator/conda-pypi |
Is there another issue tracking moving towards using conda-pypi in conda-store to enable safer pip integration? |
No there is not. I suppose @jaimergp @peytondmurray and I could discuss how this would look like and how we'd go about it. |
Opened #845 |
Feature description
Right now, we have some kind of "extra" checks around
pip
requirements via theSpecification
schema, but other than that, we just delegate toconda env
.The idea here is to handle
pip
packages a bit more safely, as described in this draft.Then we would modify this block so we only pass the
conda
deps toconda env
, but we handlepip
packages separately, as described in the draft.Something like:
Value and/or benefit
Safe pip integrations with reduced risk of clobbering and ABI incompatibilities.
Anything else?
This might start as a separate module, or maybe as a different repository.
The text was updated successfully, but these errors were encountered: