by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • 12:09
    bouh2 commented #8930
  • 12:06
    bouh2 commented #9038
  • 12:06
    bouh2 commented #9038
  • 12:06
    bouh2 commented #9038
  • 12:05
    bouh2 commented #9038
  • 09:38
    jr7 edited #10049
  • 09:37
    Alexander-Serov commented #3859
  • 09:25
    polm opened #10050
  • 08:56
    jr7 opened #10049
  • Jul 05 23:15
    owenyoung75 closed #9221
  • Jul 05 21:13
    caioltfo commented #7267
  • Jul 05 21:11
    SuperStacie commented #9221
  • Jul 05 21:10
    SuperStacie commented #9221
  • Jul 05 15:19
    BirajCoder commented #9746
  • Jul 05 09:47
    mingwandroid commented #9867
  • Jul 05 09:11
    dddanny79 commented #9903
  • Jul 05 04:54
    willgittoes commented #9867
  • Jul 04 17:50
    bt- commented #7758
  • Jul 04 05:29
    starman86 commented #10038
  • Jul 04 05:28
    starman86 commented #10038
Wolf Vollprecht
@wolfv
very well actually, lot's of progress last month :)
we're moving to a similar structure as librepo but using libcurl directly
now downloading + extracting are taken care of by mamba's C++ core
(and download validation)
the next thing is to do the installation from within C++ as well (I almost have this done, just some Windows bit's missing)
then soon we can produce a micromamba (or µmamba which will be a statically linked executable, hehe)
sounds all quite similar to what happened with dnf, I think there is a microdnf as well, right?
Neal Gompa (ニール・ゴンパ)
@Conan-Kudo
yes
Michael Milton
@TMiguelT
Hi all, is this answer about concurrent conda install still accurate for recent conda versions? Is there any way to control the cache location or otherwise make the cache threadsafe?
Michael Milton
@TMiguelT
Vincent
@vsiles
Hi there. Not sure it is the right place to ask but I'm very new to conda. I'm trying to use the jq library, I installed using conda install -c conda-forge jq. The install was on a brand new installation of conda and a fresh env. The installation went ok, but I can't import jq, it says the Module can't be found
I can import any module in conda list, but the one marked conda-forge, so maybe I'm missing something
Michael Milton
@TMiguelT
jq is a command-line tool. pyjq is the python library
Vincent
@vsiles
oh, so conda can also install binaries, not just python libraries ?
Michael Milton
@TMiguelT
Correct
Vincent
@vsiles
I didn't know that, thank you
ok, found pyjq ! Thanks. Looks like my python version is too high (3.8). Is there a way to ask conda to go back to 3.7 ?
Michael Milton
@TMiguelT
I think you can force a downgrade with conda install python=3.7
Or something like that
Vincent
@vsiles
Will try. Thanks for the assist ! Have a nice day
Wolf Vollprecht
@wolfv
@kalefranz @jjhelmus btw if you guys ever want to have a discussion on mamba / micromamba just let me know ... I would be more than happy to talk a little about our current plans if you are interested
Wolf Vollprecht
@wolfv
specifically micromamba is a pure C++ implementation of conda/mamba that we can hopefully soon compile into a small, statically linked binary that can be used on CI services
and one next thing I really want to tackle soon(ish) is mamba-build because we have super-large meta.yaml files with hundreds of outputs for ROS recipes and it takes too long with conda-build
I believe with the new API of mamba it will be fairly straightforward to implement the package building part
Matthew R Becker
@beckermr
@wolfv would it be possible to simply add hooks to conda-build so that it can call the mamba solver?
this idea is from @msarahan
Wolf Vollprecht
@wolfv
I haven’t looked into conda build that much yet
Would be cool if that was possible indeed
But I also want to change some things on a logic level specifically for huge builds
A lot of times conda build seems to solve the same thing over and over. Also it often says „fetching repodata“ - I’m not sure what triggers this under the hood
Matthew R Becker
@beckermr
Mamba is so fast that I’m not actually worried about these things.
Wolf Vollprecht
@wolfv
one thing that I believe is possible -- at least for these ROS builds -- is that one can solve over the "union" of the dependencies of the different recipes
e.g. if i have ros-pkg1 and ros-pkg2 and both depend on Python in the host section, then Python should be exactly the same in both cases
so if one first removes all packages that are part of the build from the dependencies, and then creates one big (fake) host section, then solves, then one should have the correct deps for all packages
this would cut the build time for our ROS meta.yamls by an hour easily :) so I really need to get to that
Matthew R Becker
@beckermr
interesting
at some point conda build was caching envs iiuic but this led to issues
Wolf Vollprecht
@wolfv
@kalefranz I have compiled a short list of low-level things that I think could be improvements to conda: https://docs.google.com/document/d/1nNvHbCmvK9lNzRd28Ki3rFHSEiXzPaR7vP6830tbXlA/edit?usp=sharing
I think gradually we'll try to tackle them in mamba
maybe you guys want to chime in?
Pat Gunn
@pgunn
Is there a way to tell what packages are in a conda environment without running any conda commands?
Wolf Vollprecht
@wolfv
conda list?
or check te files in conda-meta
Pat Gunn
@pgunn
without running any conda commands :)
I work in academia and we're trying to figure out a backup policy that lets us skip backing up conda while still preserving the info needed for users to recreate their environment if need be. We don't want our backup scripts to su to the user to run conda stuff.
wes
@wscarter
@pgunn there might be a better option but there is a list of package jsons in $HOME/.miniconda3/envs/<my_env>/conda-meta
that's assuming miniconda but i guess it's probably similar for other install methods
you could write a shell script to parse the package name out of the filename
Jonathan J. Helmus
@jjhelmus
The conda-meta directory exists for every conda environment
Pat Gunn
@pgunn
that'll do