Skip to content

fix(nix): bump Python 3.11 → 3.12 to resolve sphinx 9.1.0 build failure - #9067

Closed
lopezpalacios wants to merge 1 commit into
NousResearch:mainfrom
lopezpalacios:fix/nix-python312
Closed

fix(nix): bump Python 3.11 → 3.12 to resolve sphinx 9.1.0 build failure#9067
lopezpalacios wants to merge 1 commit into
NousResearch:mainfrom
lopezpalacios:fix/nix-python312

Conversation

@lopezpalacios

Copy link
Copy Markdown

Problem

nix build fails on current main with:

error: sphinx-9.1.0 not supported for interpreter python3.11

Sphinx 9.1.0 (pulled transitively via pyproject-build-systems) dropped Python 3.11 support.

Fix

Bump nix/python.nix from python311python312. The project's pyproject.toml requires >=3.11, so 3.12 is fully compatible.

Tested

  • nix build succeeds on aarch64-darwin (M2 Max, macOS)
  • hermes setup, hermes doctor, and hermes chat all work correctly
  • hermes doctor confirms Python 3.12.13

@alt-glitch alt-glitch added type/bug Something isn't working P1 High — major feature broken, no workaround area/nix Nix flake, NixOS module, container packaging duplicate This issue or pull request already exists labels Apr 27, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Likely duplicate of #12208 (merged) — same Python 3.11→3.12 bump in nix/python.nix. That fix is already on main.

@alt-glitch

Copy link
Copy Markdown
Collaborator

Likely duplicate of #12208 (merged).

@teknium1

Copy link
Copy Markdown
Contributor

Thanks for the contribution @lopezpalacios! This fix has already landed on main via a prior commit.

Automated hermes-sweeper review found:

The sphinx 9.1.0 / Python 3.11 incompatibility you identified is a real issue and you found the right fix — it just got addressed independently. Closing as already implemented.

@teknium1 teknium1 closed this Apr 28, 2026
@lopezpalacios
lopezpalacios deleted the fix/nix-python312 branch April 28, 2026 05:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/nix Nix flake, NixOS module, container packaging duplicate This issue or pull request already exists P1 High — major feature broken, no workaround type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants