Skip to content

[Backport 25.05] [python3Packages.]ruff: 0.11.10 -> 0.11.13#421101

Merged
GaetanLepage merged 4 commits intoNixOS:release-25.05from
bengsparks:ruff.backport
Jun 30, 2025
Merged

[Backport 25.05] [python3Packages.]ruff: 0.11.10 -> 0.11.13#421101
GaetanLepage merged 4 commits intoNixOS:release-25.05from
bengsparks:ruff.backport

Conversation

@bengsparks
Copy link
Contributor

@bengsparks bengsparks commented Jun 29, 2025

Last backport of ruff to 25.05, as the next version is 0.12.0.

Includes #409860, #412083, #414356, as well #412112 for speeding up the rebuild of the Python package.

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • Nixpkgs 25.11 Release Notes (or backporting 24.11 and 25.05 Nixpkgs Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
  • NixOS 25.11 Release Notes (or backporting 24.11 and 25.05 NixOS Release notes)
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other contributing documentation in corresponding paths.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 4.workflow: backport This targets a stable branch labels Jun 29, 2025
@bengsparks bengsparks changed the title [Backport 25.05] Ruff: 0.11.10 -> 0.11.13 [Backport 25.05] ruff: 0.11.10 -> 0.11.13 Jun 29, 2025
The maturin build system cannot see that we already build the ruff binary in nixpkgs.
This leads to the ruff binary being rebuilt and placed inside of the resulting Python package.
Every nixpkgs-review that passes through the `pkgs.ruff` package therefore builds `ruff` 3 times per architecture.
Said binary was never even used due to the patching that already occurs in `find_ruff_bin`.

Especially with how time-consuming release builds can be in Rust, there is no reason to keep this package in this state.

master: `nix-build -A python3Packages.ruff` - `0.44s user 0.28s system 0% cpu 5:09.64 total`
branch: `nix-build -A python3Packages.ruff` - `0.36s user 0.12s system 9% cpu 4.856 total`
(cherry picked from commit cf311ad)
@bengsparks bengsparks changed the title [Backport 25.05] ruff: 0.11.10 -> 0.11.13 [Backport 25.05] [python3Packages.]ruff: 0.11.10 -> 0.11.13 Jun 29, 2025
@nixpkgs-ci nixpkgs-ci bot added the 6.topic: python Python is a high-level, general-purpose programming language. label Jun 29, 2025
@bengsparks
Copy link
Contributor Author

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 421101
Commit: e2e83dfc06ad03dbf477d46ac3519bd45985de7e


aarch64-darwin

✅ 78 packages built:
  • dmarc-metrics-exporter
  • dmarc-metrics-exporter.dist
  • litellm
  • litellm.dist
  • marimo (python312Packages.marimo)
  • marimo.dist (python312Packages.marimo.dist)
  • nbqa
  • nbqa.dist
  • nixpkgs-openjdk-updater
  • nixpkgs-openjdk-updater.dist
  • openapi-python-client
  • openapi-python-client.dist
  • oterm
  • oterm.dist
  • python312Packages.gradio
  • python312Packages.gradio.dist
  • python312Packages.mcp
  • python312Packages.mcp.dist
  • python312Packages.mcpadapt
  • python312Packages.mcpadapt.dist
  • python312Packages.mypy-boto3-builder
  • python312Packages.mypy-boto3-builder.dist
  • python312Packages.pyhanko
  • python312Packages.pyhanko.dist
  • python312Packages.pytest-examples
  • python312Packages.pytest-examples.dist
  • python312Packages.pytest-ruff
  • python312Packages.pytest-ruff.dist
  • python312Packages.python-lsp-ruff
  • python312Packages.python-lsp-ruff.dist
  • python312Packages.reflex
  • python312Packages.reflex-chakra
  • python312Packages.reflex-chakra.dist
  • python312Packages.reflex.dist
  • python312Packages.ruff
  • python312Packages.ruff.dist
  • python312Packages.smolagents
  • python312Packages.smolagents.dist
  • python312Packages.xhtml2pdf
  • python312Packages.xhtml2pdf.dist
  • python312Packages.xsdata
  • python312Packages.xsdata.dist
  • python313Packages.gradio
  • python313Packages.gradio.dist
  • python313Packages.marimo
  • python313Packages.marimo.dist
  • python313Packages.mcp
  • python313Packages.mcp.dist
  • python313Packages.mcpadapt
  • python313Packages.mcpadapt.dist
  • python313Packages.mypy-boto3-builder
  • python313Packages.mypy-boto3-builder.dist
  • python313Packages.pyhanko
  • python313Packages.pyhanko.dist
  • python313Packages.pytest-examples
  • python313Packages.pytest-examples.dist
  • python313Packages.pytest-ruff
  • python313Packages.pytest-ruff.dist
  • python313Packages.python-lsp-ruff
  • python313Packages.python-lsp-ruff.dist
  • python313Packages.reflex
  • python313Packages.reflex-chakra
  • python313Packages.reflex-chakra.dist
  • python313Packages.reflex.dist
  • python313Packages.ruff
  • python313Packages.ruff.dist
  • python313Packages.smolagents
  • python313Packages.smolagents.dist
  • python313Packages.xhtml2pdf
  • python313Packages.xhtml2pdf.dist
  • python313Packages.xsdata
  • python313Packages.xsdata.dist
  • ruff
  • vectorcode
  • vectorcode.dist
  • vscode-extensions.charliermarsh.ruff
  • vunnel
  • vunnel.dist

@bengsparks bengsparks marked this pull request as ready for review June 29, 2025 21:09
@nix-owners nix-owners bot requested review from GaetanLepage and figsoda June 29, 2025 21:09
@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review-gha

Command: nixpkgs-review pr 421101

Logs: https://github.com/GaetanLepage/nixpkgs-review-gha/actions/runs/15959686717


x86_64-linux (sandbox = true)

✅ 95 packages built:
  • dmarc-metrics-exporter
  • dmarc-metrics-exporter.dist
  • home-assistant-component-tests.mcp
  • home-assistant-component-tests.mcp_server
  • litellm
  • litellm.dist
  • maigret
  • maigret.dist
  • marimo (python312Packages.marimo)
  • marimo.dist (python312Packages.marimo.dist)
  • nbqa
  • nbqa.dist
  • nixpkgs-openjdk-updater
  • nixpkgs-openjdk-updater.dist
  • openapi-python-client
  • openapi-python-client.dist
  • oterm
  • oterm.dist
  • private-gpt
  • private-gpt.dist
  • python312Packages.gradio
  • python312Packages.gradio.dist
  • python312Packages.ifcopenshell
  • python312Packages.mcp
  • python312Packages.mcp.dist
  • python312Packages.mcpadapt
  • python312Packages.mcpadapt.dist
  • python312Packages.mypy-boto3-builder
  • python312Packages.mypy-boto3-builder.dist
  • python312Packages.private-gpt
  • python312Packages.private-gpt.dist
  • python312Packages.pyhanko
  • python312Packages.pyhanko.dist
  • python312Packages.pytest-examples
  • python312Packages.pytest-examples.dist
  • python312Packages.pytest-ruff
  • python312Packages.pytest-ruff.dist
  • python312Packages.python-lsp-ruff
  • python312Packages.python-lsp-ruff.dist
  • python312Packages.reflex
  • python312Packages.reflex-chakra
  • python312Packages.reflex-chakra.dist
  • python312Packages.reflex.dist
  • python312Packages.ruff
  • python312Packages.ruff.dist
  • python312Packages.smolagents
  • python312Packages.smolagents.dist
  • python312Packages.xhtml2pdf
  • python312Packages.xhtml2pdf.dist
  • python312Packages.xsdata
  • python312Packages.xsdata.dist
  • python313Packages.gradio
  • python313Packages.gradio.dist
  • python313Packages.ifcopenshell
  • python313Packages.marimo
  • python313Packages.marimo.dist
  • python313Packages.mcp
  • python313Packages.mcp.dist
  • python313Packages.mcpadapt
  • python313Packages.mcpadapt.dist
  • python313Packages.mypy-boto3-builder
  • python313Packages.mypy-boto3-builder.dist
  • python313Packages.pyhanko
  • python313Packages.pyhanko.dist
  • python313Packages.pytest-examples
  • python313Packages.pytest-examples.dist
  • python313Packages.pytest-ruff
  • python313Packages.pytest-ruff.dist
  • python313Packages.python-lsp-ruff
  • python313Packages.python-lsp-ruff.dist
  • python313Packages.reflex
  • python313Packages.reflex-chakra
  • python313Packages.reflex-chakra.dist
  • python313Packages.reflex.dist
  • python313Packages.ruff
  • python313Packages.ruff.dist
  • python313Packages.smolagents
  • python313Packages.smolagents.dist
  • python313Packages.xhtml2pdf
  • python313Packages.xhtml2pdf.dist
  • python313Packages.xsdata
  • python313Packages.xsdata.dist
  • rembg
  • rembg.dist
  • ruff
  • tests.devShellTools.nixos
  • tests.testers.lycheeLinkCheck.network
  • tests.testers.nixosTest-example
  • tests.testers.runNixOSTest-example
  • tests.trivial-builders.references
  • vectorcode
  • vectorcode.dist
  • vscode-extensions.charliermarsh.ruff
  • vunnel
  • vunnel.dist

aarch64-linux (sandbox = true)

❌ 25 packages failed to build:
  • litellm
  • litellm.dist
  • oterm
  • oterm.dist
  • python312Packages.gradio
  • python312Packages.gradio.dist
  • python312Packages.mcp
  • python312Packages.mcp.dist
  • python312Packages.mcpadapt
  • python312Packages.mcpadapt.dist
  • python312Packages.smolagents
  • python312Packages.smolagents.dist
  • python313Packages.gradio
  • python313Packages.gradio.dist
  • python313Packages.smolagents
  • python313Packages.smolagents.dist
  • python313Packages.xhtml2pdf
  • python313Packages.xhtml2pdf.dist
  • tests.devShellTools.nixos
  • tests.testers.lycheeLinkCheck.network
  • tests.testers.nixosTest-example
  • tests.testers.runNixOSTest-example
  • tests.trivial-builders.references
  • vunnel
  • vunnel.dist
✅ 62 packages built:
  • dmarc-metrics-exporter
  • dmarc-metrics-exporter.dist
  • home-assistant-component-tests.mcp
  • home-assistant-component-tests.mcp_server
  • maigret
  • maigret.dist
  • marimo (python312Packages.marimo)
  • marimo.dist (python312Packages.marimo.dist)
  • nbqa
  • nbqa.dist
  • nixpkgs-openjdk-updater
  • nixpkgs-openjdk-updater.dist
  • openapi-python-client
  • openapi-python-client.dist
  • python312Packages.ifcopenshell
  • python312Packages.mypy-boto3-builder
  • python312Packages.mypy-boto3-builder.dist
  • python312Packages.pyhanko
  • python312Packages.pyhanko.dist
  • python312Packages.pytest-examples
  • python312Packages.pytest-examples.dist
  • python312Packages.pytest-ruff
  • python312Packages.pytest-ruff.dist
  • python312Packages.python-lsp-ruff
  • python312Packages.python-lsp-ruff.dist
  • python312Packages.reflex
  • python312Packages.reflex-chakra
  • python312Packages.reflex-chakra.dist
  • python312Packages.reflex.dist
  • python312Packages.ruff
  • python312Packages.ruff.dist
  • python312Packages.xhtml2pdf
  • python312Packages.xhtml2pdf.dist
  • python312Packages.xsdata
  • python312Packages.xsdata.dist
  • python313Packages.ifcopenshell
  • python313Packages.marimo
  • python313Packages.marimo.dist
  • python313Packages.mcp
  • python313Packages.mcp.dist
  • python313Packages.mcpadapt
  • python313Packages.mcpadapt.dist
  • python313Packages.mypy-boto3-builder
  • python313Packages.mypy-boto3-builder.dist
  • python313Packages.pyhanko
  • python313Packages.pyhanko.dist
  • python313Packages.pytest-examples
  • python313Packages.pytest-examples.dist
  • python313Packages.pytest-ruff
  • python313Packages.pytest-ruff.dist
  • python313Packages.python-lsp-ruff
  • python313Packages.python-lsp-ruff.dist
  • python313Packages.reflex
  • python313Packages.reflex-chakra
  • python313Packages.reflex-chakra.dist
  • python313Packages.reflex.dist
  • python313Packages.ruff
  • python313Packages.ruff.dist
  • python313Packages.xsdata
  • python313Packages.xsdata.dist
  • ruff
  • vscode-extensions.charliermarsh.ruff

Error logs: `aarch64-linux`
python312Packages.mcp
tests/server/fastmcp/prompts/test_base.py ...........                    [ 13%]
tests/server/fastmcp/prompts/test_manager.py ........                    [ 18%]
tests/server/fastmcp/resources/test_file_resources.py .......            [ 22%]
tests/server/fastmcp/resources/test_function_resources.py ........       [ 26%]
tests/server/fastmcp/resources/test_resource_manager.py ........         [ 30%]
tests/server/fastmcp/resources/test_resource_template.py ........        [ 34%]
tests/server/fastmcp/resources/test_resources.py .....                   [ 37%]
tests/server/fastmcp/servers/test_file_server.py .....                   [ 40%]
tests/server/fastmcp/test_func_metadata.py .......                       [ 44%]
tests/server/fastmcp/test_parameter_descriptions.py .                    [ 44%]
tests/server/fastmcp/test_server.py .................................... [ 63%]
.......                                                                  [ 67%]
tests/server/fastmcp/test_tool_manager.py ......................         [ 79%]
tests/server/test_lifespan.py ..                                         [ 80%]
tests/server/test_read_resource.py ...                                   [ 82%]
tests/server/test_session.py ..                                          [ 83%]
tests/server/test_stdio.py .                                             [ 83%]
tests/shared/test_memory.py .                                            [ 84%]
tests/shared/test_session.py ..                                          [ 85%]
tests/shared/test_sse.py ..
python313Packages.gradio
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-namespaces-hook
Sourcing python-catch-conflicts-hook.sh
Sourcing pytest-check-hook
Using pytestCheckPhase
Running phase: unpackPhase
@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking source archive /nix/store/kc1kv41ry95i4jnysaj0gkflh4qw1ij6-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file "source/tsconfig.json"
Running phase: patchPhase
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: configurePhase
@nix { "action": "setPhase", "phase": "configurePhase" }
no configure script, doing nothing
Executing pnpmConfigHook
Configuring pnpm store
python313Packages.xhtml2pdf
shrinking RPATHs of ELF executables and libraries in /nix/store/nq3q891qbigf1krvi92n134829fa6sp6-python3.13-xhtml2pdf-0.2.17-dist
checking for references to /build/ in /nix/store/nq3q891qbigf1krvi92n134829fa6sp6-python3.13-xhtml2pdf-0.2.17-dist...
patching script interpreter paths in /nix/store/nq3q891qbigf1krvi92n134829fa6sp6-python3.13-xhtml2pdf-0.2.17-dist
Rewriting #!/nix/store/yy0xvc2rydhrs0h1v8d7r3sql347xzz5-python3-3.13.3/bin/python3.13 to #!/nix/store/yy0xvc2rydhrs0h1v8d7r3sql347xzz5-python3-3.13.3
wrapping `/nix/store/i5xjg9iahvp4zf620mwni5vqjhmbfb7f-python3.13-xhtml2pdf-0.2.17/bin/pisa'...
Rewriting #!/nix/store/yy0xvc2rydhrs0h1v8d7r3sql347xzz5-python3-3.13.3/bin/python3.13 to #!/nix/store/yy0xvc2rydhrs0h1v8d7r3sql347xzz5-python3-3.13.3
wrapping `/nix/store/i5xjg9iahvp4zf620mwni5vqjhmbfb7f-python3.13-xhtml2pdf-0.2.17/bin/xhtml2pdf'...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
Running phase: installCheckPhase
@nix { "action": "setPhase", "phase": "installCheckPhase" }
no Makefile or custom installCheckPhase, doing nothing
Running phase: pythonCatchConflictsPhase
@nix { "action": "setPhase", "phase": "pythonCatchConflictsPhase" }
Running phase: pythonRemoveBinBytecodePhase
@nix { "action": "setPhase", "phase": "pythonRemoveBinBytecodePhase" }
Running phase: pythonImportsCheckPhase
@nix { "action": "setPhase", "phase": "pythonImportsCheckPhase" }
Executing pythonImportsCheckPhase
Check whether the following modules can be imported: xhtml2pdf xhtml2pdf.pisa

x86_64-darwin (sandbox = true)

❌ 20 packages failed to build:
  • litellm
  • litellm.dist
  • oterm
  • oterm.dist
  • python312Packages.gradio
  • python312Packages.gradio.dist
  • python312Packages.mcp
  • python312Packages.mcp.dist
  • python312Packages.mcpadapt
  • python312Packages.mcpadapt.dist
  • python312Packages.smolagents
  • python312Packages.smolagents.dist
  • python313Packages.gradio
  • python313Packages.gradio.dist
  • python313Packages.smolagents
  • python313Packages.smolagents.dist
  • vectorcode
  • vectorcode.dist
  • vunnel
  • vunnel.dist
✅ 58 packages built:
  • dmarc-metrics-exporter
  • dmarc-metrics-exporter.dist
  • marimo (python312Packages.marimo)
  • marimo.dist (python312Packages.marimo.dist)
  • nbqa
  • nbqa.dist
  • nixpkgs-openjdk-updater
  • nixpkgs-openjdk-updater.dist
  • openapi-python-client
  • openapi-python-client.dist
  • python312Packages.mypy-boto3-builder
  • python312Packages.mypy-boto3-builder.dist
  • python312Packages.pyhanko
  • python312Packages.pyhanko.dist
  • python312Packages.pytest-examples
  • python312Packages.pytest-examples.dist
  • python312Packages.pytest-ruff
  • python312Packages.pytest-ruff.dist
  • python312Packages.python-lsp-ruff
  • python312Packages.python-lsp-ruff.dist
  • python312Packages.reflex
  • python312Packages.reflex-chakra
  • python312Packages.reflex-chakra.dist
  • python312Packages.reflex.dist
  • python312Packages.ruff
  • python312Packages.ruff.dist
  • python312Packages.xhtml2pdf
  • python312Packages.xhtml2pdf.dist
  • python312Packages.xsdata
  • python312Packages.xsdata.dist
  • python313Packages.marimo
  • python313Packages.marimo.dist
  • python313Packages.mcp
  • python313Packages.mcp.dist
  • python313Packages.mcpadapt
  • python313Packages.mcpadapt.dist
  • python313Packages.mypy-boto3-builder
  • python313Packages.mypy-boto3-builder.dist
  • python313Packages.pyhanko
  • python313Packages.pyhanko.dist
  • python313Packages.pytest-examples
  • python313Packages.pytest-examples.dist
  • python313Packages.pytest-ruff
  • python313Packages.pytest-ruff.dist
  • python313Packages.python-lsp-ruff
  • python313Packages.python-lsp-ruff.dist
  • python313Packages.reflex
  • python313Packages.reflex-chakra
  • python313Packages.reflex-chakra.dist
  • python313Packages.reflex.dist
  • python313Packages.ruff
  • python313Packages.ruff.dist
  • python313Packages.xhtml2pdf
  • python313Packages.xhtml2pdf.dist
  • python313Packages.xsdata
  • python313Packages.xsdata.dist
  • ruff
  • vscode-extensions.charliermarsh.ruff

Error logs: `x86_64-darwin`
python312Packages.mcp
            except ConnectionRefusedError:
                time.sleep(0.1)
                attempt += 1
        else:
>           raise RuntimeError(f"Server failed to start after {max_attempts} attempts")
E           RuntimeError: Server failed to start after 20 attempts

tests/shared/test_ws.py:137: RuntimeError
---------------------------- Captured stdout setup -----------------------------
starting process
waiting for server to start
=========================== short test summary info ============================
ERROR tests/shared/test_sse.py::test_raw_sse_connection - RuntimeError: Server failed to start after 20 attempts
ERROR tests/shared/test_sse.py::test_sse_client_happy_request_and_response - RuntimeError: Server failed to start after 20 attempts
ERROR tests/shared/test_sse.py::test_sse_client_exception_handling - RuntimeError: Server failed to start after 20 attempts
ERROR tests/shared/test_ws.py::test_ws_client_basic_connection - RuntimeError: Server failed to start after 20 attempts
ERROR tests/shared/test_ws.py::test_ws_client_happy_request_and_response - RuntimeError: Server failed to start after 20 attempts
ERROR tests/shared/test_ws.py::test_ws_client_exception_handling - RuntimeError: Server failed to start after 20 attempts
ERROR tests/shared/test_ws.py::test_ws_client_timeout - RuntimeError: Server failed to start after 20 attempts
=========== 178 passed, 1 skipped, 2 deselected, 7 errors in 58.50s ============

python313Packages.gradio
<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----

1: 0x10acc92a5 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/nix/store/086zjv14ipka2vbpgwil3xyvi5ml4vh3-nodejs-22.14.0/bin/node]
2: 0x10aef7bab v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/nix/store/086zjv14ipka2vbpgwil3xyvi5ml4vh3-nodejs-22.14.0/bin/node]
3: 0x10b149147 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/nix/store/086zjv14ipka2vbpgwil3xyvi5ml4vh3-nodejs-22.14.0/bin/node]
4: 0x10b14707c v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/nix/store/086zjv14ipka2vbpgwil3xyvi5ml4vh3-nodejs-22.14.0/bin/node]
5: 0x10b1392d5 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/nix/store/086zjv14ipka2vbpgwil3xyvi5ml4vh3-nodejs-22.14.0/bin/node]
6: 0x10b139a95 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/nix/store/086zjv14ipka2vbpgwil3xyvi5ml4vh3-nodejs-22.14.0/bin/node]
7: 0x10b11a393 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/nix/store/086zjv14ipka2vbpgwil3xyvi5ml4vh3-nodejs-22.14.0/bin/node]
8: 0x10b5f0039 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/nix/store/086zjv14ipka2vbpgwil3xyvi5ml4vh3-nodejs-22.14.0/bin/node]
9: 0x10bac6bf6 Builtins_CEntry_Return1_ArgvOnStack_NoBuiltinExit [/nix/store/086zjv14ipka2vbpgwil3xyvi5ml4vh3-nodejs-22.14.0/bin/node]
10: 0x113c1e7ff
11: 0x113fc7b94
/private/tmp/nix-build-python3.13-gradio-5.29.0.drv-0/source/js/app:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  @self/app@1.49.7 build: vite build && node after_build.js --emptyOutDir
Exit status 134
 ELIFECYCLE  Command failed with exit code 134.


aarch64-darwin (sandbox = true)

❌ 22 packages failed to build:
  • litellm
  • litellm.dist
  • oterm
  • oterm.dist
  • python312Packages.gradio
  • python312Packages.gradio.dist
  • python312Packages.mcp
  • python312Packages.mcp.dist
  • python312Packages.mcpadapt
  • python312Packages.mcpadapt.dist
  • python312Packages.smolagents
  • python312Packages.smolagents.dist
  • python313Packages.gradio
  • python313Packages.gradio.dist
  • python313Packages.mcp
  • python313Packages.mcp.dist
  • python313Packages.mcpadapt
  • python313Packages.mcpadapt.dist
  • python313Packages.smolagents
  • python313Packages.smolagents.dist
  • vectorcode
  • vectorcode.dist
✅ 56 packages built:
  • dmarc-metrics-exporter
  • dmarc-metrics-exporter.dist
  • marimo (python312Packages.marimo)
  • marimo.dist (python312Packages.marimo.dist)
  • nbqa
  • nbqa.dist
  • nixpkgs-openjdk-updater
  • nixpkgs-openjdk-updater.dist
  • openapi-python-client
  • openapi-python-client.dist
  • python312Packages.mypy-boto3-builder
  • python312Packages.mypy-boto3-builder.dist
  • python312Packages.pyhanko
  • python312Packages.pyhanko.dist
  • python312Packages.pytest-examples
  • python312Packages.pytest-examples.dist
  • python312Packages.pytest-ruff
  • python312Packages.pytest-ruff.dist
  • python312Packages.python-lsp-ruff
  • python312Packages.python-lsp-ruff.dist
  • python312Packages.reflex
  • python312Packages.reflex-chakra
  • python312Packages.reflex-chakra.dist
  • python312Packages.reflex.dist
  • python312Packages.ruff
  • python312Packages.ruff.dist
  • python312Packages.xhtml2pdf
  • python312Packages.xhtml2pdf.dist
  • python312Packages.xsdata
  • python312Packages.xsdata.dist
  • python313Packages.marimo
  • python313Packages.marimo.dist
  • python313Packages.mypy-boto3-builder
  • python313Packages.mypy-boto3-builder.dist
  • python313Packages.pyhanko
  • python313Packages.pyhanko.dist
  • python313Packages.pytest-examples
  • python313Packages.pytest-examples.dist
  • python313Packages.pytest-ruff
  • python313Packages.pytest-ruff.dist
  • python313Packages.python-lsp-ruff
  • python313Packages.python-lsp-ruff.dist
  • python313Packages.reflex
  • python313Packages.reflex-chakra
  • python313Packages.reflex-chakra.dist
  • python313Packages.reflex.dist
  • python313Packages.ruff
  • python313Packages.ruff.dist
  • python313Packages.xhtml2pdf
  • python313Packages.xhtml2pdf.dist
  • python313Packages.xsdata
  • python313Packages.xsdata.dist
  • ruff
  • vscode-extensions.charliermarsh.ruff
  • vunnel
  • vunnel.dist

Error logs: `aarch64-darwin`
python312Packages.mcp
        print("starting process")
        proc.start()
    # Wait for server to be running
    max_attempts = 20
    attempt = 0
    print("waiting for server to start")
    while attempt < max_attempts:
        try:
            with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
              s.connect(("127.0.0.1", server_port))

E PermissionError: [Errno 1] Operation not permitted

tests/shared/test_ws.py:131: PermissionError
---------------------------- Captured stdout setup -----------------------------
starting process
waiting for server to start
=========================== short test summary info ============================
ERROR tests/shared/test_ws.py::test_ws_client_basic_connection - PermissionError: [Errno 1] Operation not permitted
============ 184 passed, 1 skipped, 2 deselected, 1 error in 23.12s ============

python313Packages.mcp
        proc.start()
    # Wait for server to be running
    max_attempts = 20
    attempt = 0
    print("waiting for server to start")
    while attempt < max_attempts:
        try:
            with socket.socket(socket.AF_INET, socket.SOCK_STREAM) as s:
              s.connect(("127.0.0.1", server_port))

E PermissionError: [Errno 1] Operation not permitted

tests/shared/test_ws.py:131: PermissionError
---------------------------- Captured stdout setup -----------------------------
starting process
waiting for server to start
=========================== short test summary info ============================
ERROR tests/shared/test_sse.py::test_raw_sse_connection - PermissionError: [Errno 1] Operation not permitted
ERROR tests/shared/test_ws.py::test_ws_client_happy_request_and_response - PermissionError: [Errno 1] Operation not permitted
============ 183 passed, 1 skipped, 2 deselected, 2 errors in 9.07s ============

@bengsparks
Copy link
Contributor Author

@GaetanLepage one of those failing packages has flaky tests (mcp?), and the rest depend on that package. I observe similar failures when building, but rerunning nixpkgs-review makes them pass

@GaetanLepage
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 421101
Commit: e2e83dfc06ad03dbf477d46ac3519bd45985de7e


x86_64-linux

✅ 95 packages built:
  • dmarc-metrics-exporter
  • dmarc-metrics-exporter.dist
  • home-assistant-component-tests.mcp
  • home-assistant-component-tests.mcp_server
  • litellm
  • litellm.dist
  • maigret
  • maigret.dist
  • marimo (python312Packages.marimo)
  • marimo.dist (python312Packages.marimo.dist)
  • nbqa
  • nbqa.dist
  • nixpkgs-openjdk-updater
  • nixpkgs-openjdk-updater.dist
  • openapi-python-client
  • openapi-python-client.dist
  • oterm
  • oterm.dist
  • private-gpt
  • private-gpt.dist
  • python312Packages.gradio
  • python312Packages.gradio.dist
  • python312Packages.ifcopenshell
  • python312Packages.mcp
  • python312Packages.mcp.dist
  • python312Packages.mcpadapt
  • python312Packages.mcpadapt.dist
  • python312Packages.mypy-boto3-builder
  • python312Packages.mypy-boto3-builder.dist
  • python312Packages.private-gpt
  • python312Packages.private-gpt.dist
  • python312Packages.pyhanko
  • python312Packages.pyhanko.dist
  • python312Packages.pytest-examples
  • python312Packages.pytest-examples.dist
  • python312Packages.pytest-ruff
  • python312Packages.pytest-ruff.dist
  • python312Packages.python-lsp-ruff
  • python312Packages.python-lsp-ruff.dist
  • python312Packages.reflex
  • python312Packages.reflex-chakra
  • python312Packages.reflex-chakra.dist
  • python312Packages.reflex.dist
  • python312Packages.ruff
  • python312Packages.ruff.dist
  • python312Packages.smolagents
  • python312Packages.smolagents.dist
  • python312Packages.xhtml2pdf
  • python312Packages.xhtml2pdf.dist
  • python312Packages.xsdata
  • python312Packages.xsdata.dist
  • python313Packages.gradio
  • python313Packages.gradio.dist
  • python313Packages.ifcopenshell
  • python313Packages.marimo
  • python313Packages.marimo.dist
  • python313Packages.mcp
  • python313Packages.mcp.dist
  • python313Packages.mcpadapt
  • python313Packages.mcpadapt.dist
  • python313Packages.mypy-boto3-builder
  • python313Packages.mypy-boto3-builder.dist
  • python313Packages.pyhanko
  • python313Packages.pyhanko.dist
  • python313Packages.pytest-examples
  • python313Packages.pytest-examples.dist
  • python313Packages.pytest-ruff
  • python313Packages.pytest-ruff.dist
  • python313Packages.python-lsp-ruff
  • python313Packages.python-lsp-ruff.dist
  • python313Packages.reflex
  • python313Packages.reflex-chakra
  • python313Packages.reflex-chakra.dist
  • python313Packages.reflex.dist
  • python313Packages.ruff
  • python313Packages.ruff.dist
  • python313Packages.smolagents
  • python313Packages.smolagents.dist
  • python313Packages.xhtml2pdf
  • python313Packages.xhtml2pdf.dist
  • python313Packages.xsdata
  • python313Packages.xsdata.dist
  • rembg
  • rembg.dist
  • ruff
  • tests.devShellTools.nixos
  • tests.testers.lycheeLinkCheck.network
  • tests.testers.nixosTest-example
  • tests.testers.runNixOSTest-example
  • tests.trivial-builders.references
  • vectorcode
  • vectorcode.dist
  • vscode-extensions.charliermarsh.ruff
  • vunnel
  • vunnel.dist

@GaetanLepage GaetanLepage merged commit 74d99bf into NixOS:release-25.05 Jun 30, 2025
30 of 32 checks passed
@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages. labels Jun 30, 2025
@bengsparks bengsparks deleted the ruff.backport branch June 30, 2025 13:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4.workflow: backport This targets a stable branch 6.topic: python Python is a high-level, general-purpose programming language. 10.rebuild-darwin: 11-100 This PR causes between 11 and 100 packages to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 1 This PR was reviewed and approved by one person. 12.approved-by: package-maintainer This PR was reviewed and approved by a maintainer listed in any of the changed packages.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants