Merge branch 'master' of ssh://git-annex.branchable.com

This commit is contained in:
Joey Hess 2020-08-14 16:01:39 -04:00
commit 653652fdde
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 70 additions and 0 deletions

View file

@ -0,0 +1,38 @@
[[!comment format=mdwn
username="cardoso-neto"
avatar="http://cdn.libravatar.org/avatar/d90a656df072f3a29da54302c190c696"
subject="Having cutting edge packages with conda is not that straighforward."
date="2020-08-14T18:55:17Z"
content="""
I am always inclined to \"contain\" my dependencies inside separate environments, so I want to do what you recommended and use `git-annex=*=alldep*`.
But when I install it, I get outdated versions of really important programs (although only slightly outdated).
```
perl; 5.26.2; 5.30.0
git; 2.23.0; 2.28.0
```
I also got some downgrades of stuff that was already inside the env:
```
The following packages will be SUPERSEDED by a higher-priority channel:
ca-certificates pkgs/main::ca-certificates-2020.6.24-0 --> conda-forge::ca-certificates-2020.6.20-hecda079_0
libffi pkgs/main::libffi-3.3-he6710b0_2 --> conda-forge::libffi-3.2.1-he1b5a44_1007
python pkgs/main::python-3.8.5-hcff3b4d_0 --> conda-forge::python-3.8.3-cpython_he5300dc_0
```
Some googling later and I found this [github/conda-forge/git-annex-feedstock/.ci_support/linux_64_nodepFalse.yaml](https://github.com/conda-forge/git-annex-feedstock/blob/master/.ci_support/linux_64_nodepFalse.yaml), which does have `perl: - 5.26.2` *hard-coded*.
However I also found the [README](https://github.com/conda-forge/git-annex-feedstock/blob/master/.ci_support/README) saying that file was auto-generated based on this one [feedstock/recipe/meta.yaml](https://github.com/conda-forge/git-annex-feedstock/blob/master/recipe/meta.yaml), which furthers the mystery as this `meta.yaml` does not have any specified version for `perl` and git only has a minimum version (`git >=2.22`).
So it seems `conda` is grabbing older (than the most recent) versions, because those are the latest it has.
`git 2.28.0` is available on `conda-forge`, though. So I'm using that now. And since `conda-forge` is overall more up-to-date...
## This is how I decided to create my env:
`conda create --name main --channel conda-forge python=3.8 git=2.28 git-annex=*=alldep*`
Still no idea on how to update the *outdated* dependencies I stated on my previous post, though. They (cryptonite, feed, ghc, and persistent-sqlite) aren't even mentioned in the `git-annex-feedstock` repo.
"""]]

View file

@ -0,0 +1,23 @@
[[!comment format=mdwn
username="cardoso-neto"
avatar="http://cdn.libravatar.org/avatar/d90a656df072f3a29da54302c190c696"
subject="Ugly message when installing git-annex through conda"
date="2020-08-14T00:08:25Z"
content="""
Whenever I install git-annex through conda, this message haunts me:
```
Downloading and Extracting Packages
certifi-2020.6.20 | 151 KB | ############################################################################################################################################################## | 100%
conda-4.8.4 | 3.1 MB | ############################################################################################################################################################## | 100%
python_abi-3.7 | 4 KB | ############################################################################################################################################################## | 100%
Preparing transaction: done
Verifying transaction: done
Executing transaction: \ b'\n##############################################################################\n# #\n# Standalone distribution of git-annex was installed, instead of the #\n# standard distribution, likely due to package conflicts in the target #\n# environment. The standalone distribution may have issues (e.g. be slower, #\n# or not pass the expected environment to some external programs); #\n# the standard distribution should be used when possible. #\n# You can force installation of the standard version by adding =alldep* to #\n# the build string, e.g. #\n# conda install git-annex=*=alldep* #\n# #\n# For more info on the standalone git-annex distribution see #\n# https://git-annex.branchable.com/install/Linux_standalone/ #\n# #\n##############################################################################\n'
done
```
I couldn't help, but notice this sounds like what @Ilya_Shlyakhter said earlier.
I'm not a packaging expert, but I don't think this message is really supposed to be here.
"""]]

View file

@ -0,0 +1,9 @@
[[!comment format=mdwn
username="Ilya_Shlyakhter"
avatar="http://cdn.libravatar.org/avatar/1647044369aa7747829c38b9dcc84df0"
subject="comment 2"
date="2020-08-14T02:59:08Z"
content="""
\"this sounds like what @Ilya_Shlyakhter said earlier\" because I maintain the conda package :) I need to figure out why the `nodep*` version gets chosen even though the `alldep*` version has a higher build number -- will ask conda people and get back. If you prefer not to be haunted just install with `git-annex=*=alldep*` to force the standard version.
"""]]