conda-forge / astrometry-feedstock

A conda-smithy repository for astrometry.
BSD 3-Clause "New" or "Revised" License
5 stars 2 forks source link

Library versions compiled in, but not required #12

Open dmopalmer opened 4 years ago

dmopalmer commented 4 years ago

Issue:

The anaconda build has libwcs.7.2 hard-coded in the package. (I grep the pre-compiled binaries in the anaconda package tar file and see @rpath/libwcs.7.2.dylib )

It breaks if a different version of wcslib is installed. (Other dependencies have me stuck at libwcs.5) Therefore it will break when libwcs.7.3 becomes an anaconda package.

I don't know the anaconda build system, but there is presumably some way to make it use any libwcs above a certain version (or failing that, pinning 7.2 as a requirement.)

This issue was also attached to https://github.com/dstndstn/astrometry.net/issues/138


Environment (conda list):

``` $ conda list # packages in environment at /Users/palmer/anaconda3/envs/stable: # # Name Version Build Channel altair 3.2.0 py36_0 anaconda-client 1.7.2 py36_0 appnope 0.1.0 py36hf537a9a_0 argparse 1.4.0 pypi_0 pypi asdf 2.6.0 py_0 conda-forge asn1crypto 1.3.0 py36h9f0ad1d_1 conda-forge astroid 2.4.1 py36h9f0ad1d_0 conda-forge astrometry 0.80 py36hbccd985_0 conda-forge astropy 3.2.3 py36h1de35cc_0 astropy-healpix 0.5 py36h3b54f70_0 astropy astroquery 0.4 py_0 astropy astunparse 1.6.2 py_0 conda-forge atomicwrites 1.3.0 py36_1 attrs 19.3.0 py_0 backcall 0.1.0 py36_0 backports 1.0 py_2 backports.os 0.1.1 py36_0 basemap 1.2.0 py36h0acbc05_0 basemap-data-hires 1.2.0 0 bcrypt 3.1.7 py36h1de35cc_0 beautifulsoup4 4.9.0 py36_0 blas 2.11 openblas conda-forge bleach 3.1.4 py_0 bzip2 1.0.8 h1de35cc_0 ca-certificates 2020.4.5.1 hecc5488_0 conda-forge cairo 1.16.0 h0ab9d94_1001 conda-forge cartopy 0.16.0 py36he7b4726_0 certifi 2020.4.5.1 py36h9f0ad1d_0 conda-forge cffi 1.14.0 py36hb5b8e2f_0 cfitsio 3.470 h389770f_2 conda-forge chardet 3.0.4 py36_1003 cloudpickle 1.3.0 py_0 clyent 1.2.2 py36_1 colour 0.1.5 py36_0 cryptography 2.8 py36ha12b0ac_0 cryptography-vectors 2.8 py_0 curl 7.67.0 ha441bb4_0 cycler 0.10.0 py36hfc81398_0 cython 0.29.15 py36h0a44026_0 cytoolz 0.10.1 py36h1de35cc_0 dask-core 2.14.0 py_0 dbus 1.13.12 h90a0687_0 decorator 4.4.2 py_0 defusedxml 0.6.0 py_0 conda-forge dmpanalysis 0.1 pypi_0 pypi dmplab 0.1 pypi_0 pypi dmptools 0.2.3a2 pypi_0 pypi docopt 0.6.2 py36_0 elroi 0.1 pypi_0 pypi entrypoints 0.3 py36_0 ephem 3.7.7.0 py36h1de35cc_0 expat 2.2.6 h0a44026_0 fenton 1.0.0 pypi_0 pypi ffmpeg 4.2.2 h97e5cf8_0 fontconfig 2.13.1 h1027ab8_1000 conda-forge freetype 2.9.1 hb4e5f40_0 freexl 1.0.5 h1de35cc_0 future 0.18.2 py36_0 geojson 2.5.0 py_0 conda-forge geos 3.6.2 h5470d99_2 geotiff 1.4.2 h54263a3_0 gettext 0.19.8.1 h15daf44_3 ghostscript 9.22 h0a44026_1001 conda-forge giflib 5.1.4 h1de35cc_1 git 2.23.0 pl526h6951d83_0 glib 2.63.1 hd977a24_0 gmp 6.1.2 h0a44026_1000 conda-forge gnutls 3.6.5 h53004b3_1002 conda-forge graphite2 1.3.13 h2098e52_0 gsl 2.6 ha2d443c_0 conda-forge gwcs 0.11.0 py_0 conda-forge hdf4 4.2.13 h39711bb_2 hdf5 1.8.18 h017327d_1 healpy 1.12.10 py36h2c3d0c3_0 conda-forge html5lib 1.0.1 py36_0 hypothesis 5.16.0 py_0 conda-forge icu 58.2 h4b95b61_1 idna 2.9 py_1 imagecodecs-lite 2019.12.3 py36h37b9a7d_0 conda-forge imageio 2.4.1 py36_0 importlib_metadata 1.5.0 py36_0 intel-openmp 2020.0 166 ipykernel 5.1.4 py36h39e3cac_0 ipympl 0.3.3 py_0 ipython 7.13.0 py36h5ca1d4c_0 ipython_genutils 0.2.0 py36_0 ipywidgets 7.5.1 py_0 iso8601 0.1.12 py36_1 isort 4.3.21 py36h9f0ad1d_1 conda-forge jasper 2.0.14 h636a363_1 jbig 2.1 h4d881f8_0 jedi 0.16.0 py36_1 jinja2 2.11.1 py_0 joblib 0.15.1 py_0 conda-forge jpeg 9c h1de35cc_1001 conda-forge jplephem 2.14 pyhe916df7_1 conda-forge json-c 0.12.1 h6b7fe83_2 json5 0.9.0 py_0 conda-forge jsonschema 3.2.0 py36_0 jupyter 1.0.0 py36_7 jupyter_client 6.1.2 py_0 jupyter_console 6.1.0 py_0 jupyter_core 4.6.3 py36_0 jupyterlab 1.2.6 pyhf63ae98_0 jupyterlab_server 1.1.5 py_0 conda-forge kealib 1.4.7 haa18932_5 keyring 21.1.1 py36_2 kiwisolver 1.1.0 py36h0a44026_0 krb5 1.16.4 hddcf347_0 lame 3.100 h1de35cc_1001 conda-forge lazy-object-proxy 1.4.3 py36h37b9a7d_2 conda-forge libblas 3.8.0 11_openblas conda-forge libboost 1.67.0 hebc422b_4 libcblas 3.8.0 11_openblas conda-forge libcurl 7.67.0 h051b688_0 libcxx 4.0.1 hcfea43d_1 libcxxabi 4.0.1 hcfea43d_1 libdap4 3.19.1 h3d3e54a_0 libedit 3.1.20181209 hb402a30_0 libffi 3.2.1 h0a44026_6 libgfortran 3.0.1 h93005f0_2 libiconv 1.15 h0b31af3_1006 conda-forge libkml 1.3.0 hbe12b63_4 liblapack 3.8.0 11_openblas conda-forge liblapacke 3.8.0 11_openblas conda-forge libnetcdf 4.4.1.1 h1d6afd8_8 libopenblas 0.3.6 hdc02c5d_2 libopus 1.3.1 h1de35cc_0 libpng 1.6.37 ha441bb4_0 libpq 11.2 h051b688_0 libprotobuf 3.11.4 hd9629dc_0 libsodium 1.0.16 h3efe00b_0 libspatialite 4.3.0a h0a2fa02_18 libssh2 1.9.0 ha12b0ac_1 libtiff 4.1.0 hcb84e12_0 libvpx 1.7.0 h378b8a2_0 libwebp 1.0.1 hd73b212_0 libxcb 1.13 h1de35cc_1002 conda-forge libxml2 2.9.9 hf6e021a_1 libxslt 1.1.33 h33a18ac_0 line_profiler 2.1.2 py36h1de35cc_0 llvm-openmp 10.0.0 h28b9765_0 conda-forge llvmlite 0.32.0 py36h8c7ce04_0 lxml 4.5.0 py36hef8c89e_0 lz4 3.0.2 py36hb3a0f92_1 conda-forge lz4-c 1.8.3 h6de7cb9_1001 conda-forge markdown 3.1.1 py36_0 markupsafe 1.1.1 py36h1de35cc_0 matplotlib 3.1.3 py36_0 matplotlib-base 3.1.3 py36h9aa3819_0 mccabe 0.6.1 py_1 conda-forge memory_profiler 0.55.0 py36_0 mistune 0.8.4 py36h1de35cc_0 mkl 2020.0 166 more-itertools 8.2.0 py_0 moviepy 0.2.3.5 py_0 conda-forge mpld3 0.3 pypi_0 pypi nb_anacondacloud 1.4.0 py36_1 conda-forge nb_conda 2.2.1 py36_0 nb_conda_kernels 2.2.3 py36_0 nbconvert 5.6.1 py36_0 nbformat 5.0.4 py_0 nbpresent 3.0.2 py36_1 ncam 0.2b3 pypi_0 pypi ncurses 6.1 h0a44026_1002 conda-forge netpbm 10.73.29 pl526h79c4ae5_0 conda-forge nettle 3.4.1 h3efe00b_1002 conda-forge networkx 2.4 py_0 nodejs 10.13.0 h0a44026_0 nomkl 3.0 0 notebook 6.0.3 py36_0 numba 0.49.0 py36h6c726b0_0 numpy 1.18.1 py36h0c13f30_0 numpy-base 1.18.1 py36ha711998_1 olefile 0.46 py36_0 openblas 0.3.4 hdc02c5d_1000 conda-forge openblas-devel 0.3.6 2 opencv 3.4.1 py36h40b0b35_1 openh264 2.1.0 hd9629dc_0 openjpeg 2.3.0 hb95cd4c_1 openssl 1.1.1g h0b31af3_0 conda-forge owslib 0.19.2 py_0 conda-forge packaging 20.4 pyh9f0ad1d_0 conda-forge pandas 1.0.3 py36h6c726b0_0 pandoc 2.2.3.2 0 pandocfilters 1.4.2 py36_1 paramiko 2.7.1 py_0 parso 0.6.2 py_0 path 13.1.0 py36_0 conda-forge path.py 12.4.0 0 patsy 0.5.1 py36_0 pcre 8.43 h0a44026_0 perl 5.26.2 h4e221da_0 pexpect 4.8.0 py36_0 pgplot 5.2.2 h3f0e000_1004 conda-forge photutils 0.7.2 py36h0b31af3_1 astropy pickleshare 0.7.5 py36_0 pillow 7.0.0 py36h4655f20_0 pims 0.4.1 py_1 pip 20.0.2 py36_1 pixiedust 1.1.18 pypi_0 pypi pixman 0.38.0 h1de35cc_0 plotly 4.6.0 py_0 pluggy 0.13.1 py36_0 poliastro 0.13.1 py_1 astropy poppler-data 0.4.9 0 postgresql 11.2 h051b688_0 proj4 4.9.3 h3f1bf9d_7 prometheus_client 0.7.1 py_0 prompt-toolkit 3.0.4 py_0 conda-forge prompt_toolkit 3.0.4 0 psutil 5.7.0 py36h1de35cc_0 psycopg2 2.8.4 py36ha12b0ac_0 pthread-stubs 0.4 h1de35cc_1001 conda-forge ptyprocess 0.6.0 py36_0 py 1.8.1 py_0 pyasn1 0.4.8 py_0 pycparser 2.20 py_0 pyephem 3.7.7.0 pypi_0 pypi pyepsg 0.4.0 py_0 conda-forge pygcn 0.1.20+13.g2fe080b pypi_0 pypi pygments 2.6.1 py_0 pylint 2.5.2 py36h9f0ad1d_0 conda-forge pymap3d 2.4.0 pypi_0 pypi pynacl 1.3.0 py36h1de35cc_0 pyopenssl 19.1.0 py36_0 pyparsing 2.4.6 py_0 pyproj 1.9.5.1 py36hfb6cdf6_1006 conda-forge pyqt 5.9.2 py36h655552a_2 pyrsistent 0.16.0 py36h37b9a7d_0 conda-forge pyserial 3.4 py36_0 pyshp 2.1.0 py_0 conda-forge pysocks 1.7.1 py36h9f0ad1d_1 conda-forge pytest 5.4.2 py36h9f0ad1d_0 conda-forge pytest-arraydiff 0.3 py_0 conda-forge pytest-astropy 0.7.0 py_0 conda-forge pytest-astropy-header 0.1.2 py_0 conda-forge pytest-doctestplus 0.6.1 pyh9f0ad1d_0 conda-forge pytest-openfiles 0.4.0 py_0 conda-forge pytest-remotedata 0.3.1 py_0 conda-forge pytest-runner 5.2 py_0 conda-forge python 3.6.10 h359304d_0 python-dateutil 2.8.1 py_0 python_abi 3.6 1_cp36m conda-forge pytz 2019.3 py_0 pywavelets 1.1.1 py36h1de35cc_0 pyyaml 5.3.1 py36h1de35cc_0 pyzmq 18.1.1 py36h0a44026_0 qt 5.9.7 h468cd18_1 qtconsole 4.7.3 py_0 qtpy 1.9.0 py_0 quaternion 2020.4.21.14.53.58 py36h255dfe6_0 conda-forge readline 7.0 h1de35cc_5 requests 2.23.0 py36_0 retrying 1.3.3 py36_2 scikit-image 0.16.2 py36h6c726b0_0 scikit-learn 0.22.1 py36hebd9d1a_0 scikit-video 1.1.11 pyh24bf2e0_0 conda-forge scipy 1.4.1 py36hba666df_0 seaborn 0.10.0 py_0 semantic_version 2.8.5 pyh9f0ad1d_0 conda-forge send2trash 1.5.0 py_0 conda-forge setuptools 46.1.3 py36_0 sgp4 2.6 pyh6957fcd_0 conda-forge shapely 1.6.4 py36h2e8a847_1000 conda-forge simplegeneric 0.8.1 py36_2 simplejson 3.17.0 py36h1de35cc_0 sip 4.19.8 py36h0a44026_0 six 1.14.0 py36_0 skyfield 1.19 pyh9f0ad1d_0 conda-forge slicerator 1.0.0 py_0 conda-forge sortedcontainers 2.1.0 py_0 conda-forge soupsieve 2.0.1 py36h9f0ad1d_0 conda-forge sqlalchemy 1.3.16 py36h1de35cc_0 sqlite 3.31.1 ha441bb4_0 statsmodels 0.11.0 py36h1de35cc_0 swiftbat-python 0.1a7 pypi_0 pypi tbb 2019.8 h770b8ee_0 conda-forge terminado 0.8.3 py36_0 testpath 0.4.4 py_0 tifffile 2020.5.11 py_0 conda-forge tk 8.6.8 ha441bb4_0 tledb 0.9.6a5 pypi_0 pypi toml 0.10.1 pyh9f0ad1d_0 conda-forge toolz 0.10.0 py_0 conda-forge tornado 6.0.4 py36h1de35cc_1 tqdm 4.46.0 pyh9f0ad1d_0 conda-forge traitlets 4.3.3 py36_0 typed-ast 1.4.1 py36h0b31af3_0 conda-forge urllib3 1.25.8 py36_0 vega 3.2.0 py36h9f0ad1d_0 conda-forge vega_datasets 0.7.0 py_0 voeventdb-remote 1.1.0 pypi_0 pypi wcslib 5.20 h2e71187_1002 conda-forge wcwidth 0.1.9 py_0 webencodings 0.5.1 py36_1 wheel 0.34.2 py36_0 widgetsnbextension 3.5.1 py36_0 wrapt 1.11.2 py36h37b9a7d_0 conda-forge x264 1!157.20191217 h1de35cc_0 xerces-c 3.2.2 h44e365a_0 xlrd 1.2.0 py36_0 xorg-kbproto 1.0.7 h1de35cc_1002 conda-forge xorg-libx11 1.6.9 h0b31af3_0 conda-forge xorg-libxau 1.0.9 h1de35cc_0 conda-forge xorg-libxdmcp 1.1.3 h01d97ff_0 conda-forge xorg-xproto 7.0.31 h1de35cc_1007 conda-forge xz 5.2.5 h1de35cc_0 yaml 0.1.7 hc338f04_2 zeromq 4.3.1 h0a44026_3 zipp 3.1.0 py_0 conda-forge zlib 1.2.11 h1de35cc_3 zope 1.0 py36_1 zstd 1.3.7 h06149cd_1001 conda-forge ```


