cpython/Misc/NEWS.d/next
Filipe Laíns 7f497c3c71
GH-108819: fix LIBDEST not honoring --with-platlibdir (#133163)
* GH-108819: fix LIBDEST not honoring --with-platlibdir

We look for the pure-Python part of the standard library in
PLATSTDLIBDIR, which may not match the default LIBDIR subdir.

From ``getpath.py``:

```python
    ...
    STDLIB_SUBDIR = f'{platlibdir}/python{VERSION_MAJOR}.{VERSION_MINOR}{ABI_THREAD}'
    STDLIB_LANDMARKS = [f'{STDLIB_SUBDIR}/os.py', f'{STDLIB_SUBDIR}/os.pyc']
    PLATSTDLIB_LANDMARK = f'{platlibdir}/python{VERSION_MAJOR}.{VERSION_MINOR}{ABI_THREAD}/lib-dynload'
    ...
```

Signed-off-by: Filipe Laíns <lains@riseup.net>

* Add news

Signed-off-by: Filipe Laíns <lains@riseup.net>

* Always set LIBDEST and BINLIBDEST based on PLATLIBDIR

Signed-off-by: Filipe Laíns <lains@riseup.net>

* Add XXX comment on PLATLIBDIR default value

Signed-off-by: Filipe Laíns <lains@riseup.net>

* Regen configure

Signed-off-by: Filipe Laíns <lains@riseup.net>

---------

Signed-off-by: Filipe Laíns <lains@riseup.net>
2025-12-09 19:14:51 +00:00
..
Build GH-108819: fix LIBDEST not honoring --with-platlibdir (#133163) 2025-12-09 19:14:51 +00:00
C_API gh-142225: Fix PyABIInfo_VAR macro (GH-142230) 2025-12-04 10:33:15 +01:00
Core_and_Builtins gh-142342: Fix m68k assembler operand constraints for %fpcr access (gh-142343) 2025-12-09 13:46:40 +00:00
Documentation gh-141994: Warn of XXE vulnerability in documentation of SAX feature xml.sax.handler.feature_external_ges (GH-141996) 2025-11-28 23:08:17 -08:00
IDLE Python 3.15.0a1 2025-10-14 13:46:08 +03:00
Library gh-112527: Fix help text for required options in argparse (GH-112528) 2025-12-09 16:48:35 +00:00
macOS Python 3.15.0a1 2025-10-14 13:46:08 +03:00
Security gh-142145: Remove quadratic behavior in node ID cache clearing (GH-142146) 2025-12-02 23:16:37 -08:00
Tests gh-140210: Make test_sysconfig.test_parse_makefile_renamed_vars ignore environment variables (#140213) 2025-11-27 10:00:02 -08:00
Tools-Demos Merge branch 'main' of https://github.com/python/cpython 2025-11-19 11:42:45 +02:00
Windows Python 3.15.0a2 2025-11-18 16:51:17 +02:00