-
Notifications
You must be signed in to change notification settings - Fork 427
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
Deprecate or remove conda develop #4251
Comments
I arrived here after trying to figure out what
This was my go-to solution too, but as mentioned by @rgommers in this scipy-dev thread, one needs to be careful with at least two things:
In sum, the closest replacement to
(I might be missing other deviations from |
I am confused. Has conda provided a canonical source of guidance on this (outside of offhand comments from individuals in issue threads)? It seems extremely important to address, once someone is making the move from user of packages to contributor. |
To my knowledge, no. That would be the first point to address. |
I'm watching this issue since I've been wondering about some time already about the status of Maybe @jezdez would know a little more about the status of |
Imho it's not necessarily Conda's job to do this. All that's needed is a simple way to install a This could be done by |
I am using |
@Nodd did you check this comment: #4251 (comment) ? |
@astrojuanlu Thanks for the information, I didn't know of the existence of the |
That's a call for the conda devs to make. If it's not maintained and it's half-working, I think it's a disservice to have it in the CLI. If folks want it back, then it needs maintenance. The current state is not ideal IMHO. |
@jjpr-mit: I was using |
@mbaudin47 The Having said that, it's the 2 year anniversary of this issue and we still don't have an official pronouncement from the conda team. The two comments referred at the beginning of this thread are from 2018 and 2019. It's unclear what has changed since then. A "yes, we intend to keep |
Hey all, just catching up on this, making a call for the new @conda/builds-tools: conda develop is old at best, and doesn't do what it says on the tin (anymore). I'd suggest updating it to call |
At the risk of being pedantic, someone somewhere might be using
|
(If you want to get fancy we could run |
Could we potentially call it something else? Which means we would deprecate develop, create a new command, say py-develop or something like that, and after a certain period of time, remove develop? Or do we foresee having to support the python development/editable mode in other languages other than Python in the future? |
I've written about how I would implement conda-develop on the linked conda-pypi#35 issue. |
The
conda develop
command has been informally deprecated multiple times:But it is still present in the code and in the documentation. That is very likely misleading to anyone trying to learn best practices for scientific computing.
Example scenario: As soon as a new scientific programmer gets comfortable enough with Python to start working on multiple projects, the next logical step is to learn how to manage environments and dependencies. They'll start by adding a
setup.py
with dependencies to each project, and most likely they'll start using conda to manage environments. (That's what I recommend to users of the servers I manage.) They'll create a conda environment, activate it, and then runpip install -e .
, and the code from their project and all its dependencies will be available to anything they run in that environment. If they use Jupyter, they'll install that environment as a kernel.And then, as development progresses, they'll add more stuff. They'll
conda install
more packages. And now they have a problem: as described in the current documentation, it's dangerous to interleaveconda install
andpip install
. Inevitably they'll end up with an environment that's inconsistent, un-upgradeable and unusable.On their next project, they'll try to avoid that problem. The logical solution is to use whatever is the equivalent of
pip install -e
in conda. Which will lead them toconda develop
, which looks like the solution to their problem. They will then waste a day or more trying to getconda develop
to work, eventually stumbling across #1992 or #2633. And then they will curse the name of the person who exhorted them to use conda and follow best practices. Which in several cases has been me.Please deprecate or remove
conda develop
.The text was updated successfully, but these errors were encountered: