Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-40280: Skip socket, fork, subprocess tests on Emscripten (GH-31986) | Christian Heimes | 2022-03-22 | 1 | -0/+5 |
| | | | | | | | | | | | - 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). | ||||
* | Fix whitespace error in setup.py (GH-31960) | Erlend Egeberg Aasland | 2022-03-17 | 1 | -1/+1 |
| | |||||
* | bpo-38472: setup.py uses LC_ALL=C to check the C compiler (GH-30929) | Victor Stinner | 2022-01-26 | 1 | -1/+3 |
| | | | | | Fix GCC detection in setup.py when cross-compiling. The C compiler is now run with LC_ALL=C. Previously, the detection failed with a German locale. | ||||
* | bpo-45847: Don't override user overrides for CFLAGS/LIBS (GH-29967) | Christian Heimes | 2021-12-08 | 1 | -1/+3 |
| | |||||
* | bpo-45847: Revert Port _ctypes partly to PY_STDLIB_MOD (GH-29747) (GH-29969) | Christian Heimes | 2021-12-07 | 1 | -26/+33 |
| | |||||
* | bpo-45847: Port _ctypes partly to PY_STDLIB_MOD (GH-29747) | Christian Heimes | 2021-12-04 | 1 | -33/+26 |
| | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | ||||
* | bpo-45847: Port _multiprocessing to PY_STDLIB_MOD (GH-29768) | Erlend Egeberg Aasland | 2021-11-28 | 1 | -11/+7 |
| | |||||
* | bpo-45881: Use CC from env first for cross building (GH-29752) | Christian Heimes | 2021-11-24 | 1 | -10/+9 |
| | |||||
* | bpo-45847: Port _uuid to PY_STDLIB_MOD (GH-29741) | Christian Heimes | 2021-11-24 | 1 | -11/+1 |
| | |||||
* | bpo-45847: Port _posixshmem to PY_STDLIB_MOD (GH-29738) | Erlend Egeberg Aasland | 2021-11-24 | 1 | -14/+1 |
| | |||||
* | bpo-45847: Port _gdbm to PY_STDLIB_MOD (GH-29720) | Christian Heimes | 2021-11-23 | 1 | -7/+1 |
| | |||||
* | bpo-45847: Port _ssl and _hashlib to PY_STDLIB_MOD (GH-29727) | Christian Heimes | 2021-11-23 | 1 | -75/+2 |
| | |||||
* | bpo-45847: Port _crypt to PY_STDLIB_MOD (GH-29725) | Christian Heimes | 2021-11-23 | 1 | -14/+1 |
| | |||||
* | bpo-45847: Port _socket to PY_STDLIB_MOD (GH-29713) | Erlend Egeberg Aasland | 2021-11-23 | 1 | -4/+2 |
| | |||||
* | bpo-45847: Port xxlimited and xxlimited_35 to PY_STDLIB_MOD (GH-29707) | Erlend Egeberg Aasland | 2021-11-22 | 1 | -6/+4 |
| | |||||
* | bpo-45847: port _struct to PY_STDLIB_MOD (GH-29706) | Christian Heimes | 2021-11-22 | 1 | -2/+6 |
| | |||||
* | bpo-45847: Port audioop, _csv, and _posixsubprocess to PY_STDLIB_MOD_SIMPLE ↵ | Erlend Egeberg Aasland | 2021-11-22 | 1 | -4/+3 |
| | | | | | (GH-29705) Automerge-Triggered-By: GH:tiran | ||||
* | bpo-45847: Port nis module to PY_STDLIB_MOD (GH-29699) | Christian Heimes | 2021-11-22 | 1 | -43/+1 |
| | |||||
* | bpo-45847: Port compression libs to PY_STDLIB_MOD (GH-29702) | Christian Heimes | 2021-11-22 | 1 | -25/+4 |
| | |||||
* | bpo-45847: Port mmap, select, and _xxsubinterpreters to Py_STDLIB_MOD (GH-29703) | Erlend Egeberg Aasland | 2021-11-22 | 1 | -3/+3 |
| | |||||
* | bpo-45847: Port fcntl to Py_STDLIB_MOD (GH-29696) | Erlend Egeberg Aasland | 2021-11-22 | 1 | -6/+1 |
| | | | Co-authored-by: Christian Heimes <christian@python.org> | ||||
* | bpo-45847: Various PY_STDLIB_MOD cleanups (GH-29697) | Christian Heimes | 2021-11-22 | 1 | -6/+4 |
| | |||||
* | bpo-45847: Port _lfprof, _opcode, _asyncio, _queue, _statistics, and _typing ↵ | Erlend Egeberg Aasland | 2021-11-22 | 1 | -10/+8 |
| | | | | | to PY_STDLIB_MOD_SIMPLE (GH-29690) Automerge-Triggered-By: GH:tiran | ||||
* | bpo-45847: Port _bisect, _heapq, _json, _pickle, _random, and _zoneinfo to ↵ | Erlend Egeberg Aasland | 2021-11-22 | 1 | -9/+6 |
| | | | | | PY_STDLIB_MOD_SIMPLE (GH-29689) Automerge-Triggered-By: GH:tiran | ||||
* | bpo-45847: Port array, _contextvars, math, and cmath to PY_STDLIB_MOD_SIMPLE ↵ | Erlend Egeberg Aasland | 2021-11-22 | 1 | -6/+4 |
| | | | | (GH-29688) | ||||
* | bpo-45847: Port codecs and unicodedata to PY_STDLIB_MOD (GH-29685) | Christian Heimes | 2021-11-21 | 1 | -5/+6 |
| | |||||
* | bpo-45847: Port grp, spwd, termios, resource, syslog to PY_STDLIB_MOD (GH-29668) | Christian Heimes | 2021-11-21 | 1 | -20/+7 |
| | |||||
* | bpo-45847: Port test modules to PY_STDLIB_MOD (GH-29660) | Christian Heimes | 2021-11-20 | 1 | -18/+12 |
| | |||||
* | bpo-45847: Port _scproxy to PY_STDLIB_MOD (GH-29644) | Christian Heimes | 2021-11-20 | 1 | -5/+2 |
| | |||||
* | bpo-45847: Port builtin hashlib extensions to PY_STDLIB_MOD (GH-29642) | Christian Heimes | 2021-11-19 | 1 | -46/+12 |
| | |||||
* | bpo-45573: Move mandatory core modules to Modules/Setup.bootstrap (GH-29616) | Christian Heimes | 2021-11-19 | 1 | -9/+4 |
| | |||||
* | bpo-45774: Autoconfiscate SQLite detection (GH-29507) | Erlend Egeberg Aasland | 2021-11-19 | 1 | -102/+11 |
| | | | Co-authored-by: Christian Heimes <christian@python.org> | ||||
* | bpo-45573: check for ossaudiodev in configure (GH-29614) | Christian Heimes | 2021-11-18 | 1 | -5/+2 |
| | |||||
* | bpo-45573: Introduce extension module flags in Makefile (GH-29594) | Christian Heimes | 2021-11-18 | 1 | -94/+78 |
| | | | | | | | | | | | | | | | | | | ``configure`` now uses a standardized format to forward state, compiler flags, and linker flags to ``Makefile``, ``setup.py``, and ``Modules/Setup``. ``makesetup`` use the new variables by default if a module line does not contain any compiler or linker flags. ``setup.py`` has a new function ``addext()``. For a module ``egg``, configure adds: * ``MODULE_EGG`` with value yes, missing, disabled, or n/a * ``MODULE_EGG_CFLAGS`` * ``MODULE_EGG_LDFLAGS`` ``Makefile.pre.in`` may also provide ``MODULE_EGG_DEPS`` that lists dependencies such as header files and static libs. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-45573: Use Makefile's dependencies in setup.py (GH-29559) | Christian Heimes | 2021-11-14 | 1 | -60/+27 |
| | |||||
* | bpo-45800: Move pyexpat build setup into configure (GH-29547) | Christian Heimes | 2021-11-14 | 1 | -53/+87 |
| | | | | | | Settings for :mod:`pyexpat` C extension are now detected by ``configure``. The bundled ``expat`` library is built in ``Makefile``. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-45798: Move _decimal build setup into configure (GH-29541) | Christian Heimes | 2021-11-13 | 1 | -105/+16 |
| | | | | | | | Settings for :mod:`decimal` internal C extension are now detected by :program:`configure`. The bundled `libmpdec` library is built in ``Makefile``. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-45747: Detect gdbm/dbm dependencies in configure (GH-29467) | Christian Heimes | 2021-11-10 | 1 | -246/+35 |
| | | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> | ||||
* | bpo-45763: Detect compression build deps in configure (GH-29483) | Christian Heimes | 2021-11-09 | 1 | -6/+3 |
| | |||||
* | bpo-45743: Remove workaround for zlib CVE from 2002 (GH-29457) | Christian Heimes | 2021-11-09 | 1 | -40/+11 |
| | |||||
* | bpo-45743: -Wl,-search_paths_first is no longer needed (GH-29464) | Christian Heimes | 2021-11-09 | 1 | -38/+3 |
| | |||||
* | bpo-45743: Move __APPLE_USE_RFC_3542 into socketmodule.c (GH-29456) | Christian Heimes | 2021-11-08 | 1 | -7/+1 |
| | |||||
* | bpo-45731: Handle --enable-loadable-sqlite-extensions in configure (GH-29434) | Christian Heimes | 2021-11-06 | 1 | -3/+5 |
| | |||||
* | bpo-43158: Use configure values for building _uuid extension (GH-29353) | Christian Heimes | 2021-11-02 | 1 | -6/+6 |
| | |||||
* | bpo-45548: Some test modules must be built as shared libs (GH-29268) | Christian Heimes | 2021-10-29 | 1 | -6/+11 |
| | | | | | | | | | | | | | Some test cases don't work when test modules are static extensions. Add dependency on Modules/config.c to trigger a rebuild whenever a module build type is changed. ``makesetup`` puts shared extensions into ``Modules/`` directory. Create symlinks from pybuilddir so the extensions can be imported. Note: It is not possible to use the content of pybuilddir.txt as a build target. Makefile evaluates target variables in the first pass. The pybuilddir.txt file does not exist at that point. | ||||
* | bpo-45595: Make extensions depend on header files (GH-29198) | Christian Heimes | 2021-10-25 | 1 | -1/+7 |
| | | | | | | ``setup.py`` and ``makesetup`` now track build dependencies on all Python header files and module specific header files. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-45548: Remove _math.c workarounds for pre-C99 libm (GH-29179) | Christian Heimes | 2021-10-25 | 1 | -6/+2 |
| | | | | | | | | | | | | | The :mod:`math` and :mod:`cmath` implementation now require a C99 compatible ``libm`` and no longer ship with workarounds for missing acosh, asinh, expm1, and log1p functions. The changeset also removes ``_math.c`` and moves the last remaining workaround into ``_math.h``. This simplifies static builds with ``Modules/Setup`` and resolves symbol conflicts. Co-authored-by: Mark Dickinson <mdickinson@enthought.com> Co-authored-by: Brett Cannon <brett@python.org> Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-45570: Simplify setup macros for pyexpat (GH-29159) | Christian Heimes | 2021-10-22 | 1 | -10/+0 |
| | | | | | | | | * ``HAVE_EXPAT_CONFIG_H`` is not used by our code and not used by system-wide expat header files * ``USE_PYEXPAT_CAPI`` is no longer used by our code * ``XML_POOR_ENTROPY`` should be defined in expat_config.h Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-43974: Move Py_BUILD_CORE_MODULE into module code (GH-29157) | Christian Heimes | 2021-10-22 | 1 | -48/+20 |
| | | | | | | | | | | | | | | setup.py no longer defines Py_BUILD_CORE_MODULE. Instead every module defines the macro before #include "Python.h" unless Py_BUILD_CORE_BUILTIN is already defined. Py_BUILD_CORE_BUILTIN is defined for every module that is built by Modules/Setup. The PR also simplifies Modules/Setup. Makefile and makesetup already define Py_BUILD_CORE_BUILTIN and include Modules/internal for us. Signed-off-by: Christian Heimes <christian@python.org> | ||||
* | bpo-45221: Fix handling of LDFLAGS and CPPFLAGS options in setup.py (GH-29031) | andrei kulakov | 2021-10-18 | 1 | -0/+12 |
| |