Dong-hee Na
915d12834f
[3.11] gh-96191: Update the configure file to use GitHub issue (gh-96211) (gh-96375)
2022-08-29 15:50:22 +09:00
Christian Heimes
e62a0dfab2
[3.11] gh-95174: Add pthread stubs for WASI (GH-95234) ( #95503 )
...
Co-authored-by: Brett Cannon <brett@python.org>.
(cherry picked from commit 0fe645d6fd
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-08-01 15:37:45 +01:00
Christian Heimes
06b5f78d64
[3.11] gh-95174: WASI: skip missing sockets functions (GH-95179) (GH-95308)
...
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2022-07-31 18:19:32 +02:00
Christian Heimes
db13c0c1b8
[3.11] gh-95174: Handle missing dup() and constants in WASI (GH-95229) (GH-95272)
...
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-31 16:39:41 +01:00
Christian Heimes
c72c1d65cb
[3.11] gh-94801: Fix regression in configure's CPPFLAGS handling (GH-95288) (GH-95297)
...
(cherry picked from commit 9af7f87d76
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-27 12:51:36 +02:00
Miss Islington (bot)
202311c67a
[3.11] gh-95085: Promote Emscripten and WASI to PEP 11 tier 3 (GH-95086) (GH-95307)
...
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-27 11:16:38 +02:00
Miss Islington (bot)
4607e884e5
[3.11] gh-94847: Don't force inlining in debug builds of libmpdec (GH-94848) (GH-94951)
...
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-18 14:42:42 +02:00
Christian Heimes
30412d91b6
[3.11] gh-94801: Use custom flags to check for headers and libs (GH-94802) (GH-94881)
...
Co-authored-by: Christian Heimes <christian@python.org>
2022-07-18 08:46:49 +02:00
Miss Islington (bot)
8ee4e12caf
gh-93491: Fix PEP 11 tier detection for FreeBSD (GH-94441)
...
(cherry picked from commit 67d208fbee
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-06-30 09:29:46 -07:00
Christian Heimes
4ec146cefd
[3.11] gh-90005: Rename MODULE_EGG variable to MODULE_EGG_STATE (GH-94301) (GH-94317)
...
Co-authored-by: Christian Heimes <christian@python.org>
2022-06-27 09:23:04 +02:00
Miss Islington (bot)
c966e0816e
gh-84461: Build Emscripten with WASM BigInt support (GH-94219)
...
(cherry picked from commit e69306f08b
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-06-24 08:30:46 -07:00
Miss Islington (bot)
4d2c972ff7
gh-84461: Fix ctypes and test_ctypes on Emscripten (GH-94142)
...
- c_longlong and c_longdouble need experimental WASM bigint.
- Skip tests that need threading
- Define ``CTYPES_MAX_ARGCOUNT`` for Emscripten. libffi-emscripten 2022-06-23 supports up to 1000 args.
(cherry picked from commit 8625802d85
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-06-24 04:17:21 -07:00
Miss Islington (bot)
81686e701c
gh-84461: Silence some compiler warnings on WASM (GH-93978)
...
(cherry picked from commit 774ef28814
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-06-20 05:08:14 -07:00
Miss Islington (bot)
753fe41418
gh-84461: Fix circulare dependency on BUILDPYTHON (GH-93977)
...
(cherry picked from commit 084023ccbe
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-06-18 01:56:25 -07:00
Miss Islington (bot)
4c881049ef
gh-84461: Use HOSTRUNNER to run regression tests (GH-93694)
...
Co-authored-by: Brett Cannon <brett@python.org>
(cherry picked from commit dc5e02b2f4
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-06-11 00:04:35 -07:00
Miss Islington (bot)
516d90eb21
gh-93491: Add support tier detection to configure (GH-93492)
...
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
Co-authored-by: Steve Dower <steve.dower@microsoft.com>
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
(cherry picked from commit 3124d9a5aa
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-06-10 06:50:26 -07:00
Christian Heimes
1b7942acb2
[3.11] gh-90473: Define HOSTRUNNER for WASI (GH-93606) (GH-93612)
...
(cherry picked from commit 22df2e0322
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-06-08 22:21:04 +02:00
Miss Islington (bot)
1d2b766100
gh-90473: Skip and document more failing tests on WASI (GH-93436)
...
- Mark more ``umask()`` cases
- ``dup()`` is not supported
- ``/dev/null`` is not available
- document missing features
- mark more modules as not available
(cherry picked from commit 069c96f84c
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-06-02 23:50:44 -07:00
Eric Snow
36374251aa
[3.11] bpo-40514: Drop EXPERIMENTAL_ISOLATED_SUBINTERPRETERS (gh-93185) (GH-93306)
...
(cherry picked from commit caa279d6fd
)
This was added for bpo-40514 (gh-84694) to test out a per-interpreter GIL. However, it has since proven unnecessary to keep the experiment in the repo. (It can be done as a branch in a fork like normal.) So here we are removing:
* the configure option
* the macro
* the code enabled by the macro
Automerge-Triggered-By: GH:ericsnowcurrently
2022-05-27 17:56:30 -07:00
Miss Islington (bot)
7afccd34a6
gh-90473: Decrease recursion limit and skip tests on WASI (GH-92803)
...
(cherry picked from commit 137fd3d88a
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-05-19 08:05:52 -07:00
Miss Islington (bot)
c41667e71b
gh-90473: Increase stack size, disable obmalloc on WASI (GH-92732)
...
(cherry picked from commit d81d57e959
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-05-13 00:00:33 -07:00
Miss Islington (bot)
5e2e9c4e74
gh-90005: Cleanup after GH-31698 (GH-91642)
...
(cherry picked from commit 269e726723
)
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
2022-05-09 02:23:24 -07:00
Soumendra Ganguly
ae553b3561
bpo-41818: Add os.login_tty() for *nix. ( #29658 )
...
* Add `os.login_tty(fd)` for Unix.
Reviewed-by: Christian Heimes <christian@python.org>
Signed-off-by: Gregory P. Smith [Google LLC] <greg@krypto.org>
2022-05-05 09:04:44 -07:00
Łukasz Langa
6c25bf07e8
gh-89452: Prefer gdbm-compat over ndbm ( #92208 )
...
This makes macOS gdbm provided by Homebrew not segfault through correct
selection of the linked library (-lgdbm_compat) *AND* the correct ndbm-style
header (gdbm-ndbm.h instead of the invalid ndbm.h).
2022-05-03 18:27:38 +02:00
Ethan Smith
d1de10784d
gh-84461: Add HOSTRUNNER for program to run Python executable (GH-91931)
...
`HOSTRUNNER` is a program which can be used to run `BUILDPYTHON` for the host platform (for example, `python.js` requires `node`).
Also change depedencies from `build_all` to `all` so that targets which can't build everything (e.g. WASM) can still run `buildbottest` and `pythoninfo`.
cc @tiran
2022-04-28 05:14:19 -07:00
Christian Heimes
92c1037afc
gh-84461: Add --enable-wasm-pthreads and more file systems (GH-91820)
2022-04-23 14:59:33 +02:00
Christian Heimes
9b5ca5405e
gh-84461: Add sys._emscripten_info, improve docs and build (gh-91781)
2022-04-23 09:52:16 +02:00
Victor Stinner
aaeea78b0f
gh-91731: Build Python with -std=c11 ( #91733 )
...
Python is now built with "-std=c11" compiler option, rather than
"-std=c99".
2022-04-20 13:19:05 +02:00
Thomas Klausner
2e7e3c4c10
bpo-46053: Fix OSS audio support on NetBSD (GH-30065)
2022-04-18 12:12:39 +03:00
Christian Heimes
7acedd71de
gh-84461: Drop -sWASM, fix building tests for browser (GH-91530)
...
- drop unnecessary ``=1`` suffix from Emscripten flags
- drop unnecessary ``-sWASM`` flag for side modules
- rename ``build_platform`` to ``build_wasm``. I introduced the target
for WASM builds a couple of months ago.
- fix ``--enable-test-modules`` for browser builds
2022-04-14 16:27:41 +02:00
jonasdlindner
f52d987abf
Fix some typos in comments (GH-32422)
2022-04-09 18:12:15 +09:00
Christian Heimes
2b16a08bc7
bpo-40280: Detect missing threading on WASM platforms (GH-32352)
...
Co-authored-by: Brett Cannon <brett@python.org>
2022-04-07 09:22:47 +02:00
Christian Heimes
765f6dee0f
bpo-40280: WASM defaults to no dynamic linking (GH-32360)
2022-04-06 14:33:31 +02:00
Erlend Egeberg Aasland
a7551247e7
bpo-41930: Add support for SQLite serialise/deserialise API (GH-26728)
...
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-04-05 07:15:25 -07:00
Erlend Egeberg Aasland
f1606a5ba5
bpo-45774: Harden SQLite detection (GH-30016)
2022-04-05 14:54:47 +02:00
Christian Heimes
96e09837fb
bpo-40280: Add limited Emscripten REPL (GH-32284)
...
Co-authored-by: Katie Bell <katie@katharos.id.au>
2022-04-05 11:21:11 +02:00
Christian Heimes
c9844cb8aa
bpo-40280: Add --enable-wasm-dynamic-linking (GH-32253)
2022-04-04 19:31:31 +02:00
Serhiy Storchaka
1578f06c1c
bpo-47152: Move sources of the _sre module into a subdirectory (GH-32290)
2022-04-04 10:53:26 +03:00
Hood Chatham
087d0fa5b9
bpo-47176: Interrupt handling for wasm32-emscripten builds without pthreads (GH-32209)
...
Co-authored-by: Christian Heimes <christian@python.org>
Co-authored-by: Brett Cannon <brett@python.org>
2022-04-03 22:58:52 +02:00
Christian Heimes
082d3495d0
bpo-40280: Emscripten fork_exec now fails early (GH-32224)
2022-04-01 21:20:56 +02:00
Christian Heimes
17245c815e
bpo-40280: Add debug Emscripten flavors (GH-32233)
2022-04-01 17:24:00 +02:00
Erlend Egeberg Aasland
b36d222110
bpo-45847: Port _tkinter to PY_STDLIB_MOD (GH-31698)
...
- Remove ``--with-tclk-*`` options from `configure`
- Use pkg-config to detect `_tkinter` dependencies (Tcl/Tk, X11)
- Manual override via environment variables `TCLTK_CFLAGS` and `TCLTK_LIBS`
2022-03-31 03:19:08 -07:00
Christian Heimes
b16b6bb8da
bpo-47095: Use libb2 to provide blake2 implementation (GH-32059)
2022-03-26 20:52:24 +01:00
Christian Heimes
8a0a9e5b19
bpo-40280: Add wasm32-emscripten and wasm32-wasi SOABI (GH-32095)
...
Shared extension on Emscripten now have suffix
``.cpython-311-wasm32-emscripten.so`` (JS loader) and
``.cpython-311-wasm32-emscripten.wasm`` (WebAssembly code).
2022-03-24 14:09:42 -07:00
Christian Heimes
4aea656d62
bpo-32033: Finalize WASI configure options (GH-32053)
2022-03-22 18:42:09 +01:00
Christian Heimes
deeaac49e2
bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986)
...
- Add requires_fork and requires_subprocess to more tests
- Skip extension import tests if dlopen is not available
- Don't assume that _testcapi is a shared extension
- Skip a lot of socket tests that don't work on Emscripten
- Skip mmap tests, mmap emulation is incomplete
- venv does not work yet
- Cannot get libc from executable
The "entire" test suite is now passing on Emscripten with EMSDK from git head (91 suites are skipped).
2022-03-22 03:04:36 -07:00
Pablo Galindo Salgado
8e3fde728f
bpo-46968: Check for 'sys/auxv.h' in the configure script (GH-31961)
2022-03-18 05:03:22 -07:00
Oleksandr Pavlyk
3b128c0548
bpo-46968: Fix faulthandler for Sapphire Rapids Xeon (GH-31789)
...
In Linux kernel 5.14 one can dynamically request size of altstacksize
based on hardware capabilities with getauxval(AT_MINSIGSTKSZ).
This changes allows for Python extension's request to Linux kernel
to use AMX_TILE instruction set on Sapphire Rapids Xeon processor
to succeed, unblocking use of the ISA in frameworks.
Introduced HAVE_LINUX_AUXVEC_H in configure.ac and pyconfig.h.in
Used cpython_autoconf:269 docker container to generate configure.
2022-03-11 23:19:35 +01:00
Christian Heimes
ca9689f8da
bpo-46933: Make pwd module optional (GH-31700)
...
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2022-03-07 13:36:47 +01:00
Brett Cannon
50ec3453c5
bpo-46860: Respect --with-suffix
on case-insensitive file systems (GH-31593)
...
Previously, case-insensitive file systems were forced to use `.exe` as the file suffix no matter what `--with-suffix` was set to.
2022-03-02 14:23:59 -08:00