Erlend E. Aasland
2ffeb0ecc7
[3.11] gh-105455: Regen configure with GNU Autoconf 2.69 ( #105467 )
2023-06-07 22:55:00 +02:00
Pablo Galindo
d2340ef257
Python 3.11.4
2023-06-06 23:00:27 +01:00
Erlend E. Aasland
b8d3bb72b0
[3.11] gh-90005: Don't link with libbsd if not needed ( #105236 ) ( #105359 )
...
The regression was introduced with commit 5b946cada
.
Restore pre gh-29696 behaviour.
2023-06-06 11:00:38 +00:00
colorfulappl
dd323afea8
[3.11] gh-96002: Add functional test for Argument Clinic (GH-96178) ( #100230 )
...
(cherry picked from commit c450c8c9ed
)
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-12-17 12:04:54 +05:30
Sam James
88b754b605
[3.11] gh-99086: Fix -Wstrict-prototypes, -Wimplicit-function-declara… (GH-99919)
...
…tion warnings in configure.ac (GH-99406)
Follow up to 12078e78f6
. (cherry picked from commit e35ca417fe
)
2022-12-01 02:26:56 -08:00
Erlend E. Aasland
eac1a63cdb
[3.11] gh-98707: configure --with-system-libmpdec and --with-system-expat no longer include vendored headers (GH-98711) ( #99391 )
...
(cherry picked from commit 6abec1caff
)
Co-authored-by: Miro Hrončok <miro@hroncok.cz>
2022-11-13 19:47:31 +01:00
Erlend E. Aasland
573b451886
[3.11] gh-99086: Fix implicit int compiler warning in configure check for PTHREAD_SCOPE_SYSTEM (GH-99085) ( #99118 )
...
(cherry picked from commit 12078e78f6
)
Co-authored-by: Sam James <sam@cmpct.info>
2022-11-05 10:27:47 +01:00
Miss Islington (bot)
29f17a4ad8
gh-96761: Fix build process of the clang compiler for _bootstrap_python (gh-96945)
...
Co-authored-by: Matthias Goergens <matthias.goergens@gmail.com>
(cherry picked from commit 83d84e67cd
)
Co-authored-by: Dong-hee Na <donghee.na@python.org>
2022-09-22 20:20:50 -07:00
Miss Islington (bot)
8238fa91c1
gh-84461: Omit resource mod and getresuid funcs on Emscripten (GH-96303)
...
(cherry picked from commit a36235d5c7
)
Co-authored-by: Christian Heimes <christian@python.org>
2022-09-13 03:08:12 -07:00
Christian Heimes
4958820032
[3.11] gh-95853: Add script to automate WASM build (GH-95828, GH-95985, GH-96045, GH-96389, GH-96744) (GH-96749)
...
Automate WASM build with a new Python script. The script provides
several build profiles with configure flags for Emscripten flavors
and WASI. The script can detect and use Emscripten SDK and WASI SDK from
default locations or env vars.
``configure`` now detects Node arguments and creates HOSTRUNNER
arguments for Node 16. It also sets correct arguments for
``wasm64-emscripten``.
2022-09-13 12:06:39 +02:00
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