Discussion:
[conda] Difference between python and other conda packages
Marco Halder
2018-10-24 07:06:31 UTC
Permalink
Hello,
First, thank you for your great work with conda.

I'm trying to understand how conda handles python itself compared to other packages.
When a new environment is created, python is installed into it. Is this python version pinned? If yes, is it possible to unpin it? What is the recommended way to check if a package is pinned? Are there other major differences between python and other packages?

Best regards,
Marco
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/7e5367ca-1054-4f18-82a1-b54e8026bd7a%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
'Chris Barker' via conda - Public
2018-10-24 20:22:31 UTC
Permalink
Post by Marco Halder
I'm trying to understand how conda handles python itself compared to other packages.
When a new environment is created, python is installed into it. Is this
python version pinned?
not sure what you mean by "pinned", but it is managed jsut like the other
packages -- you can upgrade it, etc.

a LOT of other packages depend on it, so it could get messy, but unless you
try to upgrade from py2 to py3 (that may not work) it should be do-able.
Post by Marco Halder
If yes, is it possible to unpin it? What is the recommended way to check
if a package is pinned?
I don't know that conda every fixes a package version in an environment so
it can't be upgraded. My understanding of the word "pinned" is that it
applies to dependencies, where you specify that only a particular version
of a given dep can be used.

Are there other major differences between python and other packages?
the python is the base environment is used to run conda itself, so there
may be some special issues there. But in an non-base environment, I'm
pretty sure Python is just another package...

In fact, while it is common, due to conda's roots and common use cases, to
start an environment out with Python -- it isn't necessary. For instance:

$ conda create -n node_test nodejs


will create an environment with only node in it -- no python at all.

-CHB
Post by Marco Halder
Best regards,
Marco
--
You received this message because you are subscribed to the Google Groups
"conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/
continuum.io/d/msgid/conda/7e5367ca-1054-4f18-82a1-
b54e8026bd7a%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception

***@noaa.gov
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/CALGmxE%2BvS4MHfPH%3DqZ%3D9roDBOdHE98tkWfZ8LJErfQzJR8FZzw%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Loading...