conda-forge / datalad-container-feedstock

A conda-smithy repository for datalad-container.
BSD 3-Clause "New" or "Revised" License
0 stars 3 forks source link

installation in fresh miniconda install leads to some libraries needing reinstall/downgrade which fixes issue #7

Open yarikoptic opened 3 years ago

yarikoptic commented 3 years ago

waiting for 1.1.2 to be PRed from pypi. so for now did manual conda install -c conda-forge mock

after conda install -c conda-forge datalad-container (on Mac) I get

(base) yoh@dataladmac2 ~ % datalad containers-run --help                    
[WARNING] Failed to load entrypoint container: (PyJWT 2.0.0 (/Users/yoh/miniconda3/lib/python3.8/site-packages), Requirement.parse('pyjwt<2.0'), {'PyGithub'}) [__init__.py:resolve:775] 
datalad: Unknown command 'containers-run'.  See 'datalad --help'.

Hint: Command containers-run is provided by (not installed) extension datalad-container.

`conda uninstall datalad-container` leads to installation (what an odd world; well -- it downgrades them to prior versions for some reason, and they were not installed while installing datalad-container) of various not directly implicated packages, some including `pyjwt`

The following packages will be UPDATED:

ca-certificates conda-forge::ca-certificates-2020.12.~ --> pkgs/main::ca-certificates-2020.12.8-hecd8cb5_0 cffi 1.14.3-py38h2125817_2 --> 1.14.4-py38h2125817_0 chardet 3.0.4-py38hecd8cb5_1003 --> 4.0.0-py38hecd8cb5_1003 cryptography 3.2.1-py38hbcfaee0_1 --> 3.3.1-py38hbcfaee0_0 distro conda-forge::distro-1.5.0-pyh9f0ad1d_0 --> pkgs/main::distro-1.5.0-pyhd3eb1b0_1 expat conda-forge::expat-2.2.9-h4a8c4bd_2 --> pkgs/main::expat-2.2.10-hb1e8313_2 fasteners conda-forge::fasteners-0.14.1-py_3 --> pkgs/main::fasteners-0.16-pyhd3eb1b0_0 iso8601 conda-forge/noarch::iso8601-0.1.13-py~ --> pkgs/main/osx-64::iso8601-0.1.13-py38_1 krb5 1.17.1-hddcf347_0 --> 1.18.2-h75d18d8_0 libtiff 4.1.0-hcb84e12_0 --> 4.1.0-hcb84e12_1 pip 20.2.4-py38hecd8cb5_0 --> 20.3.3-py38hecd8cb5_0 pyopenssl 19.1.0-pyhd3eb1b0_1 --> 20.0.1-pyhd3eb1b0_1 requests 2.24.0-py_0 --> 2.25.1-pyhd3eb1b0_0 setuptools 50.3.1-py38hecd8cb5_1 --> 51.1.2-py38hecd8cb5_4 tqdm 4.51.0-pyhd3eb1b0_0 --> 4.55.1-pyhd3eb1b0_0 urllib3 1.25.11-py_0 --> 1.26.2-pyhd3eb1b0_0 wheel 0.35.1-pyhd3eb1b0_0 --> 0.36.2-pyhd3eb1b0_0 zstd 1.3.7-h5bba6e5_0 --> 1.4.5-h41d2c2f_0

The following packages will be SUPERSEDED by a higher-priority channel:

appdirs conda-forge::appdirs-1.4.4-pyh9f0ad1d~ --> pkgs/main::appdirs-1.4.4-py_0 boto conda-forge/noarch::boto-2.49.0-py_0 --> pkgs/main/osx-64::boto-2.49.0-py38_0 certifi conda-forge::certifi-2020.12.5-py38h5~ --> pkgs/main::certifi-2020.12.5-py38hecd8cb5_0 conda conda-forge::conda-4.9.2-py38h50d1736~ --> pkgs/main::conda-4.9.2-py38hecd8cb5_0 deprecated conda-forge::deprecated-1.2.10-pyh9f0~ --> pkgs/main::deprecated-1.2.10-py_0 freetype conda-forge::freetype-2.10.4-h4cff582~ --> pkgs/main::freetype-2.10.4-ha233b18_0 git conda-forge::git-2.30.0-pl5320hd05cdc~ --> pkgs/main::git-2.23.0-pl526h6951d83_0 humanize conda-forge::humanize-3.2.0-pyhd8ed1a~ --> pkgs/main::humanize-3.2.0-pyhd3eb1b0_0 jpeg conda-forge::jpeg-9d-hbcb3906_0 --> pkgs/main::jpeg-9b-he5867d9_2 keyring conda-forge::keyring-21.8.0-py38h50d1~ --> pkgs/main::keyring-21.8.0-py38hecd8cb5_0 keyrings.alt conda-forge/noarch::keyrings.alt-4.0.~ --> pkgs/main/osx-64::keyrings.alt-4.0.2-py38hecd8cb5_0 lcms2 conda-forge::lcms2-2.11-h11f7e16_1 --> pkgs/main::lcms2-2.11-h92f6f08_0 libcurl conda-forge::libcurl-7.71.1-h9bf37e3_8 --> pkgs/main::libcurl-7.71.1-h8a08a2b_1 libiconv conda-forge::libiconv-1.16-haf1e3a3_0 --> pkgs/main::libiconv-1.16-h1de35cc_0 libpng conda-forge::libpng-1.6.37-h7cec526_2 --> pkgs/main::libpng-1.6.37-ha441bb4_0 libssh2 conda-forge::libssh2-1.9.0-h8a08a2b_5 --> pkgs/main::libssh2-1.9.0-ha12b0ac_1 monotonic conda-forge --> pkgs/main olefile conda-forge::olefile-0.46-pyh9f0ad1d_1 --> pkgs/main::olefile-0.46-py_0 openssl conda-forge::openssl-1.1.1i-h35c211d_0 --> pkgs/main::openssl-1.1.1i-h9ed2024_0 pcre conda-forge::pcre-8.44-h4a8c4bd_0 --> pkgs/main::pcre-8.44-hb1e8313_0 perl conda-forge::perl-5.32.0-hbcb3906_0 --> pkgs/main::perl-5.26.2-h4e221da_0 pillow conda-forge::pillow-8.1.0-py38hc1d52f~ --> pkgs/main::pillow-8.1.0-py38h5270095_0 psutil conda-forge::psutil-5.8.0-py38h5406a7~ --> pkgs/main::psutil-5.7.2-py38haf1e3a3_0 pygithub conda-forge::pygithub-1.54.1-pyhd3deb~ --> pkgs/main::pygithub-1.53-py_0 pyjwt conda-forge/noarch::pyjwt-2.0.0-pyhd8~ --> pkgs/main/osx-64::pyjwt-1.7.1-py38_0 python-dateutil conda-forge --> pkgs/main pyyaml conda-forge::pyyaml-5.3.1-py38h5406a7~ --> pkgs/main::pyyaml-5.3.1-py38haf1e3a3_1 simplejson conda-forge::simplejson-3.17.2-py38h5~ --> pkgs/main::simplejson-3.17.2-py38haf1e3a3_0 whoosh conda-forge --> pkgs/main wrapt conda-forge::wrapt-1.12.1-py38h5406a7~ --> pkgs/main::wrapt-1.12.1-py38haf1e3a3_1

Proceed ([y]/n)?



so if I proceed and then reinstall `datalad-container` -- everything works at the end correctly.

Need to inquire conda and conda-forge experts I guess :-/
yarikoptic commented 3 years ago

FWIW, the same is happening with freshly build 1.1.2 version:

(base) yoh@dataladmac2 ~ % datalad containers-run --help
[WARNING] Failed to load entrypoint container: (PyJWT 2.0.1 (/Users/yoh/miniconda3-2/lib/python3.8/site-packages), Requirement.parse('pyjwt<2.0'), {'PyGithub'}) [__init__.py:resolve:775] 
datalad: Unknown command 'containers-run'.  See 'datalad --help'.

Hint: Command containers-run is provided by (not installed) extension datalad-container.

so somewhere should be restriction on upper version of the pyjwt package added, heh