Skip to content

ruff: 0.11.12 -> 0.11.13#414356

Merged
NickCao merged 1 commit intoNixOS:masterfrom
GaetanLepage:ruff
Jun 6, 2025
Merged

ruff: 0.11.12 -> 0.11.13#414356
NickCao merged 1 commit intoNixOS:masterfrom
GaetanLepage:ruff

Conversation

@GaetanLepage
Copy link
Contributor

Things done

Diff: astral-sh/ruff@refs/tags/0.11.12...refs/tags/0.11.13
Changelog: https://github.com/astral-sh/ruff/releases/tag/0.11.13

cc @bengsparks

  • 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.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added 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. labels Jun 5, 2025
@nix-owners nix-owners bot requested review from bengsparks and figsoda June 5, 2025 22:31
@bengsparks

This comment was marked as outdated.

@bengsparks
Copy link
Contributor

nixpkgs-review result

Generated using nixpkgs-review.

Command: nixpkgs-review pr 414356
Commit: f9162386e9a2154259b92d6ece2c4a7a49d5ae72


aarch64-darwin

❌ 4 packages failed to build:
  • python312Packages.fastapi-mcp
  • python312Packages.fastapi-mcp.dist
  • python313Packages.fastapi-mcp
  • python313Packages.fastapi-mcp.dist
✅ 83 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.fastmcp
  • python312Packages.fastmcp.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.fastmcp
  • python313Packages.fastmcp.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
  • vimPlugins.vectorcode-nvim
  • vscode-extensions.charliermarsh.ruff
  • vunnel
  • vunnel.dist

Error logs: `aarch64-darwin`
python312Packages.fastapi-mcp
../../../../nix/store/rqx1zz74m9917ww0hfb0b6fv0sap9573-python3.12-pydantic-2.11.1/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2331
  /nix/store/rqx1zz74m9917ww0hfb0b6fv0sap9573-python3.12-pydantic-2.11.1/lib/python3.12/site-packages/pydantic/_internal/_generate_schema.py:2331: PydanticDeprecatedSince211: The `__get_pydantic_core_schema__` method of the `BaseModel` class is deprecated. If you are calling `super().__get_pydantic_core_schema__` when overriding the method on a Pydantic model, consider using `handler(source)` instead. However, note that overriding this method on models can lead to unexpected side effects. Deprecated in Pydantic V2.11 to be removed in V3.0.
    schema = annotation_get_schema(source, get_inner_schema)

tests/test_types_validation.py::TestOAuthMetadata::test_model_dump_excludes_none
/nix/store/rqx1zz74m9917ww0hfb0b6fv0sap9573-python3.12-pydantic-2.11.1/lib/python3.12/site-packages/pydantic/main.py:453: UserWarning: Pydantic serializer warnings:
PydanticSerializationUnexpectedValue(Expected <class 'pydantic.networks.HttpUrl'> but got <class 'str'> with value 'https://example.com' - serialized value may not be as expected.)
PydanticSerializationUnexpectedValue(Expected <class 'pydantic.networks.HttpUrl'> but got <class 'str'> with value 'https://example.com/auth' - serialized value may not be as expected.)
PydanticSerializationUnexpectedValue(Expected <class 'pydantic.networks.HttpUrl'> but got <class 'str'> with value 'https://example.com/token' - serialized value may not be as expected.)
return self.pydantic_serializer.to_python(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR tests/test_sse_real_transport.py::test_raw_sse_connection[asyncio] - RuntimeError: Server failed to start after 20 attempts
ERROR tests/test_sse_real_transport.py::test_sse_basic_connection[asyncio] - RuntimeError: Server failed to start after 20 attempts
ERROR tests/test_sse_real_transport.py::test_sse_tool_call[asyncio] - RuntimeError: Server failed to start after 20 attempts
ERROR tests/test_sse_real_transport.py::test_raw_sse_connection[trio] - RuntimeError: Server failed to start after 20 attempts
ERROR tests/test_sse_real_transport.py::test_sse_basic_connection[trio] - RuntimeError: Server failed to start after 20 attempts
ERROR tests/test_sse_real_transport.py::test_sse_tool_call[trio] - RuntimeError: Server failed to start after 20 attempts
================== 75 passed, 2 warnings, 6 errors in 29.53s ===================

python313Packages.fastapi-mcp
../../../../nix/store/4j9iv86xx8mfmzwyvc1mrxb9giijm5y7-python3.13-pydantic-2.11.1/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py:2331
  /nix/store/4j9iv86xx8mfmzwyvc1mrxb9giijm5y7-python3.13-pydantic-2.11.1/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py:2331: PydanticDeprecatedSince211: The `__get_pydantic_core_schema__` method of the `BaseModel` class is deprecated. If you are calling `super().__get_pydantic_core_schema__` when overriding the method on a Pydantic model, consider using `handler(source)` instead. However, note that overriding this method on models can lead to unexpected side effects. Deprecated in Pydantic V2.11 to be removed in V3.0.
    schema = annotation_get_schema(source, get_inner_schema)

tests/test_types_validation.py::TestOAuthMetadata::test_model_dump_excludes_none
/nix/store/4j9iv86xx8mfmzwyvc1mrxb9giijm5y7-python3.13-pydantic-2.11.1/lib/python3.13/site-packages/pydantic/main.py:453: UserWarning: Pydantic serializer warnings:
PydanticSerializationUnexpectedValue(Expected <class 'pydantic.networks.HttpUrl'> but got <class 'str'> with value 'https://example.com' - serialized value may not be as expected.)
PydanticSerializationUnexpectedValue(Expected <class 'pydantic.networks.HttpUrl'> but got <class 'str'> with value 'https://example.com/auth' - serialized value may not be as expected.)
PydanticSerializationUnexpectedValue(Expected <class 'pydantic.networks.HttpUrl'> but got <class 'str'> with value 'https://example.com/token' - serialized value may not be as expected.)
return self.pydantic_serializer.to_python(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
ERROR tests/test_sse_real_transport.py::test_raw_sse_connection[asyncio] - RuntimeError: Server failed to start after 20 attempts
ERROR tests/test_sse_real_transport.py::test_sse_basic_connection[asyncio] - RuntimeError: Server failed to start after 20 attempts
ERROR tests/test_sse_real_transport.py::test_sse_tool_call[asyncio] - RuntimeError: Server failed to start after 20 attempts
ERROR tests/test_sse_real_transport.py::test_raw_sse_connection[trio] - RuntimeError: Server failed to start after 20 attempts
ERROR tests/test_sse_real_transport.py::test_sse_basic_connection[trio] - RuntimeError: Server failed to start after 20 attempts
ERROR tests/test_sse_real_transport.py::test_sse_tool_call[trio] - RuntimeError: Server failed to start after 20 attempts
================== 75 passed, 2 warnings, 6 errors in 29.23s ===================

Copy link
Contributor

@bengsparks bengsparks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These error messages don't seem to have anything to do with ruff.
mcp seems to be flaky / difficult to test, as is fastapi-mcp.
I'd say this update is fine.

@NickCao NickCao merged commit d4ca2c8 into NixOS:master Jun 6, 2025
16 of 18 checks passed
@GaetanLepage GaetanLepage deleted the ruff branch June 6, 2025 21:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants