native-api

Results 407 comments of native-api

Could you please describe your use case? This sounds like a strange thing to be causing a serious UX problem. Installing build dependencies is a one-time step so this shouldn't...

IIRC If `_ctypes` build fails, Pip installation fails at a later stage of the build. Didn't it for you? Python's build doesn't fail in this case, so how do we...

> Would `PYTHONSTRICTEXTENSIONBUILD` also fail on things like tcl/tk missing No. Only if dependencies are present and the extension's build still failed or import after the build failed.

> The `pyenv install` went through without errors. After re-running with `CFLAGS="$(pkg-config --cflags libffi)"` the error went away (just to be replaced with `undefined symbol: ffi_prep_cif` instead). After adding `LDFLAGS="$(pkg-config...

> ./configure: line 10530: PKG_PROG_PKG_CONFIG: command not found You've fallen victim of https://bugs.python.org/issue45350 Only 3.10.0 is affected AFAICS.

> Only 3.10.0 is affected AFAICS. Which means we can fix this with a patch to `./configure`. Could you provide one? [Done](https://github.com/pyenv/pyenv/pull/2155).

[The current OpenSSL detection logic looks for `openssl` on `PATH` and runs it to to check its version and flavor](https://github.com/pyenv/pyenv/blob/ddf952ab2de0305e5fa6877a4644463b7109ff52/plugins/python-build/bin/python-build#L1394-L1399) -- then engages the override if it's Apple's copy. Are...

We don't override the defaults in order to provide users with as close to vanilla experience as practical, in order to minimize the possible surprises. Do you have any evidence...

Good, but that seems to be Homebrew's local decision -- and outside their main platform to boot. Is there anything closer to the roots? E.g. previously, [a user reported that...

@rickmark whatever floats your boat. As I've written earlier, we'd like to see some evidence that shows that `--enable-shared` is the expected default -- so that the change would look...