Skip to content

replace mimetypes patch for python 3.14.9+ - #159

Merged
domenkozar merged 1 commit into
cachix:mainfrom
zevisert:zev/fix/GH-154-python-mimetypes-patch
Oct 29, 2026
Merged

domenkozar merged 1 commit into
cachix:mainfrom
zevisert:zev/fix/GH-154-python-mimetypes-patch

Conversation

@zevisert

@zevisert zevisert commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

CPython 3.14.9 moved knownfiles into a non-Windows branch in Lib/mimetypes.py, so nixpkgs's mimetypes.patch no longer applies (3.14.8 is unaffected; 3.14.9 and 3.14.10 both failed in patchPhase).

I kept the stock patch for older 3.14.x and swap in a refreshed one for 3.14.9+ that preserves the Windows-only skip behavior.

Also note that nixpkgs just brought in the same fix (NixOS/nixpkgs#580027) that will be backported to 26.05, but as I mentioned in #152, cachix/nixpkgs-python will not receive that update since we're (unknown reason, IMO) pinned to 25.11 still

CPython 3.14.9 moved knownfiles into a non-Windows branch in
Lib/mimetypes.py, so nixpkgs's mimetypes.patch no longer applies
(3.14.8 is unaffected; 3.14.9 and 3.14.10 both failed in patchPhase).

Keep the stock patch for older 3.14.x and swap in a refreshed one for
3.14.9+ that preserves the Windows-only skip behavior.
@domenkozar
domenkozar merged commit 8c7d2fa into cachix:main Oct 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants