Skip to content

Commit fbbb97d

Browse files
committed
release 20.38.0
1 parent c5240c7 commit fbbb97d

File tree

10 files changed

+40
-26
lines changed

10 files changed

+40
-26
lines changed

docs/changelog.rst

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,46 @@
66

77
.. towncrier release notes start
88
9+
***********************
10+
v20.38.0 (2026-02-19)
11+
***********************
12+
13+
Features - 20.38.0
14+
==================
15+
16+
- Store app data (pip/setuptools/wheel caches) under the OS cache directory (``platformdirs.user_cache_dir``) instead of
17+
the data directory (``platformdirs.user_data_dir``). Existing app data at the old location is automatically migrated
18+
on first use. This ensures cached files that can be redownloaded are placed in the standard cache location (e.g.
19+
``~/.cache`` on Linux, ``~/Library/Caches`` on macOS) where they are excluded from backups and can be cleaned by
20+
system tools - by :user:`rahuldevikar`. (:issue:`1884`) (:issue:`1884`)
21+
- Add ``PKG_CONFIG_PATH`` environment variable support to all activation scripts (Bash, Batch, PowerShell, Fish, C
22+
Shell, Nushell, and Python). The virtualenv's ``lib/pkgconfig`` directory is now automatically prepended to
23+
``PKG_CONFIG_PATH`` on activation and restored on deactivation, enabling packages that use ``pkg-config`` during
24+
build/install to find their configuration files - by :user:`rahuldevikar`. (:issue:`2637`)
25+
- Upgrade embedded pip to ``26.0.1`` from ``25.3`` and setuptools to ``82.0.0``, ``75.3.4`` from ``75.3.2``, ``80.9.0``
26+
- by :user:`rahuldevikar`. (:issue:`3027`)
27+
- Replace ``ty: ignore`` comments with proper type narrowing using assertions and explicit None checks - by
28+
:user:`rahuldevikar`. (:issue:`3029`)
29+
30+
Bugfixes - 20.38.0
31+
==================
32+
33+
- Exclude pywin32 DLLs (``pywintypes*.dll``, ``pythoncom*.dll``) from being copied to the Scripts directory during
34+
virtualenv creation on Windows. This fixes compatibility issues with pywin32, which expects its DLLs to be installed
35+
in ``site-packages/pywin32_system32`` by its own post-install script - by :user:`rahuldevikar`. (:issue:`2662`)
36+
- Preserve symlinks in ``pyvenv.cfg`` paths to match ``venv`` behavior. Use ``os.path.abspath()`` instead of
37+
``os.path.realpath()`` to normalize paths without resolving symlinks, fixing issues with Python installations accessed
38+
via symlinked directories (common in network-mounted filesystems) - by :user:`rahuldevikar`. Fixes :issue:`2770`.
39+
(:issue:`2770`)
40+
- Fix Windows activation scripts to properly quote ``python.exe`` path, preventing failures when Python is installed in
41+
a path with spaces (e.g., ``C:\Program Files``) and a file named ``C:\Program`` exists on the filesystem - by
42+
:user:`rahuldevikar`. (:issue:`2985`)
43+
- Fix ``bash -u`` (``set -o nounset``) compatibility in bash activation script by using ``${PKG_CONFIG_PATH:-}`` and
44+
``${PKG_CONFIG_PATH:+:${PKG_CONFIG_PATH}}`` to handle unset ``PKG_CONFIG_PATH`` - by :user:`Fridayai700`.
45+
(:issue:`3044`)
46+
- Gracefully handle corrupted on-disk cache and invalid JSON from Python interrogation subprocess instead of crashing
47+
with unhandled ``JSONDecodeError`` or ``KeyError`` - by :user:`gaborbernat`. (:issue:`3054`)
48+
949
***********************
1050
v20.36.1 (2026-01-09)
1151
***********************

docs/changelog/1884.feature.rst

Lines changed: 0 additions & 5 deletions
This file was deleted.

docs/changelog/2637.feature.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

docs/changelog/2662.bugfix.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/changelog/2770.bugfix.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/changelog/2985.bugfix.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

docs/changelog/3027.feature.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/changelog/3029.feature.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/changelog/3044.bugfix.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

docs/changelog/3054.bugfix.rst

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)