[issue36721] Add pkg-config python-3.8-embed and --embed to python3.8-config

2019-05-31 Thread Michael Haubenwallner
Change by Michael Haubenwallner : -- pull_requests: +13592 pull_request: https://github.com/python/cpython/pull/737 ___ Python tracker ___

[issue36721] Add pkg-config python-3.8-embed and --embed to python3.8-config

2019-05-27 Thread STINNER Victor
STINNER Victor added the comment: The initial issue has been fixed. As far as I know, all known issues have been fixed, so I close the issue. Thanks Miro for the help in reviews and tests! FYI waf is already fixed for the future Python 3.8 beta1! It now attempts to use --embed for its

[issue36721] Add pkg-config python-3.8-embed and --embed to python3.8-config

2019-05-24 Thread STINNER Victor
STINNER Victor added the comment: New changeset bc66faccb8a6140e7e07b5e67843b7f21152c144 by Victor Stinner in branch 'master': bpo-36721: Fix pkg-config symbolic links on "make install" (GH-13551) https://github.com/python/cpython/commit/bc66faccb8a6140e7e07b5e67843b7f21152c144 --

[issue36721] Add pkg-config python-3.8-embed and --embed to python3.8-config

2019-05-24 Thread STINNER Victor
STINNER Victor added the comment: By the way, I'm not sure that the current layout of .pc files. The name "module" give a different configuration. Is that correct? $ grep ^Libs: /opt/py38/lib/pkgconfig/python-3.8-embed.pc Libs: -L${libdir} -lpython3.8 $ grep ^Libs:

[issue36721] Add pkg-config python-3.8-embed and --embed to python3.8-config

2019-05-24 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13462 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36721] Add pkg-config python-3.8-embed and --embed to python3.8-config

2019-05-24 Thread STINNER Victor
STINNER Victor added the comment: Miro commented my PR: https://github.com/python/cpython/pull/13500#issuecomment-495510268 """ This is what it gave me in Fedora, feels a bit inconsistent: /usr/lib64/pkgconfig/python-3.8-embed.pc /usr/lib64/pkgconfig/python-embed-3.8d.pc

[issue36721] Add pkg-config python-3.8-embed and --embed to python3.8-config

2019-05-22 Thread STINNER Victor
STINNER Victor added the comment: Even if I'm not confident in my change (add --embed option), I chose to merge it anyway since at least "waf" build system is broken by my other changes (no longer link C extensions to libpython). I would like to get this change into Python 3.8 beta1 to

[issue36721] Add pkg-config python-3.8-embed and --embed to python3.8-config

2019-05-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0a8e57248b913851640c64375600f05157c997df by Victor Stinner in branch 'master': bpo-36721: Add --embed option to python-config (GH-13500) https://github.com/python/cpython/commit/0a8e57248b913851640c64375600f05157c997df --

[issue36721] Add pkg-config python-3.8-embed and --embed to python3.8-config

2019-05-22 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +13415 stage: -> patch review ___ Python tracker ___ ___

[issue36721] Add pkg-config python-3.8-embed and --embed to python3.8-config

2019-05-22 Thread STINNER Victor
Change by STINNER Victor : -- title: Add pkg-config python-3.8-embed -> Add pkg-config python-3.8-embed and --embed to python3.8-config ___ Python tracker ___

[issue36721] Add pkg-config python-3.8-embed

2019-05-22 Thread Matthias Klose
Matthias Klose added the comment: "AFAICT, the purpose of python-config is to provide configuration info for embedding Python" If that's the intention, then at least it's not used as such. It's also used to build/configure extensions using automake/cmake based build systems. There is one

[issue36721] Add pkg-config python-3.8-embed

2019-05-22 Thread STINNER Victor
STINNER Victor added the comment: I mark this issue as a release blocker: bpo-21536 basically broke the compilation of all applications which embed Python. IMHO this issue is the best solution to fix it. > I don't understand the need for this. Oh. Let me explain this issue differently.

[issue36721] Add pkg-config python-3.8-embed

2019-05-20 Thread Miro Hrončok
Miro Hrončok added the comment: As a note, waf seems to use python3-config for both embedded and extension modules. Currently, embedded is broken. See for example https://bugzilla.redhat.com/show_bug.cgi?id=1711638 -- nosy: +hroncok ___ Python

[issue36721] Add pkg-config python-3.8-embed

2019-05-19 Thread Ned Deily
Ned Deily added the comment: I don't understand the need for this. AFAICT, the purpose of python-config is to provide configuration info for embedding Python (Issue1161914 and https://docs.python.org/3/extending/embedding.html#compiling-and-linking-under-unix-like-systems). At some point,

[issue36721] Add pkg-config python-3.8-embed

2019-05-17 Thread Scott Talbert
Change by Scott Talbert : -- nosy: +swt2c ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36721] Add pkg-config python-3.8-embed

2019-04-25 Thread STINNER Victor
New submission from STINNER Victor : The bpo-21536 modified how C extensions are built: they are no longer linked to libpython. The problem is that when an application embeds Python: the application wants to be linked to libpython. commit 8c3ecc6bacc8d0cd534f2b5b53ed962dd1368c7b (HEAD ->