pdm-build-locked
pdm-build-locked is a pdm plugin to add locked packages as additional optional dependency groups to the distribution metadata
Decision gist · record as of 2026-08-14
Yes, if you use pdm as your build system and want to publish locked dependency information alongside your package. The low install friction and permissive license make adoption straightforward. However, the aging maintenance status (257 days since last release) means you should verify compatibility with your pdm version and be prepared for potential drift if pdm's plugin API evolves significantly.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires pdm as the project's build/package manager; this is a pdm plugin and will not function outside that ecosystem.
- Low friction install with a single runtime dependency (tomli).
- Maintenance status is aging—last release was 257 days ago—so expect slower response to issues or breaking changes in the pdm ecosystem.
License · maintenance · safety
permissive license (permissive) — MIT License permits unrestricted use, modification, and distribution with minimal restrictions, making it safe for both open-source and commercial projects.
last release 2025-11-30 (257 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,047,201 downloads/mo, #4,449 on PyPI
Alternatives
Verify before relying
pip install pdm-build-locked
# In pyproject.toml, pdm-build-locked hooks into pdm's build process
# to add locked dependencies as optional groups during package build- How locked dependencies are actually surfaced to end-users (as extras, environment markers, or another mechanism) is not detailed in the fact sheet.
- Whether the plugin works with all pdm versions or has specific version constraints beyond what the fact sheet indicates.
What it is and what it does
pdm-build-locked is a plugin for the pdm package manager that modifies the build process to embed locked dependency information into a package's distribution metadata. Instead of publishing only the abstract dependency specifications from pyproject.toml, it adds the exact pinned versions from pdm's lock file as optional dependency groups, allowing downstream users to opt into reproducible installations with the same versions the publisher tested.
The plugin integrates directly with pdm's build system and requires only tomli as a runtime dependency. It targets modern Python versions (3.9 through 3.13) and is distributed as a wheel. The aging maintenance status suggests the plugin is stable but may not track rapid changes in pdm's plugin API closely.
Use it for
- Publishing a library with a reproducible 'locked' extra that pins all transitive dependencies for users who want identical environments.
- Distributing an application package where end-users can install exact versions tested by the maintainer via an optional dependency group.
- Creating a pdm-managed project that needs to share its lock file's precision with downstream consumers without manual version management.
- Building packages where development and production dependency sets are both locked and published as separate optional groups.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you use pdm as your build system and want to publish locked dependency information alongside your package.
The low install friction and permissive license make adoption straightforward. However, the aging maintenance status (257 days since last release) means you should verify compatibility with your pdm version and be prepared for potential drift if pdm's plugin API evolves significantly.
Install
pdm-build-locked on PyPI
Before you install
Low friction install with a single runtime dependency (tomli). Maintenance status is aging—last release was 257 days ago—so expect slower response to issues or breaking changes in the pdm ecosystem.
Requires pdm as the project's build/package manager; this is a pdm plugin and will not function outside that ecosystem.
License in practice
MIT License permits unrestricted use, modification, and distribution with minimal restrictions, making it safe for both open-source and commercial projects.
Quickstart
pip install pdm-build-locked
# In pyproject.toml, pdm-build-locked hooks into pdm's build process
# to add locked dependencies as optional groups during package build
Verify before relying
- How locked dependencies are actually surfaced to end-users (as extras, environment markers, or another mechanism) is not detailed in the fact sheet.
- Whether the plugin works with all pdm versions or has specific version constraints beyond what the fact sheet indicates.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetomli |
| Maintenance | Aging 257 days since the last release |
| First released | |
| Downloads | 1,047,201 / month, #4,449 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules |
Evidence: pdm_build_locked-0.3.7-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pdm plugin locked dependencies”
- pdm-build-lockedA pdm plugin that includes locked dependency versions as optional…
- pdmPDM is a modern Python package and dependency manager that handles…
- poetry-plugin-exportExports Poetry's locked dependency tree to requirements.txt,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pdm · poetry-plugin-export · pdm-backend · apm-cli · shadowcopy · nox-poetry · redlock-py · uv-build · locket · pip-compile-multi