Skip to content

[Refactor/Chore] Align API and Agent dependency updates #44777

Open

Description

@zhaohao1004

Self Checks

  • I have read the Contributing Guide and Language Policy.
  • This is only for refactors or chores; if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report, otherwise it will be closed.
  • 【中文用户 & Non English User】请使用英语提交,否则会被关闭 :)
  • Please do not modify this template :) and fill in all the required fields.

Description

Complete the API and Agent dependency updates, extending the existing PRs where applicable.

Dependency Current → target Remaining work
pydantic-ai-slim 2.31.0 → 2.53.0+ Extend #43724: update both exact pins in dify-agent/pyproject.toml and regenerate both project locks. The API lock is still 2.31.0 despite merged #43725.
Pillow Agent 12.3.0 → 13.0.0+ Complete #44463: update the current Agent server extra constraint pillow>=11.3.0,<13 alongside the lock.
filelock Agent 3.29.0 → 4.2.1+ Update dify-agent/uv.lock; no covering PR was found.
pypdf API 6.19.0 → 6.21.2+ Update api/uv.lock; merged #44681 only updates the Agent lock.

Motivation

Keep dependency declarations and both project lockfiles consistent, and ensure the existing upgrade PRs remain installable with the current Agent server extra.

Additional Context

Source checked on 2026-10-26: main@853ca77.

  • Verify lock consistency and clean frozen installation for both projects, including Agent server extras.
  • Run the relevant Agent, image, and PDF checks and record results in the fixing PRs.
  • Confirm the corresponding dependency alerts clear after merge.

Activity

  1. changed the title [-]security: complete API and agent dependency fixes[/-] [+][Refactor/Chore] Align API and Agent dependency updates[/+] on Oct 26, 2026
  2. added
    1.18.0
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    1.18.0

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions