summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Build
Commit message (Collapse)AuthorAgeFilesLines
* GH-113632: update configure.ac for WebAssembly support tiers (#115192)Brett Cannon2024-02-091-0/+2
| | | Move WASI to tier 2 and drop Emscripten.
* gh-115167: Exclude vcruntime140_threads.dll from Windows build output ↵adang13452024-02-081-0/+1
| | | | (GH-115176)
* gh-114875: Require getgrent for building the grp extension module (#114876)Malcolm Smith2024-02-021-0/+1
| | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* Python 3.13.0a3v3.13.0a3Thomas Wouters2024-01-178-15/+0
|
* GH-114013: fix setting `HOSTRUNNER` for `Tools/wasm/wasi.py` (GH-114097)Brett Cannon2024-01-161-0/+4
| | | Also fix tests found failing under a pydebug build of WASI thanks to `make test` working due to this change.
* gh-80532: Do not set ipv6type when cross-compiling (#17956)Zackery Spytz2024-01-051-0/+1
| | | Co-authored-by: Xavier de Gaye <xdegaye@gmail.com>
* gh-113258: Write frozen modules to the build tree on Windows (GH-113303)Itamar Oren2024-01-031-0/+2
| | | This ensures the source directory is not modified at build time, and different builds (e.g. different versions or GIL vs no-GIL) do not have conflicts.
* gh-112536: Add support for thread sanitizer (TSAN) (gh-112648)Samet YASLAN2023-12-301-0/+1
|
* bpo-11102: Make configure enable major(), makedev(), and minor() on HP-UX ↵Zackery Spytz2023-12-281-0/+2
| | | | | | | (GH-19856) Always include <sys/types.h> before <sys/sysmacros.h>. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-112305: Fix check-clean-src to detect frozen_modules .h files. (#113344)Gregory P. Smith2023-12-211-0/+3
| | | | | | | | | | | A typo left this check broken so many of us who do out-of-tree builds were seeing strange failures due to bad `Python/frozen_modules/*.h` files being picked up from the source tree and used at build time from different Python versions leading to errors like: `Fatal Python error: _PyImport_InitCore: failed to initialize importlib` Or similar once our build got to an "invoke the interpreter" bootstrapping step due to incorrect bytecode being embedded.
* gh-112867: fix for WITH_PYMALLOC_RADIX_TREE=0 (GH-112885)Neil Schemenauer2023-12-091-0/+1
| | | | The _obmalloc_usage structure is only defined if the obmalloc radix tree is enabled.
* GH-103065, GH-106704, GH-105253: Provide a `Tools/wasm/wasi.py` script to ↵Brett Cannon2023-11-301-0/+1
| | | | simplify doing a WASI build (GH-112473)
* Python 3.13.0a2v3.13.0a2Thomas Wouters2023-11-225-13/+0
|
* gh-112088: Run autoreconf in GHA check_generated_files (#112090)Victor Stinner2023-11-151-0/+5
| | | | | | | | | | | The "Check if generated files are up to date" job of GitHub Actions now runs the "autoreconf -ivf -Werror" command instead of the "make regen-configure" command to avoid depending on the external quay.io server. Add Tools/build/regen-configure.sh script to regenerate the configure with an Ubuntu container image. The "quay.io/tiran/cpython_autoconf:271" container image (https://github.com/tiran/cpython_autoconf) is no longer used.
* gh-96954: Fix `make regen-unicodedata` in out-of-tree builds (#112118)Miro Hrončok2023-11-151-0/+1
| | | | | | | | | This avoids: python3.13 Tools/unicode/makeunicodedata.py python3.13: can't open file '.../build/debug/Tools/unicode/makeunicodedata.py': [Errno 2] No such file or directory make: *** [Makefile:1498: regen-unicodedata] Error 2 Re-run `make regen-unicodedata` to update the script path in generated files.
* gh-110828: AIX 32bit build needs -latomic for _testcapi module (#110962)Ayappan Perumal2023-10-221-0/+1
|
* gh-111046: for wasi-threads, export memory as well via the linker (GH-111099)YAMAMOTO Takashi2023-10-201-0/+1
|
* gh-85283: Build posixshmem extension with Limited C API (#111087)Victor Stinner2023-10-191-2/+3
| | | | | | | Build the _multiprocessing.posixshmem extension with the Limited C API. * Add <errno.h> include. * Replace PyUnicode_AsUTF8() with PyUnicode_AsUTF8AndSize().
* gh-85283: Build _uuid extension with limited C API (#111010)Victor Stinner2023-10-171-2/+2
|
* gh-85283: Build _scproxy extension with limited C API (#111008)Victor Stinner2023-10-171-3/+3
| | | | * Replace Py_SETREF(v, NULL) with Py_CLEAR(v). * Reformat the code.
* gh-85283: Build resource extension with limited C API (#110989)Victor Stinner2023-10-171-3/+3
| | | | | | * Replace PyStructSequence_SET_ITEM() with PyStructSequence_SetItem(). * Replace PyTuple_GET_SIZE() with PyTuple_Size(). * Replace PyTuple_GET_ITEM() with PyTuple_GetItem().
* gh-85283: Build winsound extension with limited C API (#110978)Victor Stinner2023-10-171-3/+4
| | | Replace type->tp_name with PyType_GetQualName().
* gh-85283: Build md5 extension with limited C API (#110967)Victor Stinner2023-10-171-3/+3
| | | | | * Replace _Py_strhex() with few lines of code. * Replace _PyType_GetModuleState() with PyType_GetModuleState(). * Fix make check-c-globals.
* gh-85283: Build errno and _ctypes_test with limited C API (#110955)Victor Stinner2023-10-171-2/+3
| | | _testimportmultiple is now built with limited C API version 3.2.
* gh-85283: Build _testimportmultiple with limited C API (#110954)Victor Stinner2023-10-171-0/+2
|
* Python 3.13.0a1v3.13.0a1Thomas Wouters2023-10-1323-51/+0
|
* gh-85283: _stat extension now uses the limited C API (#110711)Victor Stinner2023-10-111-0/+2
| | | | | gh-85283: _stat extension uses the limited C API The _stat C extension is now built with the limited C API.
* gh-109191: Fix build with newer editline (gh-110239)Bo Anderson2023-10-091-0/+1
|
* gh-103053: Fix make check-clean-src: check "python" program (#110449)Victor Stinner2023-10-061-0/+3
| | | | "make check-clean-src" now also checks if the "python" program is found in the source directory: fail with an error if it does exist.
* gh-110276: No longer ignore PROFILE_TASK failure silently (#110295)Victor Stinner2023-10-031-0/+2
|
* gh-109566: Remove make testall (#110122)Victor Stinner2023-09-291-0/+2
| | | Remove "make testall" target: use "make buildbottest" instead.
* gh-109740: Use 't' in `--disable-gil` SOABI (#109922)Sam Gross2023-09-271-0/+2
| | | | Shared libraries for CPython 3.13 are now marked with a 't' for threading. For example, `binascii.cpython-313t-darwin.so`.
* gh-109054: configure checks if libatomic is needed (#109101)Victor Stinner2023-09-081-0/+6
| | | | | | | | | | | | | | | | Fix building the _testcapi extension on Linux AArch64 which requires linking to libatomic when <cpython/pyatomic.h> is used: the _Py_atomic_or_uint64() function requires libatomic __atomic_fetch_or_8() on this platform. The configure script now checks if linking to libatomic is needed and generates a new LIBATOMIC variable used to build the _testcapi extension. Building the _testcapi extension now uses the LIBATOMIC variable in its LDFLAGS, since Modules/_testcapi/pyatomic.c uses <cpython/pyatomic.h>. Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-108740: Fix "make regen-all" race condition (#108741)Victor Stinner2023-09-061-0/+4
| | | | | | | | | | | | | | | | | | Fix a race condition in "make regen-all". The deepfreeze.c source and files generated by Argument Clinic are now generated or updated before generating "global objects". Previously, some identifiers may miss depending on the order in which these files were generated. * "make regen-global-objects": Make sure that deepfreeze.c is generated and up to date, and always run "make clinic". * "make clinic" no longer runs generate_global_objects.py script. * "make regen-deepfreeze" now only updates deepfreeze.c (C file). It doesn't build deepfreeze.o (object) anymore. * Remove misleading messages in "make regen-global-objects" and "make clinic". They are now outdated, these commands are now safe to use. * Document generates files in Doc/using/configure.rst. Co-authored-by: Erlend E. Aasland <erlend@python.org>
* gh-63760: Don't declare gethostname() on Solaris (#108817)Victor Stinner2023-09-021-0/+3
| | | | | | | | | | | | | Since 2005, Solaris defines gethostname(). socketmodule.c no longer has to define gethostname() for Solaris. Oracle Solaris and OpenSolaris have patches to remove the gethostname() definition in Python: * https://github.com/oracle/solaris-userland/blob/master/components/python/python37/patches/15-gethostname.patch * https://github.com/OpenIndiana/oi-userland/blob/oi/hipster/components/python/python37/patches/15-gethostname.patch * https://github.com/omniosorg/omnios-build/blob/master/build/python27/patches/24-gethostname.patch Co-authored-by: Jakub Kulík <Kulikjak@gmail.com>
* gh-108634: Py_TRACE_REFS uses a hash table (#108663)Victor Stinner2023-08-311-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Python built with "configure --with-trace-refs" (tracing references) is now ABI compatible with Python release build and debug build. Moreover, it now also supports the Limited API. Change Py_TRACE_REFS build: * Remove _PyObject_EXTRA_INIT macro. * The PyObject structure no longer has two extra members (_ob_prev and _ob_next). * Use a hash table (_Py_hashtable_t) to trace references (all objects): PyInterpreterState.object_state.refchain. * Py_TRACE_REFS build is now ABI compatible with release build and debug build. * Limited C API extensions can now be built with Py_TRACE_REFS: xxlimited, xxlimited_35, _testclinic_limited. * No longer rename PyModule_Create2() and PyModule_FromDefAndSpec2() functions to PyModule_Create2TraceRefs() and PyModule_FromDefAndSpec2TraceRefs(). * _Py_PrintReferenceAddresses() is now called before finalize_interp_delete() which deletes the refchain hash table. * test_tracemalloc find_trace() now also filters by size to ignore the memory allocated by _PyRefchain_Trace(). Test changes for Py_TRACE_REFS: * Add test.support.Py_TRACE_REFS constant. * Add test_sys.test_getobjects() to test sys.getobjects() function. * test_exceptions skips test_recursion_normalizing_with_no_memory() and test_memory_error_in_PyErr_PrintEx() if Python is built with Py_TRACE_REFS. * test_repl skips test_no_memory(). * test_capi skisp test_set_nomemory().
* gh-108447: Detect platform triplets for x86_64 GNU/Hurd (#108045)Samuel Thibault2023-08-241-0/+1
|
* gh-95855: Refactor platform triplet detection code, add detection for MIPS ↵Jeffery To2023-08-241-0/+2
| | | | | | | | | | | | | | | | | soft float and musl libc (#107221) - Move platform triplet detection code into Misc/platform_triplet.c - Refactor MIPS detection, use defined(__mips64) to detect MIPS64 - Compute libc values in separate section - Add detection for MIPS soft float - Add detection for musl musl supports SPE with its soft-float ABI: https://git.musl-libc.org/cgit/musl/commit/?id=7be59733d71ada3a32a98622507399253f1d5e48 Original patch by Christian Heimes. Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: Erlend E. Aasland <erlend@python.org>
* Run sphinx-lint on Misc/NEWS.d/next/ (#108212)Hugo van Kemenade2023-08-211-1/+1
| | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-107814: Avoid output from Nuget installation in find_python.bat (GH-107815)Max Bachmann2023-08-091-0/+1
|
* gh-105481: combine regen-opcode-targets with regen-opcode to avoid ↵Irit Katriel2023-08-011-0/+1
| | | | calculating the specialized opcodes in two places (#107540)
* gh-106881: Check for linux/limits.h before including it (#107397)justdan62023-07-281-0/+1
| | | | | * Check for linux/limits.h before including it Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-106962: Detect mpicc in configure.ac (#106961)Lukas van de Wiel2023-07-221-0/+1
| | | | Don't let autoconf mistake MPI compilers for Intel compilers; filter out the MPI case to prevent Intel specific options from being applied.
* gh-106118: Add O_CLOEXEC preprocessor guard (#106120)Erlend E. Aasland2023-06-281-0/+2
|
* gh-101538: Add experimental wasi-threads build (#101537)YAMAMOTO Takashi2023-06-221-0/+1
| | | | Co-authored-by: Brett Cannon <brett@python.org> Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-105875: Require SQLite 3.15.2 or newer (#105876)Erlend E. Aasland2023-06-181-0/+2
| | | SQLite 3.15.2 was released 2016-11-28.
* gh-104692: Include commoninstall as a prerequisite for bininstall (#104693)Jeffery To2023-06-071-0/+6
| | | | | | | | | This ensures that `commoninstall` is completed before `bininstall` is started when parallel builds are used (`make -j install`), and so the `python3` symlink is only installed after all standard library modules are installed. Co-authored-by: Zachary Ware <zachary.ware@gmail.com>
* gh-90005: Don't link with libbsd if not needed (#105236)Erlend E. Aasland2023-06-061-0/+1
| | | | The regression was introduced with commit 5b946cada. Restore pre gh-29696 behaviour.
* GH-102404, GH-100956: Document how to do a WASI build (GH-105251)Brett Cannon2023-06-021-0/+2
| | | Also includes a reference shell script to implements what is documented.
* GH-89886: Bump to GNU Autoconf v2.71 (#104925)Erlend E. Aasland2023-06-011-0/+2
| | | Co-authored-by: Christian Heimes <christian@python.org>