Skip to main content

Adds the ability to build the project using locked dependencies.

Project description

pdm-buildlocked

Adds the ability to build the project using locked dependencies.

This is useful when distributing an application via PyPi. It should probably not be used if you are developing a library. Packages built this way can cause version conflicts when installed alongside other packages. It should be clearly documented that projects built in this way should be installed with pipx, or in their own isolated virtual environment.

Installation

This pdm plugin can be installed with the command:

pdm plugin add pdm-buildlocked

Usage

Locked build mode can be enabled by including the following in your pyproject.toml file. When enabled, running pdm build or pdm publish will cause the resulting distribution will have all dependencies (including transitive ones) pinned to the versions specified in the lock file.

[tool.pdm.build]
buildlocked = true

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pdm-buildlocked-0.2.0a1.tar.gz (2.0 kB view details)

Uploaded Source

Built Distribution

pdm_buildlocked-0.2.0a1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file pdm-buildlocked-0.2.0a1.tar.gz.

File metadata

  • Download URL: pdm-buildlocked-0.2.0a1.tar.gz
  • Upload date:
  • Size: 2.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.1.5 CPython/3.10.4

File hashes

Hashes for pdm-buildlocked-0.2.0a1.tar.gz
Algorithm Hash digest
SHA256 6260ca37d8caacc5a99bd5132308f669c33de6d71f35eab95723f87f0435e411
MD5 f0cccad3d8cea34ed9000fd7f7973b1a
BLAKE2b-256 1420475253326e748e540b33b16e992230a4737a51a1ddd88784fa0f27a3acee

See more details on using hashes here.

File details

Details for the file pdm_buildlocked-0.2.0a1-py3-none-any.whl.

File metadata

File hashes

Hashes for pdm_buildlocked-0.2.0a1-py3-none-any.whl
Algorithm Hash digest
SHA256 d5a389f4f5f7add1b704043f9dc73fdbdac071642ef73d8cd1e1b5ea4bc74a91
MD5 05a6edc22ed819891769858c00394978
BLAKE2b-256 b64967c444e8dd742cb8dc19c83a329eef6598a76a2897e3dcb7b88663db5934

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page