[PR #1] [MERGED] feat: Introduce PDM #74

Closed
opened 2026-02-15 21:15:39 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langgenius/dify-plugin-sdks/pull/1
Author: @laipz8200
Created: 12/2/2024
Status: Merged
Merged: 12/2/2024
Merged by: @laipz8200

Base: mainHead: feat/introduce-pdm


📝 Commits (2)

📊 Changes

8 files changed (+884 additions, -72 deletions)

View changed files

.github/workflows/publish_python.yml (+0 -30)
.github/workflows/pypi_publish.yaml (+20 -0)
📝 python/.gitignore (+2 -1)
python/dify_plugin/requirements.txt (+0 -11)
python/pdm.lock (+827 -0)
python/pyproject.toml (+35 -0)
python/setup.py (+0 -30)
python/tests/__init__.py (+0 -0)

📄 Description

PDM, as described, is a modern Python package and dependency manager supporting the latest PEP standards. But it is more than a package manager. It boosts your development workflow in various aspects.

Changes

  1. Use PDM and pyproject.toml instead of the requirements.txt under python/dify_plugin.
  2. Use PDM and setup-pdm action instead of setuptools and publish manually.

Before Merge

You need to configure trusted publishers for PyPI so that you don't need to expose the PyPI tokens in the release workflow. To do this, follow the guide to add a publisher.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langgenius/dify-plugin-sdks/pull/1 **Author:** [@laipz8200](https://github.com/laipz8200) **Created:** 12/2/2024 **Status:** ✅ Merged **Merged:** 12/2/2024 **Merged by:** [@laipz8200](https://github.com/laipz8200) **Base:** `main` ← **Head:** `feat/introduce-pdm` --- ### 📝 Commits (2) - [`e71dbde`](https://github.com/langgenius/dify-plugin-sdks/commit/e71dbdef59091bf5f8cd5d060bf9f0a1b5e580f5) feat: Introduce PDM - [`d5dcb3a`](https://github.com/langgenius/dify-plugin-sdks/commit/d5dcb3a2af3d3f066b437eb8b6e55b870d818300) chore(src): Remove `src/` ### 📊 Changes **8 files changed** (+884 additions, -72 deletions) <details> <summary>View changed files</summary> ➖ `.github/workflows/publish_python.yml` (+0 -30) ➕ `.github/workflows/pypi_publish.yaml` (+20 -0) 📝 `python/.gitignore` (+2 -1) ➖ `python/dify_plugin/requirements.txt` (+0 -11) ➕ `python/pdm.lock` (+827 -0) ➕ `python/pyproject.toml` (+35 -0) ➖ `python/setup.py` (+0 -30) ➕ `python/tests/__init__.py` (+0 -0) </details> ### 📄 Description PDM, as described, is a modern Python package and dependency manager supporting the latest PEP standards. But it is more than a package manager. It boosts your development workflow in various aspects. ## Changes 1. Use PDM and `pyproject.toml` instead of the `requirements.txt` under `python/dify_plugin`. 2. Use PDM and `setup-pdm` action instead of setuptools and publish manually. ## Before Merge You need to configure trusted publishers for PyPI so that you don't need to expose the PyPI tokens in the release workflow. To do this, follow [the guide](https://docs.pypi.org/trusted-publishers/adding-a-publisher/) to add a publisher. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-15 21:15:39 -05:00
yindo closed this issue 2026-02-15 21:15:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify-plugin-sdks#74