{"action":"created","issue":{"url":"https://api.github.com/repos/conda-forge/python-feedstock/issues/222","repository_url":"https://api.github.com/repos/conda-forge/python-feedstock","labels_url":"https://api.github.com/repos/conda-forge/python-feedstock/issues/222/labels{/name}","comments_url":"https://api.github.com/repos/conda-forge/python-feedstock/issues/222/comments","events_url":"https://api.github.com/repos/conda-forge/python-feedstock/issues/222/events","html_url":"https://github.com/conda-forge/python-feedstock/issues/222","id":374189836,"node_id":"MDU6SXNzdWUzNzQxODk4MzY=","number":222,"title":"Are you switching to dynamic linking?","user":{"login":"tkf","id":29282,"node_id":"MDQ6VXNlcjI5Mjgy","avatar_url":"https://avatars3.githubusercontent.com/u/29282?v=4","gravatar_id":"","url":"https://api.github.com/users/tkf","html_url":"https://github.com/tkf","followers_url":"https://api.github.com/users/tkf/followers","following_url":"https://api.github.com/users/tkf/following{/other_user}","gists_url":"https://api.github.com/users/tkf/gists{/gist_id}","starred_url":"https://api.github.com/users/tkf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkf/subscriptions","organizations_url":"https://api.github.com/users/tkf/orgs","repos_url":"https://api.github.com/users/tkf/repos","events_url":"https://api.github.com/users/tkf/events{/privacy}","received_events_url":"https://api.github.com/users/tkf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-10-26T01:12:17Z","updated_at":"2018-11-07T06:02:27Z","closed_at":"2018-11-06T22:37:59Z","author_association":"NONE","body":"<!--\r\nThanks for reporting your issue.\r\nPlease fill out the sections below.\r\n-->\r\nIssue:\r\n\r\nHi, I'm maintaining [a library](https://github.com/JuliaPy/pyjulia) which requires a Python executable dynamically linked to libpython.  It meant that I couldn't support Python installed via conda as it's used to be statically linked. But I just noticed that the latest Python 3.6.6 from conda-forge is dynamically linked.  However, 3.7.0 is still statically linked (but it's built before 3.6.6).  It would be nice for us if conda-forge distributes dynamically linked Python executables.  Could you share your plan?  Are you going to switch to dynamic linking?  Would it be the case for all platforms?\r\n\r\nJust for the record, here is what I get from conda-forge at the moment:\r\n\r\n```console\r\n$ conda create --prefix py36 conda-forge::python=3.6\r\nThe following NEW packages will be INSTALLED:\r\n...\r\n    python:          3.6.6-h5001a0f_3        conda-forge\r\n...\r\n$ ldd py36/bin/python | grep libpython\r\n        libpython3.6m.so.1.0 => /tmp/py36/bin/../lib/libpython3.6m.so.1.0 (0x00007f65610ef000)\r\n$ conda create --prefix py37 conda-forge::python\r\n...\r\nThe following NEW packages will be INSTALLED:\r\n...\r\n    python:          3.7.0-h5001a0f_4        conda-forge\r\n...\r\n$ ldd py37/bin/python | grep libpython  # prints nothing\r\n```\r\n\r\nref: https://github.com/JuliaPy/pyjulia/issues/185#issuecomment-433249836\r\n\r\n\r\n<br/>\r\nEnvironment (<code>conda list</code>):\r\n<details>\r\n\r\n```\r\n$ conda list\r\n# packages in environment at /home/takafumi/miniconda3:\r\n#\r\n# Name                    Version                   Build  Channel\r\nasn1crypto                0.24.0                   py36_0\r\nca-certificates           2018.03.07                    0\r\ncertifi                   2018.8.13                py36_0\r\ncffi                      1.11.5           py36h9745a5d_0\r\nchardet                   3.0.4            py36h0f667ec_1\r\nconda                     4.5.10                   py36_0\r\nconda-env                 2.6.0                h36134e3_1\r\ncryptography              2.2.2            py36h14c3975_0\r\nidna                      2.6              py36h82fb2a8_1\r\nlibedit                   3.1.20170329         h6b74fdf_2\r\nlibffi                    3.2.1                hd88cf55_4\r\nlibgcc-ng                 7.2.0                hdf63c60_3\r\nlibstdcxx-ng              7.2.0                hdf63c60_3\r\nncurses                   6.1                  hf484d3e_0\r\nopenssl                   1.0.2p               h14c3975_0\r\npip                       10.0.1                   py36_0\r\npycosat                   0.6.3            py36h0a5515d_0\r\npycparser                 2.18             py36hf9f622e_1\r\npyopenssl                 18.0.0                   py36_0\r\npysocks                   1.6.8                    py36_0\r\npython                    3.6.5                hc3d631a_2\r\nreadline                  7.0                  ha6073c6_4\r\nrequests                  2.18.4           py36he2e5f8d_1\r\nruamel_yaml               0.15.37          py36h14c3975_2\r\nsetuptools                39.2.0                   py36_0\r\nsix                       1.11.0           py36h372c433_1\r\nsqlite                    3.23.1               he433501_0\r\ntk                        8.6.7                hc745277_3\r\nurllib3                   1.22             py36hbe7ace6_0\r\nwheel                     0.31.1                   py36_0\r\nxz                        5.2.4                h14c3975_4\r\nyaml                      0.1.7                had09818_2\r\nzlib                      1.2.11               ha838bed_2\r\n```\r\n</details>\r\n\r\n<br/>\r\nDetails about  <code>conda</code> and system ( <code>conda info</code> ):\r\n<details>\r\n\r\n```\r\n$ conda info\r\n     active environment : None\r\n       user config file : /home/takafumi/.condarc\r\n populated config files :\r\n          conda version : 4.5.10\r\n    conda-build version : not installed\r\n         python version : 3.6.5.final.0\r\n       base environment : /home/takafumi/miniconda3  (writable)\r\n           channel URLs : https://repo.anaconda.com/pkgs/main/linux-64\r\n                          https://repo.anaconda.com/pkgs/main/noarch\r\n                          https://repo.anaconda.com/pkgs/free/linux-64\r\n                          https://repo.anaconda.com/pkgs/free/noarch\r\n                          https://repo.anaconda.com/pkgs/r/linux-64\r\n                          https://repo.anaconda.com/pkgs/r/noarch\r\n                          https://repo.anaconda.com/pkgs/pro/linux-64\r\n                          https://repo.anaconda.com/pkgs/pro/noarch\r\n          package cache : /home/takafumi/miniconda3/pkgs\r\n                          /home/takafumi/.conda/pkgs\r\n       envs directories : /home/takafumi/miniconda3/envs\r\n                          /home/takafumi/.conda/envs\r\n               platform : linux-64\r\n             user-agent : conda/4.5.10 requests/2.18.4 CPython/3.6.5 Linux/4.14.61-1-lts arch/ glibc/2.28\r\n                UID:GID : 1000:1000\r\n             netrc file : None\r\n           offline mode : False\r\n```\r\n</details>\r\n"},"comment":{"url":"https://api.github.com/repos/conda-forge/python-feedstock/issues/comments/436514244","html_url":"https://github.com/conda-forge/python-feedstock/issues/222#issuecomment-436514244","issue_url":"https://api.github.com/repos/conda-forge/python-feedstock/issues/222","id":436514244,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjUxNDI0NA==","user":{"login":"tkf","id":29282,"node_id":"MDQ6VXNlcjI5Mjgy","avatar_url":"https://avatars3.githubusercontent.com/u/29282?v=4","gravatar_id":"","url":"https://api.github.com/users/tkf","html_url":"https://github.com/tkf","followers_url":"https://api.github.com/users/tkf/followers","following_url":"https://api.github.com/users/tkf/following{/other_user}","gists_url":"https://api.github.com/users/tkf/gists{/gist_id}","starred_url":"https://api.github.com/users/tkf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkf/subscriptions","organizations_url":"https://api.github.com/users/tkf/orgs","repos_url":"https://api.github.com/users/tkf/repos","events_url":"https://api.github.com/users/tkf/events{/privacy}","received_events_url":"https://api.github.com/users/tkf/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T06:02:27Z","updated_at":"2018-11-07T06:02:27Z","author_association":"NONE","body":"@isuruf Awesome! Thanks a lot for looking into this. I didn't know you can do that. It looks like the best solution.\r\n\r\nIs there a nice way to detect if a python executable is a position independent executable?  Quick googling finds https://unix.stackexchange.com/questions/89211/how-to-test-whether-a-linux-binary-was-compiled-as-position-independent-code but I'm wondering if there is a Python-specific cross-platform way of checking it, like some variable in `sysconfig`.\r\n\r\ncc: @stevengj\r\n"}}
{"actor":{"display_login":"tkf"}}