Python: the standards, and what pydd does with each¶
This page lists every PyPA specification that changes what pydd installs or
builds, and gives each one a status. It is the record for nixidae/nixidae#486
(uv) and nixidae/nixidae#488 (Poetry). PACKAGING-FACTS.md holds the
measurements; this page holds the inventory.
The source of each row is https://packaging.python.org/en/latest/specifications/, read on 2026-10-19, and the code that the row names.
status |
meaning |
|---|---|
covered |
pydd implements it, and a test or fixture shows it |
delegated |
|
refused |
pydd stops with a message that names the gap |
wrong |
pydd builds something, and the result is not what the standard says |
missing |
pydd does not read it, and says nothing |
A wrong row is the worst kind. It builds, and the fault shows at run
time on another machine. Each one has an issue.
Selection: which artefact a target takes¶
specification |
status |
where |
|---|---|---|
PEP 503 name normalisation |
delegated |
|
PEP 440 versions and specifiers |
delegated |
|
PEP 508 markers, all eleven keys |
covered |
|
PEP 425 tags, CPython |
delegated |
|
PEP 427 build tag breaks a tie |
covered |
|
PEP 384 stable ABI ( |
delegated |
|
ABI flags |
covered, nixidae/nixidae#842 |
|
PEP 600 |
covered, nixidae/nixidae#843 |
|
PEP 656 |
covered, nixidae/nixidae#846 |
the same, for musl: |
macOS platform tags |
covered, nixidae/nixidae#844 |
|
PyPy tags and versions |
covered, nixidae/nixidae#845 |
|
A PyPy environment |
covered, nixidae/nixidae#855 |
every node runs |
Building: PEP 517, 518 and 660¶
specification |
status |
where |
|---|---|---|
PEP 518 |
covered |
|
PEP 517 default backend |
covered |
|
|
covered |
|
PEP 660 |
covered |
|
|
covered |
|
|
covered |
override key |
|
covered, nixidae/nixidae#847 |
each sdist and each local project takes two planners: one submits the backend's environment, and the other takes it built, calls the hook of its form and adds the answer to the path. The answer must be in the lock or in pydd's build systems. A wheel out of a local project's own archive asks |
|
not needed |
the lock file holds the metadata |
Installing: the wheel format, and the environment¶
specification |
status |
where |
|---|---|---|
Binary distribution format, |
delegated |
|
Entry points: |
delegated |
|
|
delegated |
|
|
delegated |
|
|
covered, nixidae/nixidae#841 |
|
+x on a script that a Windows build wrote |
covered |
the spec has a Unix installer add it, and |
Shebang rewrite into the environment |
covered |
|
The |
missing |
|
PEP 420 namespace packages across distributions |
covered |
|
|
covered |
linked into |
Two distributions that ship one file |
covered |
|
PEP 610 |
delegated |
what |
Lock files and other inputs¶
specification |
status |
where |
|---|---|---|
|
covered |
|
|
covered |
|
|
covered |
|
PEP 751 |
covered, nixidae/nixidae#848 |
|
PEP 723 inline script metadata |
covered, nixidae/nixidae#849 |
|
PEP 625 source distribution names |
delegated |
|
Overrides: a package that is broken upstream¶
[tool.pydd.overrides.<package>], read by lib/python/overrides.nix, gives a
node env, config-settings, patches, pre-build, post-install,
fixup and build-tools. [tool.pydd.from-nixpkgs] replaces a node with a
package of nixpkgs. Two more keys change the resolution, nixidae/nixidae#850:
dependencies = { add, drop }adds and drops edges of the package in the walk of auv.lockor a script lock. An added name must be in the lock, and the lock pins its version.poetry.lockandpylock.tomlare read flat: an add pins the name when the package is selected, and a drop fails by name.artifactreplaces every artefact of the package with one file:{ url, hash }, a path or a derivation. The file keeps the version of the lock, and.whlin its name makes it a wheel.
projects/script-edges uses both.
What comes next¶
Each wrong and missing row has an issue under source: pydd. The order of
work is the cost of the fault to a real project: .data first, then the ABI
flags, then glibc.