Daniel Holth
Daniel Holth
@birdsarah Were you seeing package issues or just JSONDecodeError?
Thanks for the info. Obviously if two conda's are trying to download or extract the same package at the same time, that's a problem. Depending on the timing, the second...
A long time ago conda had locking. I'm interested in putting an improved lock scheme back in. For example https://github.com/conda/conda/pull/12996, https://github.com/conda/conda/issues/13055
Are we using the same `.partial` for `.conda` and `.tar.bz2`
If the newest conda fixes the issue I'm really happy to hear that.
mamba lock implementation: is it locking the entire repodata cache, and then individual package archives https://github.com/mamba-org/mamba/commit/2b7b230613a2712e62b54234f685ffab5efb8fb1 https://github.com/mamba-org/mamba/blob/main/libmambapy/libmambapy/__init__.pyi#L586
Part of the https://github.com/conda/conda/blob/main/CHANGELOG.md#430-2016-12-14--safety changelog removes all locking. Examples of old locking code: https://github.com/conda/conda/pull/2962/files https://github.com/conda/conda/pull/3075/files#diff-7d268fb127254f6bbe86f2bcc71307c27f8d71ea9ca1481903d33550a7121958
Seems pretty simple, straightforward.
I would like feedback but it is still a draft, it's not clean yet.
@beenje I have been [refining this technique here](https://github.com/dholth/conda-pupae/blob/main/conda_pupae/translate.py). It makes a wheel and immediately converts it to `.conda` without bothering with conda-build or a recipe. But it's focused on editable...