Details about conda and system ( conda info ):

``` $ conda info active environment : stable active env location : /Users/palmer/anaconda3/envs/stable shell level : 2 user config file : /Users/palmer/.condarc populated config files : /Users/palmer/.condarc conda version : 4.8.3 conda-build version : 3.18.11 python version : 3.7.6.final.0 virtual packages : __osx=10.15.4 base environment : /Users/palmer/anaconda3 (writable) channel URLs : https://conda.anaconda.org/conda-forge/osx-64 https://conda.anaconda.org/conda-forge/noarch https://repo.anaconda.com/pkgs/main/osx-64 https://repo.anaconda.com/pkgs/main/noarch https://repo.anaconda.com/pkgs/r/osx-64 https://repo.anaconda.com/pkgs/r/noarch package cache : /Users/palmer/anaconda3/pkgs /Users/palmer/.conda/pkgs envs directories : /Users/palmer/anaconda3/envs /Users/palmer/.conda/envs platform : osx-64 user-agent : conda/4.8.3 requests/2.22.0 CPython/3.7.6 Darwin/19.4.0 OSX/10.15.4 UID:GID : 16546:20 netrc file : None offline mode : False ```
juliotux commented 3 years ago

This pinning is done by the conda-forge buiding system, not in the conda recipe. I think I have no control over it.