Skip to content

fix: align package metadata with PyPI name#337

Merged
WH-2099 merged 1 commit into
mainfrom
fix/pypi-package-name
May 20, 2026
Merged

fix: align package metadata with PyPI name#337
WH-2099 merged 1 commit into
mainfrom
fix/pypi-package-name

Conversation

@WH-2099
Copy link
Copy Markdown
Member

@WH-2099 WH-2099 commented May 20, 2026

Closes #336

Pull Request Checklist

Thank you for your contribution! Before submitting your PR, please make sure you have completed the following checks:

Compatibility Check

  • I have checked whether this change affects the backward compatibility of the plugin declared in README.md
  • I have checked whether this change affects the forward compatibility of the plugin declared in README.md
  • If this change introduces a breaking change, I have discussed it with the project maintainer and specified the release version in the README.md
  • I have described the compatibility impact and the corresponding version number in the PR description
  • I have checked whether the plugin version is updated in the README.md

Available Checks

  • just build has passed
  • Relevant documentation has been updated (if necessary)

Summary

  • Change the package metadata name from dify_plugin to dify-plugin.
  • Keep the Python import package unchanged as dify_plugin.
  • Align the package metadata with the release workflow PyPI project URLs and trusted publisher project naming.

Compatibility

This changes only the published distribution metadata name. PyPI normalizes dify_plugin and dify-plugin to the same canonical project name, so the import path and installed package usage remain unchanged.

Validation

  • just build passed.
  • Verified the generated wheel metadata reports Name: dify-plugin.
  • just check was attempted, but the local worktree contains untracked exploratory plugin directories and ruff includes them; the failure is unrelated to this one-file metadata change.

@WH-2099 WH-2099 self-assigned this May 20, 2026
@WH-2099 WH-2099 marked this pull request as ready for review May 20, 2026 07:09
@WH-2099 WH-2099 enabled auto-merge (squash) May 20, 2026 07:09
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the project name in pyproject.toml from dify_plugin to dify-plugin to align with PyPI and the CLI binary name. A review comment identifies that the README.md file still references the old name in its dependency examples and should be updated to maintain consistency.

Comment thread pyproject.toml
@WH-2099 WH-2099 merged commit 47beeba into main May 20, 2026
4 checks passed
@WH-2099 WH-2099 deleted the fix/pypi-package-name branch May 20, 2026 07:10
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.

Align package metadata with PyPI canonical name

2 participants